‎2008 Apr 08 7:12 AM
Hi,
I am using the function module JIT06_REVERSE_GOODS_ISSUE to cancel the PGI.
but i am getting dump.how to use this FM?
‎2008 Apr 08 6:57 PM
Hi,
Try using Function WS_REVERSE_GOODS_ISSUE
Shd work.
Regards
Ajith
‎2008 Apr 10 11:02 AM
Hi,
I have used the above mentioned 2 FMs to cancel the post goods issue PGI.
but i am not getting the correct result.I got the result table t_mesg with no entries. or with no messages.
what to do? please give me an idea.What is the transaction code to cancel the PGI.reply soon..
Edited by: Lakshmi Atukury on Apr 11, 2008 5:56 AM
‎2008 Apr 11 5:01 AM
Hi,
Check the program RVV50L09 there this FM has been used...
Check the Include LMPKBF43
CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
EXPORTING
I_VBELN = XLIKPUKWA-VBELN
I_BUDAT = XLIKPUKWA-STDAT
I_COUNT = COUNT
I_MBLNR = XLIKPUKWA-MBLNR
I_TCODE = 'VL09'
I_VBTYP = XLIKPUKWA-VBTYP
TABLES
T_MESG = XMESG
EXCEPTIONS
ERROR_REVERSE_GOODS_ISSUE = 1
OTHERS = 2.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 11, 2008 4:30 PM
‎2008 Apr 11 5:45 AM
WS_REVERSE_GOODS_ISSUE fm is not working with mvmt type 602,621..etc..and for some delivery docs its giving like no active fieldcatalogs. is there any other way?
‎2008 Apr 11 5:55 AM
Hi Lakshmi,
I also had some problems with FMs to revrese the GI. Then i tried with BDC for VL09 transaction. It is working fine.Even BDC is also very simple. We have to give only the
delivery number.
Check below code.
REFRESH: i_bdcdata[], i_bdcmsgcoll[].
PERFORM: bdc_screen USING 'RVV50L09' '1000',
bdc_data USING 'BDC_OKCODE' '=ONLI',
bdc_data USING 'I_VBELN-LOW' po_vbeln.
CALL TRANSACTION c_vl09
USING i_bdcdata
MODE w_mode
UPDATE c_s
MESSAGES INTO i_bdcmsgcoll.
After this process the messages as per ur requirement.
FORM bdc_screen USING p_program
p_dynpro.
CLEAR wa_bdcdata.
MOVE: p_program TO wa_bdcdata-program,
p_dynpro TO wa_bdcdata-dynpro,
c_x TO wa_bdcdata-dynbegin.
APPEND wa_bdcdata TO i_bdcdata.
ENDFORM. " bdc_screen
FORM bdc_data USING p_fnam
p_fval.
CLEAR wa_bdcdata.
MOVE: p_fnam TO wa_bdcdata-fnam,
p_fval TO wa_bdcdata-fval.
APPEND wa_bdcdata TO i_bdcdata.
ENDFORM. " bdc_data
Thanks,
Vinod.
Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:26 AM
‎2008 Apr 11 6:13 AM
how to catch the error records after performing call transaction,
using format message and bdcmsgcoll.
Edited by: Lakshmi Atukury on Apr 11, 2008 1:24 PM