What is d BAPI for reversal of Good Receipt Note(GRN) for movement type 102

Hi ABAPers,
   I have got requirement like this , I have done Goods Receipt Note (GRN) based on Purchse order Number using '.BAPI_GOODSMVT_CREATE' with 101 movement type.
   But now my requirement is reversal of good receipt note(GRN) based on Material Document Number (or) Purchase Order Number with 102 movement type. what is the bapi name i need to use. and i need to give reason for the reversal of GRN.
please tell me the field name for reason  in bapi.
i have searched in the net, but i could not get proper answer to this isse.
Highly appriciate who gives answer as early as possible. I need to complete this task EOD. please give replies.
Thanks & Regards,
Vinay Kumar.

Hi,
If your material document has specific movement type i.e. 101, if you cancel document using BAPI_GOODSMVT_CANCEL, it automatically picks associated movement type 102 defined in customizing setting, you don't need to pass 102 explicitly while cancelling.
I have not seen reason code in this bapi, but it is required to pass reason code then you may try transaction code MBST using BDC.
Thanks,
Ashok Veer

Similar Messages

  • Goods Receipt Report With 101 movement type using bapi_goodsmvt_create

    Dear Abapers,
            i am getting some problem, i got requirement like Goods Receipt Report with 101 movement type using
    bapi_goodsmvt_create and data should upload through excel sheet.
    still facing problems, i have searched sdn forum n sdn code also, but relevant answer i could not find.
    What are all the inputs i need to take and please give some valuable inputs to me.
    please do help ..... thanks for advance..
    Thanks & regards,
    Vinay.
    Moderator message : Spec dumping is not allowed, show the work you have already done. Thead locked.
    Edited by: Vinod Kumar on Sep 27, 2011 10:58 AM

    Dear Abapers,
            i am getting some problem, i got requirement like Goods Receipt Report with 101 movement type using
    bapi_goodsmvt_create and data should upload through excel sheet.
    still facing problems, i have searched sdn forum n sdn code also, but relevant answer i could not find.
    What are all the inputs i need to take and please give some valuable inputs to me.
    please do help ..... thanks for advance..
    Thanks & regards,
    Vinay.
    Moderator message : Spec dumping is not allowed, show the work you have already done. Thead locked.
    Edited by: Vinod Kumar on Sep 27, 2011 10:58 AM

  • Reg: i want to get nagative values for movement type 102

    Hi All
    I have developed  a report
    in that report
    output fields are
    po no     mater docment no  movement type   qty     netprice
    500023     4990                         101              10       100
    500024     4556                         102               12       200
    this is the output i am getting.
    for movement type 102 i want to get the nagtive  values .
    example
    po no     mater docment no  movement type   qty     netprice
    500023     4990                         101              10       100
    500024     4556                         102              -12     - 200
    pls can u help
    who to write logic
    thanks
    mars

    hi,
    use this.
    loop at itab.
    if itab-bwart = '102'.
    itab-menge = - ( itab-menge ).
    itab-netpr = - ( itab-netpr )
    endif.
    endloop.

  • What is the need for movement type 107

    Hi Gurus,
    In ECC 6.0 i have seen that SAP has introduced 107 for GR Block stock (valuated). Can anyone tell me the business sense for doing so.
    What was the exact need for introducing 107
    Rgds
    Venkat

    Hi,
    GR Blocked valuatedstock menas , when you do the GR with movement type 107 it  will posted under Plant and the value of the goods will be considerd/increased for that Plant. But the stock will be under Blocked Stock..It will not be used all other purpose till you do the transfer psting from Blocked to unresticted.
    Thanks,
    Kumar Arcot

  • Good receipt Note GRN -- Report

    hi,
    After receiving the item in oracle inventory do we have any report which says
    How much item is received in that subinvetory.
    Regards
    sudharshan

    Hi sudharshan;
    Plz see Inventory Report Query
    I hope its helpful for you
    Regards
    Helios

  • What is grn (goods receipt note report )

    ho to all abap gurus
    what is goods receipt  note. can u give some theoritical description on this . and pls give coding for grn report pls its urgent points will be rewarded definitely
      plsssssssssss and tell the tables reqd and explain th  functionality of this report

    Hi
    When you Place a Pur order to a vendor to supply the materials/goods
    he will supply them with a document which is called Goods receipt Note (GRN).
    then the stock is updated with this new qty of materials recevied in the godown/st location.
    MB01 is the tcode to create it.
    MKPF and MSEG are related tables for this.
    Reward points if useful
    Regards
    Anji

  • Goods Receipt Rate (GRN) Rate in case of Import

    Hi,
    I would like to know which rate should system pick at the time of making goods receipt note (GRN) in case of import material.
    E.g. If an Indian Company is importing material from USA in august when $ rate to INR is 50, and
    if material received in septmber when $ rate is 45. then
    at the time of GRN what exchange rate should system pick.
    thanks in anticipation

    HI
    Its depends on the Purchase order , in delivery/Invoice tab you can find the check box with Exchange rate Fixed , if it is selected then during GRN it will pick what ever you maintained in the PO, and if it is not selected then it will pick from the customization tables which will be maintained by Finance department.

  • BAPI to reverse Goods Issue for movement type 601

    Hi Everyone,
    Does anyone know of any BAPI that could be use to reverse Goods Issue for Movement type 601?
    I tried using BDC of transaction VL09 and was able to reverse the GI document successfully but the return message type was 'E' with unreadable message -
    Tabelle 'E' enth#t keinen Eintrag f# 'Ch 004 &'
    When I tried using BAPI_GOODSMVT_CANCEL, I get the error message 'E M7 130 Material document cannot be processed'.
    Best Regards,
    Junwen

    hi, Junwen!
    the following code works pretty well:
          fp_vbeln = vbeln_val.
          fp_budat = budat_val.
          fp_tcode = 'VL09'.
          fp_vbtyp = 'J'.
          CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
            EXPORTING
              i_vbeln                         = fp_vbeln
              i_budat                         = fp_budat
            I_COUNT                         =
            I_MBLNR                         =
              i_tcode                         = fp_tcode
              i_vbtyp                         = fp_vbtyp
            TABLES
              t_mesg                          = it_mesg
           EXCEPTIONS
             error_reverse_goods_issue       = 1
             OTHERS                          = 2.
    luck.

  • What is the BAPI for setting "deletion flag" in IW32?

    What is the BAPI for setting "deletion flag" in IW32? Thanks!

    Hello
    There seems to be no BAPI to set deletion flag for MO.
    Quick Approach:
    You can copy an existing BAPI module BAPI_ISUSMORDER_SETSTATUSTECHN, for example, to Y_BAPI_MORDER_SETSTATUSDEL, and then edit this copy
    change the code in the existing lines for screen 3000
    PERFORM BDC_DYNPRO USING 'SAPLCOIH'      '3000'.
    PERFORM BDC_FIELD  USING 'BDC_OKCODE'    'LVMS'. (Instead of current 'ARCH')
    It should hopefully work.
    fyi: The orders can be set with Del flag only when they are in CLSD status
    Rgds
    Kartik

  • What is the BAPI for Inspection lot change - QA02??

    Hi Guys,
    Can anyone tell me plese, What is the BAPI for Inspection lot change - QA02?
    Thanks

    Hello,
    This BAPI suppose to be able to do that for you:
    BAPI_INSPLOT_SETUSAGEDECISION
    Best regards,
    Marcin

  • What is the BAPI for creating BP account / contact ?

    Hello experts,
    what is the BAPI for creating BP account / contact ?
    Please replay me as erarly as possible. Urgent requirment.
    Thanks,
    HP

    Hi,
    I think it is for bua1.
    Below are other bapi's which migt be useful:-
    BAPI_BPCONTACT_ADD_TO_ASGN BAPI Partner Sales Activity AddToAssigned
    BAPI_BPCONTACT_CHANGE BAPI Change Partner Sales Activity
    BAPI_BPCONTACT_CREATEFROMDATA BAPI Partner Sales Activity Create from Data
    BAPI_BPCONTACT_CREATEWITHDIA BAPI Partner Sales Activity - Create from Data Dialog
    regards
    Sandipan

  • What is the BAPI for creating an inbound delivery without reference.

    Hi Experts,
    What is the BAPI for creating an inbound delivery without reference.
    Points will be rewarded

    BAPI_DELIVERYPROCESSING_EXEC
    cheers
    Aveek

  • Goods receipt not possible for outbound delivery...error code 4

    hi ,
    i created a stock transfer order.
    an outbound delivery was created.
    pgi was done..
    gr was done against this delivery.
    but this gr was then cancelled.
    now when i am doing gr against this outbound delivery.
    i get this eror message.
    Goods receipt not possible for delivery 1134930096: error code 4
    i have then reversed PGI of this delivery in vl09.
    then did PGI again.
    but still same error message.
    please help.
    regards
    shashank

    Hi,
    When system gave you the message with the error code 4, you can click on the message.
    There may be various reasons for the error of GRn agaist delivery -
    1) GRN already posted against the Delivery
    2) Delivery is deleted
    3) Delivery is currently processed by another user
    System gives you the detailed analysis aling with the codes. You can check what reason is mentioned for reason code 4.
    Regards,
    Prashant

  • Reversal of Goods Receipt on PO

    Dear SAP experts, I am trying to reverse a goods receipt on a PO.  For example, I have a G/R with a movement type of '101' for $100.    I would like to add a G/R with movement type of '102' for $100-.    I have tried transactions MB01, MIGO, and ML81.
    When I use transaction MIGO, I encounter error "Transaction code MBST (=> use transaction ML81 / ML85) not defined".
    If there is another way to reverse a G/R on a PO than what I have used above, I would like to know that too.
    Thank you very much.   Sunil

    Hi Lokesh,
    I tried using MBST but I get the same error "Transaction code MBST (=> use transaction ML81 / ML85) not defined".    I am looking at configuration transaction 'OMBA' which shows the settings for transactions MIGO_GR and MBST.    It maybe an issue with this config table (T158).
    Thanks Sunil.

  • Goods receipt not possible for delivery 800001597: error code 4

    Hi,
    When doing goods recipt for outbound delivery in MIGO, I am getting the below message:
    Goods receipt not possible for delivery 800001597: error code 4
    When going in details of error messgae:
    For error 4 : Check the delivery and its document .
    Document flow is as below:
    Step 1. PO Created
            2. Delivery created with ref to PO
            3.Picking
            4. Shipment Created
            5. Goods Issue complete.
    Now what i have to check.
    Thanks in advance.
    Regards

    Check the link Re: MIGO
    Also check OSS Note 458770 - GR for outbound delivery shipping units with batch split and Note 314765 - M7865 during GR f. delivery w/ default values 102 if it applies to your SAP version.
    Regards

Maybe you are looking for

  • Creation of Sales order from Purchase Order ( reversal of SO-to-PO)

    Dera friends My client has two companies ( two company codes.EPC & EPM) EPC- Gives PO to EPM EPM will supply the goods. So EPM will accept the PO and send the SO to EPC Both the companies are in same client ( 100) My client requirement is : Once they

  • How to Update Camera Raw 5.0 to Camera Raw 5.6 for Photoshop CS4

    How to Update Camera Raw 5.o to Camera Raw 5.6 for Photoshop CS4? I can access the the download button but after I depress it I need specific step by step instructions from start to finish Morty [email protected]

  • Using Variable in place of property name in set_item_property procedure.

    Hello, I need to change the item properties dynamically by using variables for both properties names and their values.But during compilation its showing me error "Too many declrations".Kindly suggest me any best way.

  • Java.rmi.NoSuchObjectException problems

    Hello, After calling home.create() in my code, passing in primary key and additional column data, when I call home.findByPrimaryKey (primkey) followed by a call to one of the methods in the bean, I immediately get a a java.rmi.NoSuchObjectException.

  • Organizing Photo Library Page Hints

    I do not run a business, but rather enjoy my computer for home use... so my hints for organizing an iPhoto Library Page relate to personal/home use. I have iPhoto 6.0.5 (316) on my computer. Regarding the "View" of the Library Page, I do keep my "Fil