Purpose:
In this blog, the user will learn how to use Execute BAPI to create goods issue against a reservation.
Contents:
- Overview about "Create and Execute Goods Issue against Reservation using BAPI"
- Prerequisite
- BAPI
- Steps to execute
- Conclusion
Overview:
The majority of the professional time is spent by functional and technical consultants, who are responsible for enhancement and interface (i.e., SAP to non-SAP and vice versa). So this blog is useful for testing and executing BAPI, and the purpose of this blog post is to create awareness among functional and technical consultants who are new and want to explore it.
Prerequisite :
- Reservation Number or
- Reservation number created through workorder
BAPI :
- BAPI_GOODSMVT_CREATE
- BAPI_TRANSACTION_COMMIT
Steps : Goto T-Code - SE37
- Click on “Function Module”
- Click on “Execute”
- Click on “Test Sequences”
Enter BAPI in below test sequences:
Then click on Execute.
Now, Below screen appears:
passed all the required parameters as per the below Documentation into the BAPI:
<Import Parameters>
GOODSMVT_HEADER
Parameters |
Value |
PSTNG_DATE |
09.01.2023 |
DOC_DATE |
09.01.2023 |
REF_DOC_NO |
789 |
GOODSMVT_CODE
Parameters |
Value |
GM_CODE |
03 |
<Tables>
GOODSMVT_ITEM
Parameters |
Value |
MATERIAL |
15 |
PLANT |
1710 |
STGE_LOC |
171A |
MOVE_TYPE |
261 |
ENTRY_QNT |
1 |
ENTRY_UOM |
PC |
ENTRY_UOM_ISO |
PC |
RESERV_NO |
789 |
RES_ITEM |
0003 |
Under Export Parameter you can check “Material Document Number” created.
Then click on “Back”
Now, Below Screen Appear:
Pass “X” value under parameter WAIT.
Then click on Execute.
Again, click on Back.
Now, Below screen appears:
Then Click on “Copy”
Back & Exit.
Conclusion
Now we have successfully executed the BAPI and created goods issue against Reservation Number.
- Use Movement type 201 for Reservation Number which are created against cost center or
- Use Movement type 261 for Reservation number created through workorder
Thanks for reading this blog…
Hope this blog will be useful. If you enjoyed this blog post please give it a like! If you have questions,
feel free to comment.
If you would like to keep up on the latest updates regarding SAP S4/HANA cloud, Kindly follow me…
Thanks & Regards,
Sumant Kumar Modi
Kindly provide the feedback