3

Execute BAPI to Create Goods Issue against Reservation

 1 year ago
source link: https://blogs.sap.com/2023/01/10/execute-bapi-to-create-goods-issue-against-reservation/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Execute BAPI to Create Goods Issue against Reservation

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
  • 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

  1. Click on “Function Module”
  2. Click on “Execute”
  3. Click on “Test Sequences”
1-6.png

Enter BAPI in below test sequences:

2-6.png

Then click on Execute.

Now, Below screen appears:

3-3.png

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.

4-2.png

Then click on “Back”

Now, Below Screen Appear:

5-2.png

Pass “X” value under parameter WAIT.

Then click on Execute.

Again, click on Back.

Now, Below screen appears:

6-2.png

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK