Skip to Content

BAPI for GI and GR reversel

Hi Guys,

Is there any BAPIs available for Reversing the GR and for reversing GI in 4.6C version of SAP.

I have to use transaction MBST for GR reversal and VL09 for GI reversal. After reversing i have to use VL02N for GI posting and custom transaction for GR posting. Instead of going for BDC let me know if there are any BAPIs or FMs available for the above scenarios.

<REMOVED BY MODERATOR>

Thanks in advance,

Vinod.

Edited by: Alvaro Tejada Galindo on Feb 22, 2008 6:02 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 08:04 AM

    Please try with BAPI: BAPI_GOODSMVT_CREATE

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 08:05 AM

    Hi,

    Try BAPI_GOODSMVT_CANCEL.

    Cheers,

    Aditya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 22, 2008 at 06:36 AM

    Hi Guys,

    Thanks for ur replies. But i need BAPI/FM for GI reversal and Repost also. Please let me know if we have any BAPI/FM.

    Thanks,

    Vinod.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 10, 2008 at 02:39 PM

    Thank u guys

    Add a comment
    10|10000 characters needed characters exceeded

    • Vinod Vemuru Juan Esteban Marriaga

      Hi Jaun,

      I did not find any BAPI/FM for this. I proceeded with BDC.

      Check below code.

      Reverse GI (VL09)

      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. "Delivery number

      CALL TRANSACTION c_vl09

      USING i_bdcdata

      MODE w_mode

      UPDATE c_s

      MESSAGES INTO i_bdcmsgcoll.

      "Repost GI(VL02N)

      REFRESH: i_bdcdata[], i_bdcmsgcoll[].

      PERFORM: bdc_screen USING 'SAPMV50A' '4004',

      bdc_data USING 'BDC_OKCODE' '/00',

      bdc_data USING 'LIKP-VBELN' po_vbeln,"Delivery number

      bdc_screen USING 'SAPMV50A' '1000',

      bdc_data USING 'BDC_OKCODE' '=T\02',

      bdc_screen USING 'SAPMV50A' '1000',

      bdc_data USING 'BDC_OKCODE' '=WABU_T',

      bdc_data USING 'BDC_SUBSCR'

      'SAPMV50A 1104SUBSCREEN_BODY',

      bdc_data USING 'LIPSD-G_LFIMG(01)' w_lfimg, "Quantity

      bdc_data USING 'LIPSD-PIKMG(01)' w_lfimg."Quantity

      CALL TRANSACTION c_vl02n

      USING i_bdcdata

      MODE w_mode

      UPDATE c_s

      MESSAGES INTO i_bdcmsgcoll.

      Thanks,

      Vinod.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.