2007 Mar 16 6:17 AM
hi guys,
any BAPI/FM that can be used to upload PGI, i need to put in the storage location for every DO
hi guys,
any BAPI/FM that can be used to upload PGI, i need to put in the storage location for every DO
2007 Mar 16 11:53 AM
Hi,
try using the following:
BAPI_GOODSMVT_CANCEL
BAPI_GOODSMVT_CREATE
BAPI_GOODSMVT_GETDETAIL
BAPI_GOODSMVT_GETITEMS
reward if useful
regards,
Anji
2007 Mar 16 11:59 AM
Hi,
Please try to use FM WS_DELIVERY_UPDATE.
DATA:
L_VBELN LIKE LIKP-VBELN,
L_VBKOK LIKE VBKOK,
L_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.
* carry out goods issue
L_VBKOK-VBELN_VL = L_VBELN. <-- fill this field with your delivery number
L_VBKOK-WABUC = 'X'.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = L_VBKOK
SYNCHRON = 'X'
NO_MESSAGES_UPDATE = ' '
UPDATE_PICKING = 'X'
COMMIT = ' '
DELIVERY = L_VBELN
NICHT_SPERREN = 'X'
TABLES
PROT = L_PROTT
EXCEPTIONS
OTHERS = 0.
COMMIT WORK AND WAIT.
Regards,
Ferry Lianto
2007 Mar 19 1:52 AM
Hi Ferry,
for function 'WS_DELIVERY_UPDATE', where can i put the storage location
2007 Mar 16 12:12 PM
Hi
By using BAPI_GOODSMVT_CREATE you can create the PGI.
In this you can pass storage location in the table GOODSMVT_ITEM in the field
STGE_LOC.Header data you can pass the structure GOODSMVT_HEADER.
Then it will work.
Thanks,
shyla
2007 Mar 19 1:53 AM
hi Shyla,
BAPI_GOODSMVT_CREATE is not meant for PGI (post good issue from SD side) , it is meant for GI on MM side.
What i needed is PGI , not GI function
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |