Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reverse PGI For delivery

Former Member
0 Likes
2,182

Hi ,

Could any one please help me to find any function module or Bapi which can reverse PGI.

Could i use function module 'WS_DELIVERY_UPDATE' , If yes could you please

let me know what all i need to pass to do reversal of PGI.

Thanks in advance !

Points would be provided for useful answers .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,335

Hi,

Welcome to SDN

YOU CAN USE <b>BAPI_GOODSMVT_CANCEL</b>

parameters: p_mdoc type bapi2017_gm_head_02-mat_doc,

p_year type bapi2017_gm_head_02-doc_year.

data: return type table of bapiret2 with header line.

call function 'BAPI_GOODSMVT_CANCEL'

exporting

materialdocument = p_mdoc

matdocumentyear = p_year

  • GOODSMVT_PSTNG_DATE =

  • GOODSMVT_PR_UNAME =

  • IMPORTING

  • GOODSMVT_HEADRET =

tables

return = return

  • GOODSMVT_MATDOCITEM =

.

READ DOCUMENTATION FOR BAPI IN SE37

<b>Reward points</b>

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
1,336

Hi,

Welcome to SDN

YOU CAN USE <b>BAPI_GOODSMVT_CANCEL</b>

parameters: p_mdoc type bapi2017_gm_head_02-mat_doc,

p_year type bapi2017_gm_head_02-doc_year.

data: return type table of bapiret2 with header line.

call function 'BAPI_GOODSMVT_CANCEL'

exporting

materialdocument = p_mdoc

matdocumentyear = p_year

  • GOODSMVT_PSTNG_DATE =

  • GOODSMVT_PR_UNAME =

  • IMPORTING

  • GOODSMVT_HEADRET =

tables

return = return

  • GOODSMVT_MATDOCITEM =

.

READ DOCUMENTATION FOR BAPI IN SE37

<b>Reward points</b>

Regards

Read only

0 Likes
1,335

hi Kiran , I have the same , after post goods issue the delivery note , I know it can use tcode vl09 to cancel/reversal , my problem : is there bapi or RFC to do this function ? I have tested the BAPI_GOODSMVT_CANCEL, but it only can use for MIGO , Do you have any idear ?

please help me

thanks

godspeed