‎2007 Jul 26 11:24 AM
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 .
‎2007 Jul 26 11:31 AM
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
‎2007 Jul 26 11:31 AM
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
‎2007 Sep 19 11:06 AM
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