General SAP Process Definitions (Batch Input)
The functional processes below are implemented using several execution technologies. Each has advantages and disadvantages. Not all process definitions allow all execution technologies.
The following execution technologies are implemented:
- Batch Input creation
- Allows User switching
- Call process
- For processes that reach status Error a Batch input is created
- Bapi Call
- For processes that reach status Error a Batch input is created
Which technology is used, depends on the batch input name specified.
FCA_BDC_Execute
This process definition consists of eight steps. It can be called as child process by FCA_BDC_QIDs_Execute
.
Based on given QIDs (Session identifiers of batch input sessions) the batch input sessions are executed
In the subsequent steps This process definition works without a workflow component.
FCA_BDC_QIDs_Execute
This process executes a list of QIDs to process and returns the Batch Input session specific documents and status.
note
This process is based on the standard loop. For more details on some of the parameters see Loop documentation.
In Parameters
SOURCE_LIST
- Source List with QIDs.TYPE
- Source List type.CHILD_JD
- Sub process to be called as a child. The default expression refers to the Application customizing entry${A:BDC_Execution}
. Usually the entry is set toFCA_BDC_WF_Execute
.TARGET_PARAMETER
- Target parameter name(s) for the child execution of workflow processing, defined in CHILD_JD.MAPPING_VALUES
- Target mapping values to parameters in Child sub process.MAPPING_FIELDS
- Target mapping fields existing in Child sub process.MAPPING_OUT** - Out parameter in Child sub process to retrieve values from. Default expression is **BDC_DOCUMENTS
.PARALLEL
- Execute in parallel if set.PARALLEL_ORDER
- Order of processing.CHILD_JD_MAP
- Child sub process reference map.QUEUE
- Queue overwrite.RESTART
- Restart at order.ERROR_ACTION
- Error action. Default isE
(Exit with error).MAX_RESTART
- Maximum number of restarts for error action.
Out Parameters
BDC_DOCUMENTS
- List with created DocumentsBDC_NAME
- List with Batch Input name processedBDC_CREATOR
- List with Users who creates Batch InputBDC_DATE
- List with Date of creationBDC_TIME
- List with Time of creationBDC_TRANS
- Transaction Total (sum)BDC_TRANSE
- Transactions in Error (sum)BDC_TRANSF
- Transactions finished completely (sum)BDC_TRANSD
- Transactions deleted (sum)BDC_OUTPUT
- Batch input output referencesO_RESULT
- Output results from requested output parametersRULE_RESULT
- Merged results from result lists
FCA_SAP_BDC_WF_Execute
This process definition consists of several steps. It can be called as child process by FCA_BDC_QIDs_Execute
.
Based on given QIDs (Session identifiers of batch input sessions) the batch input sessions are executed In the subsequent steps the BDC status is retrieved. Based on the status a workflow is started which triggers user messages. In the user message the user can decide the further processing options.
This process definition works with the workflow component FCA_BDC_Workflow
.
In Parameters
BDC_QID
- Unique BDC session IDZ_VERARB
- Batch in put sessions in status new (Flag)Fehler
- Batch in put sessions in status error (Flag)IN_WF_TEXT
- Overwrite parameter for workflow textIN_WF_TO
- Workflow recipients. Default is SAP_USER_NAMEIN_FINAL
- Flag to indicate if a final notification should be sentIN_SUBJECT
- Prefix for subject in workflow and notification. The parameter is mapped in the Workflow step. The default mapping is${C:IN_SUBJECT}
BatchInput${J:Message1}
executed with${J:Message2}
errors (${P:SAP_SYSTEMS}
/${P:CLIENT}
)RULE
- Action rules to process
Out Parameters
BDC_DOCUMENTS
- Created DocumentsBDC_NAME
- Batch Input nameBDC_CREATOR
- User who creates Batch InputBDC_DATE
- Date of creationBDC_TIME
- Time of creationBDC_TRANS
- Transaction TotalBDC_TRANSE
- Transactions in ErrorBDC_TRANSF
- Transactions finished completelyBDC_TRANSD
- Transactions deletedBDC_OUTPUT
- Batch input output referenceRULE_RESULT
- Rule result
FCA_FI_Document_Details
Provides a listing of an FI Posting document (similar to transaction FB03 ).
Parameters
PAR_BUKRS
- Company CodePAR_GJAHR
- Fiscal YearSEL_BELNR
- Document number(s)
financeTopic