Inbound idoc for posting Goods movements

hi,
  iam using Transaction WE19 and posting some test data to post goods movement into same system for testing . i have used the message type MBGMCR and process code BAPI for the inbound processing.
Iam posting test data for movement types 101,102,641 and 642 .and iam processing with the unbound FM BAPI_IDOC_INPUT1,  but iam getting a status 51 (application dod not posted ) with error as ' Update control of movement type is incorrect (entry 101 X X )'.
what does this mean? please suggest why this error could come?
if i get a status of 54 - EDI: Partner profile inbound not available .what may be the error? my partner profile setting were correct.
thanks,
soha

Hi !
The error means that there is an inconsistency between the "given" data and the date that BWA 101 is needing.
The Table that is beeing checked is the T156.
Check the data you are giving to the idoc. You may check it with the IDOC-docu or with the Docu of the FM BAPI_GOODSMVT_CREATE to see what fields
have to be filled in what way to create an 101 .
Regards
Rainer
Some points would be nice if that helped...

Similar Messages

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • CORUAWFP "An application for posting goods movements is already active"

    Hi Experts,
    We have a strange message- we don't get it why this happnes so often.
    In our system, production order confirmatins are done vai BAPI (BAPI_PRODORDCONF_CREATE_TT) and we are executing CO1P (CORUAWFP) every 10 minutes in order to avoid "Intended Goods Movements (GRs are suspendded, because of Lock sutuation)" .
    The problem is when CO1P(CORUAWFP)) is kicked, sometimes a strange message is displayed  ,"An application for posting goods movements is already active" , and the job ends abnormaly. We are sure we don't run CO1P  (CORUAWFP) in parallel.
    Why this situation happnens?
    Thanks in advance.
    Best Refards,
    /Hiro Okamoto
    Edited by: Hiro Okamoto on Aug 27, 2011 5:36 PM
    Edited by: Hiro Okamoto on Aug 27, 2011 5:37 PM
    Edited by: Hiro Okamoto on Aug 27, 2011 5:37 PM

    The message simply means there are 2 or more programs being executed simultaneously accessing the same set of data & hence a locking occurs or the table lock is not getting released within time so that the next program can get a lock.
    Get in touch with your system admin & ask them to monitor & let you know which programs are locking. Once you have that info, you can then change the schedule of the programs to prevent locking.

  • Ergent help about inbound IDoc for Goods Receipts

    Dear friends
    We have an ergent issue needing your help.
    It is about DEVRY03.
    Senarios is as following:
    When we create a delivery by using VL31n, system try the IDoc and transfer to XI.
    This is ok.After external warehouse system processes the IDoc,a message is sent back to SAP to post the goods receipts for the delivery.
    Inbound IDoc type is DEVRY03. Is it right?
    Which function module or which process ok is used for this senario?
    Can anyone suggest how to do it?
    Minghan

    Hi !
    Here comes some information for the INBOUND idocs....
    There is a IDOC for transmitting goods movements from a legacy system.
    It's message-type is: WMMBXY
    IDOC-Type is: WMMBID02 (See we60 for it's pretty good docu....)
    Prcoess-Code is :WMMB
    The function that processes the data is: L_IDOC_INPUT_WMMBXY
    Hope that helped a bit (for inbound)....
    Regards
    Rainer
    Some points would be nice if that helped.

  • Creation of Inbound Idoc for the Outbound Idoc in same client

    Hi,
    My requirement:
    Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
    It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
    I found there is a field for function module in WE21,can this be used to get the requirement done.
    Please suggest.
    Regards,
    Amar

    Example of a program that create and post an inbound idoc....maybe that will help you:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'A000000002'.      "tRFC Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *---E1KOMG
    clear g_edidd.
    clear g_e1bpache09.
    g_edidd-segnam               = 'E1BPACHE09'.
    g_edidd-segnum               = 1.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Well done!'.

  • Generate DELVRY  Idoc when Post goods issue is done in SAP

    I need to generate an Idoc when post goods issue is done in SAP (outbound to SAP) .I understood that I can do this using the message control .The message type DESADV with the process code DELV will support this.
    But I didn’t understand how to trigger the Idoc.In the current scenario our Company is doing the post goods issue in SAP for the in three different ways.
    1.Manually doing the post goods issue through the transaction VL02N
    2. an Inbound Interface (using Idoc)  which will do Post goods Issue in SAP
    3.Another Interface using BAPI, which will, do post goods issue in SAP
    I have to run my outbound interface when the post goods issue is done by all the above three ways.  Can any one help me out in this?

    You have to configure the output first .
    You can use output type LAVA ( avaialble in Std SAP ) .
    ( Tcode is NACE , Select Application V2 -> Outputtypes ).
    ( Create condition records suitable to generate an output)
    Next is ALE.
    Setup a distribution Model ( for DESADV ) and all other setup for ALE i.e. Distribute Dist. Model / Generate Partner Profile .
    In the Partner profile in WE20 select your partner system. Double CLick on Outbound Message DESADV ( this wd be there after you generate partner profile , if not add it here in outbound ) . On this screen goto tab MESSAGE CONTROL .
    Application - V2
    Message Type - LAVA
    Process Code - DELV.
    Now you are ready to go. The moment a PGI is done in any form an output LAVA would be proposed and processed using process code DELV.
    Cheers.

  • USER-EXIT for post goods issue

    Hi all,
      after the delivery (VL01n)is created, i have to go for post goods issue.there is a push button named 'post goods issue' in VL02n.
    when i will press this button,all my data for this delivery ,should be downloaded to a text file.
    for this thing, i want to use a USER-EXIT.can u plz advice me the correct & specific user-exit for this requirement.it is very urgent. i have to it by today.
    your help is highly appreaciated.
    Regards
    pabitra

    Check the following
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (h
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of stock for POs for shipping due date list
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Error in posting goods movement with production order

    Hi all,
        I have a custom program that post goods movement using function  'Bapi_Goodsmvt_Create'.
    The material passed into is a FERT material along with movement type 101,  goods-movement code = 02', movement indicator = 'F'.    This function gives an error :
    'E M7 022 Order quantity exceeded by 21.390 cse : item xxxxxx, plant xx prod order xxxxx'.
    The material is a take weight material.   In production order, it came up to 910lb for total weight.
    In goods receiving this material, i have changed the material from 910lb to 1016.950.
    This is where the error came in.  Note: 21.39 cases = 106.95 lb.
    We had such take weight material worked before.
    Can anyone pls suggestion what can be done about this ?
    Thanks
    Joyce

    Hi Dario,
        Because the finised material is a take weight product, it should be ok unless there is a tolerance in the takeweight.   Also the production order is generated from 2 sales orders.
       To migo a production order, would it be A01 Goods Receipt and  R08 for prod order ?
    Thank you.
    Joyce

  • FM/BAPI for Post Goods Recipt and Reservations

    Hi All,
    Is there any BAPI/FM for posting Goods receipt and Reservations . Please send some sample example to post goods receipt using Inbound Delivery & Reservations
    Thanks
    Bobby

    Bobby,
          I think you can use the FM  BAPI_ACC_GOODS_MOVEMENT_POST for this purpose. You try to write a sample program and see how it works.
    Sojan

  • Triggering inbound idoc for FI T.Code F-02

    Hi,
    Anybody has triggered idoc for posting key 40 & 50 for F-02 T.Code in ECC 6.0, plz share their experience & triggering inbound idocs.
    rgds,
    balu

    closed

  • IS Retail:Report/Document generation for inbound IDOC for Cashier Statistic

    Hi Friends,
    I have generated an inbound IDOC for Cashier Statistics with transaction WPUK in IS retail.
    The IDOC is generated successfully which I can view in POS interface monitor with transaction WPER.
    But i dont see any corresponding report or document generated for this successfully posted IDOC.
    Is there a functionality in IS retail to generate report/document for successfully posted IDOC for cashier statistics?
    Request you valuable inputs on this please.
    Regards,
    Debraj

    Hi John,
    Thanks for your inputs.
    Could you please let me know how do i activate infostructure S122 to see reports related to cashier statistics after successful posting of IDOC?
    Regards,
    Debraj

  • Fld selectn for mvmt type 601 / acct 300200 differs for Customer goods move

    Dear all,
    Can you some give me advise to clear this step..
    I am getting this error when i am pressing the PGI button, in VL01N
    Goods movement: Error log
    Item   Material           Description                                   Delivery qty UoM Batch
    000010 FINISHED GOODS     Bags Finished products                                 10  KG
           E M7 093
           Fld selectn for mvmt type 601 / acct 300200 differs for Customer goods movement (015 )
    Please give me some suggetions..
    Praveen

    The field cost center is mandatory in acct 300200 and hidden in movement type 601 or viceversa.
    Go to OMJJ, click on Movement Type and execute.  There double click on Field selection (Enjoy)   and see whether the movement is maintained as Required Entry or Optional Entry.
    Now go to FS00, input the G/L Account 300200 and execute.  There go to tab Create/bank/interest  and check whether you have maintained any value against Field status group and also you have maintained tick for Post automatically only.
    thanks
    G. Lakshmipathi

  • Fld selectn for mvmt type 633 / acct 700121 differs for Customer goods move

    Dear Experts,
    While doing PGI getting error message u2026.
    Fld selectn for mvmt type 633 / acct 700121 differs for Customer goods movement (015)
    So  wt should I do  for this error to clear.?
    Regards
    Ishikesh

    The field cost center is mandatory in G/L Acct XXXXX and hidden in movement type 633 or vice versa.
    Go to OMJJ, click on Movement Type, key in 633 and execute.  There double click on "Field selection (Enjoy)"  and see whether the movement is maintained as Required Entry or Optional Entry.
    Now go to FS00, input the G/L Account XXXXX and execute.  There go to tab "Create/bank/interest" and check whether you have maintained any value against "Field status group" and also you have checked the box for "Post automatically only".
    thanks
    G. Lakshmipathi

  • BAPI for Post Goods Receipt - VL02N(SD) - Return Delivery

    Hi All,
    Could you plz tell me the bapi or function module or bdc for post goods rceipt for return delivery. I am ucing the bapi called BAPI_GOODSMVT_CREATE but it throughing an error. u can not do the these movement types.like this. Here i am using the movement types as - 632,651 and 653. could any one hlp me regarding this issue. its urgnt and i am not able to get the reason.it is working for normal delivery when i use the same for return delivey with the above movement types its not working.
    VL02N - return delivery number -
    > Post goods receipt.
    thnks
    yerukala setty

    Hi,
    Use BAPI 'BAPI_OUTB_DELIVERY_CHANGE'
    Check out this thread, this question is being solved before.
    bapi for vl02n about post goods issue
    Thanks,
    Krishna

Maybe you are looking for

  • Google Maps and Skyhook - doesn't work as expected; it works better!

    Hello all and thanks for taking the time to read this.  I was under the impression that when you pressed the Locate button in the Google Maps application that the iPod took the MAC address of the WiFi Router it was connected to and then polled Skyhoo

  • ITunes 11.1.1 won't open on Windows XP

    this morning I tried to sync new music into my iPhone 5, but I guess since I just updated to iOS7 I had to update to the new itunes, so I did but now the latest version of iTunes won't open up on my Windows XP. Uninstalled and reinstalled and still,

  • How to use a country version?

    Hi all, We are implementing a project in Thailand, and I found some information regarding Country version Thailand. I want to know how to use a country version? Do we need to activate the country version or country version is already in standard ECC?

  • Problem with receive call

    Hello, I have an Xperia Z3, and when I receive a call the page of call doesn't display...How make for adjust this problem please?? thank you!

  • Connectivity for BPM external custom UIs

    Hi all, I'd like to use the new PO feature of BPM tasks based on custom UIs deployed on external servers as documented on the help Of course the application implementing the UI will be connecting to the BPM engine to fetch process data. My question i