BBP_PC_GOODS_MOVEMENT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BBP_PC_GOODS_MOVEMENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PC
Released Date:
Not Released
Processing type: Update is started immediately, no restart possible (Immediate start, No restart)
CALL FUNCTION 'BBP_PC_GOODS_MOVEMENT' "P-Card Posting Statements
EXPORTING
pcard_doc = " bbppcdocnr P-Card statement number
fisc_year = " gjahr P-Card statement fiscal year
pc_line = " bbppclin P-Card statement line
pc_pos = " bbp_pcpos
TABLES
pcmod = " bbp_pcmod P-card statement modified data
* pctax = " bbp_pctax Einkäuferkarte: Steuerdaten
* pclog = " bbp_pclog logistische Daten
* return = " bapiret1
EXCEPTIONS
ERROR = 1 "
. " BBP_PC_GOODS_MOVEMENT
The ABAP code below is a full code listing to execute function module BBP_PC_GOODS_MOVEMENT including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_pcmod | TYPE STANDARD TABLE OF BBP_PCMOD,"TABLES PARAM |
| wa_pcmod | LIKE LINE OF it_pcmod , |
| it_pctax | TYPE STANDARD TABLE OF BBP_PCTAX,"TABLES PARAM |
| wa_pctax | LIKE LINE OF it_pctax , |
| it_pclog | TYPE STANDARD TABLE OF BBP_PCLOG,"TABLES PARAM |
| wa_pclog | LIKE LINE OF it_pclog , |
| it_return | TYPE STANDARD TABLE OF BAPIRET1,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_pcard_doc | TYPE BBPPCDOCNR , |
| it_pcmod | TYPE STANDARD TABLE OF BBP_PCMOD , |
| wa_pcmod | LIKE LINE OF it_pcmod, |
| ld_fisc_year | TYPE GJAHR , |
| it_pctax | TYPE STANDARD TABLE OF BBP_PCTAX , |
| wa_pctax | LIKE LINE OF it_pctax, |
| ld_pc_line | TYPE BBPPCLIN , |
| it_pclog | TYPE STANDARD TABLE OF BBP_PCLOG , |
| wa_pclog | LIKE LINE OF it_pclog, |
| ld_pc_pos | TYPE BBP_PCPOS , |
| it_return | TYPE STANDARD TABLE OF BAPIRET1 , |
| wa_return | LIKE LINE OF it_return. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_PC_GOODS_MOVEMENT or its description.
BBP_PC_GOODS_MOVEMENT - P-Card Posting Statements BBP_PC_CREATE_EVENT - Create Event ApproveCharges for different WFLevel BBP_PC_CATEGORY_ENABLE - To determine if a given category exist in table or not. BBP_PC_ACPJOU - P-Card Posting Statements BBP_PC_ACLPAY - P-Card Posting Statements Invoice BBP_PCSTAT_UPDATE - P-Card Statement database update