Outbound idoc creation

An outbound idoc of type ORDERS is created and one of the segements has profitcenter in it. Can anybody help me find how the profit center is getting populated in the segment ?

Hi,
Check for the FM 'master_idoc_distribute' in the program which is being executed to create an idoc of type ORDERS. Just before this FM you can see how profit center is getting populated.
Or if message control is being used to create idoc, then check the configuration in we20(partner profile), double click the message type and go to outbound tab , there will be a FM over there which will be creating idocs, check that code or put a debug point.
Regards,
Manu

Similar Messages

  • Outbound idoc creation with MIGO

    Hello,
    I need to create outbound idoc when the GR is created (MIGO).
    I created one output type (ME) with the processing program RSNASTED and form routine ALE_PROCESSING. Unfortunately, the rsnasted does not work, as I can not create message type MBGMCR in BD64 (Model). MBGMCR belongs to BAPI.
    Do you know the way how to proceed?

    yes it is BAPI. sorry for the confusion.
    Edited by: Vijay Babu Dudla on Sep 24, 2008 6:13 AM

  • SAP IS Retail Outbound Idoc Creation for New Articles

    Hi SAP Gurus,
    Good day!
    I would like to inquire if you are familiar with the necessary set up to create OUTbound Idocs to be sent to POS whenever a new article is created. I have already activated the Change Pointers for the Message Types for IS Retail via BD50. However, this did not solve the issue. I have an existing material which ably triggers the idoc change;however, when I try accessing the materials I created recently, no idocs are created.
    Your help is most appreciated.
    Best regards,

    Hi,
    Check in WE20 partner profiles > customer type KU - Customer > choose your store number > under outbound parameters all relevant message type must defined
    Look at the following links for more details:
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    Hope you got answer
    regards
    Satish

  • Outbound IDOC creation issues.

    Hi,
         I am genarating an outbound IDOC using FM 'MASTER_IDOC_DISTRIBUTE'.
    My program works well, IDOC has been genarated with status 01, 30 & 03.
    But the IDOC has not been send to the destination system.
    But If fire it using test transaction WE19,  its been received in the destination system.
    I can't figure out this issue.. Do I have to use COMMIT statement.
    Thanx for your time..
    Cheers,
    Sam

    Hi,
         I have checked throughly, The only difference between the IDOC fired programmatically N Test txn WE19 is, when I display control of IDOC, in the Details tab Under EDI options Message type filled in test txn but not in the other one.
    But I am supplying message type while calling MASTER_IDOC_DISTRIBUTE FM.
    Thanx for your time.
    Cheers,
    Senthil

  • Problem with automatic outbound IDoc creation

    Hi all!!!
    I want to configure an IDoc to be created when an Installation (IBASE) is saved.
    To do this, I use the IDoc type CRMXIF_IBASE_SAVE01, assign a message type, link with the FM APPL_IDOC_INPUTM to create the IDoc, create a partner profile, create the process code and set on the message type.
    After this, when I create an Installation, Must not the IDoc be created?
    Is the process correct or lack some step?
    Thanks and regards,
    Manuel.

    And, on the partner profile, I can´t set the process code on the outbound parameter because the field doesn´t appear.
    I think this could be the error.

  • Sending Mail on the Failure of Outbound IDOC Creation

    Hi Experts
                   I Have a requirement to send mail on failure of Outbout creation . Any standard report exists ?
    Any sample programmes
    Thanks and regards
    RMP

    I think what you are asking for is possible, but I'm not sure how. Try posting this question on the Process Integration forum (PI uses iDocs), I'm sure someone will know the answer.

  • Outbound Idoc creation after Purchase Order Creation via Trading contract

    Hi All,
    Below is my requirement-
    Purchase Order Will be created automatically through trading contract.
    I need to pass some details about the purchase order created to the external system through IDOCS.
    ie this idoc should get triggered whenever a Purchase Order is created through Trading contract.
    Are there standard function modules which can trigger idoc whenever Purchase Order is created through Trading Contract?
    Please suggest how to go about it.
    Thanks in advance.

    Hi Tejas,
    Ask your functional consultant to create a new output type for this Purchase order. Attache RSNASTED program and EDI_PROCESSING routine to that output type.And also maintain partner profile for the partner to whom you want to send PO.There is a standard process code ME10 to send Purchase order data.Assign this process code and your new output type in the message control tab of the outbound partner profile view.Hope this helps.
    Thanks & Regards,
    Kalyan.

  • Outbound delivery creation with inbound IDOC transfer from Java system

    Dear Experts,
           The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
    The scenario is,
                   After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
                 Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
    Now Query is,
                   1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
                   2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
                   3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
    Thanks in advance for the replies I am going to get
    Regards,
    VEL

    Didn't get any feedback from experts for long time. So we are closing the question

  • Outbound 855 IDoc Creation

    Hi EDI Experts,
    I have a requirement.
    I want to send my outbound 855 IDocs out of SAP. But there is some twist here.
    I cannot send my Outbound IDocs as soon as the Sales order is created. Once the sales order is created, at a later point of time an acknowledgement code will be added to the sales order. Only then I am supposed to send the IDocs out of SAP. (Infact IDocs should be created at that point of time). either batch or not is fine.
    Any idea/suggestion how this can be achieved.
    Ur comments are most valuable and welcome.
    Thanks,
    Matt

    Thanks MxG for the Reply.
    But I am just wondering what kind of output requirement i can use in this scenario.
    2 - Order Completion.
    Steps:
    1.Inbound 850  IDoc comes into SAP and Creates an Order.
    2. Outbound IDoc will be created (If Req is set to 2). But I don't want IDoc creation @ this point.
    3. Order will be updated by an acknowledgement code by CR.
    4. I need IDoc creation @ this point of time.
    I am not seeing any Output Requirement that satisfy this condition.
    What should I do??
    Thanks Agai and waiting 4 ur reply
    Matt
    Edited by: Creasy Matthew on Jul 24, 2009 1:22 AM

  • 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!'.

  • Creation of outbound idoc using BAPI

    Hi,
    How can I create outbound IDOC using BAPI. If I go to BD64 and add the message type PREQCR,it gives the message that 'add this message type using BAPI'.I have added with the option ADD BABI.After that I dont know how to trigger?.Please give me the procedure how can i create outbound idoc using BAPI.
    Thanks,
    Ravi

    You will have to do the MESSAGE OUTPUT DETERMINATION to trigger the IDOC. Once you have done the config, internally it uses the method that you have configured.
    Look at NACE transaction to do the config, for message output determination of a purchase order.
    You can even do it in the config --
    Go to SPRO transaction. SAP Customizing Implementation Guide --> Materials Management --> Purchasing --> Messages -->
    regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

  • Custom error in outbound idoc FIDCC1

    Hi all,
    I am generating outbounds idocs for FI documents and i need to put some of them in error. I need the FI Document created and the idoc in error so that i can reprocess it later. To do that i am using the User Exit EXIT_SAPLF050_007
    Enhancement - F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    ""Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(MESSAGE_TYPE) LIKE EDMSG-MSGTYP
    *" TABLES
    *" IDOC_DATA STRUCTURE EDIDD
    *" CHANGING
    *" VALUE(IDOC_CONTROL) LIKE EDIDC STRUCTURE EDIDC
    *" VALUE(DISTRIBUTION) LIKE BOOLE STRUCTURE BOOLE
    *" OPTIONAL
    IDOC_CONTROL-status = '26'.
    The problem is that in the UserExit i set the Idoc Status to some value diferent than 3 (Data passed to port OK) but finally the idoc is created with the status 3.
    Does anybody know how to change the idoc status in the creation from 3 to for example 26 or 27? ( an error idoc status ).
    thanks!!

    Hi,
    In the partner profile, set the option as Collect IDOC's option.
    Create a background job in which the first step of that should be your custom program and the second step is RSEOUT00 program.
    In your custom program, validate the idoc if you feel your idoc is correct then leave it like that and if you feel there is some problem in the idoc then flag that error idoc for deletion that means that error idoc will not be sent to your partner.
    For flagging an outbound idoc to deletion is nothing setting the idoc status to 31. This you can do with the program RC1_IDOC_SET_STATUS.
    Thanks,
    Mahesh.

  • Attaching Error Status to Outbound IDOC. ?

    Hello Experts,
    We have a scenario in SAP PI / XI were upon creation of a Sales Order , Purchase Order or Material Master Flow to Non-SAP System through SAP PI/XI , the IDOC shouldn't flow to SAP PI following a validation on Material Group.
    The IDOC is triggered through Output Type , there is a custom Z function module which create outbound communication IDOC. This output type is attached to a Process Code ZSO, ZMPO defined for respective scenarios defined above.
    Currently i am attaching the the status = 07 to control data structure & the IDOC is getting created but is having error.
    Is this the right practice to follow for attaching error message Outbound IDOC.
    Awaiting for your response.
    Best Regards
    Priyesh Shah

    It depends on the business requirement.
    in a previous project, if there was any error during the validation of the data within the iDoc before it is created and sent, i would trigger an error and send the error to the person who created the data with the error for them to correct.  they would then correct the error within the document and save and the iDoc would be triggered and sent correctly.

  • Puprose of inbound and outbound idocs

    plz help me
    what is inbound and outbound idoc ? its purpose
      inbound and outbound idoc steps
    thnaks

    Hi Mahesh,
    Please check this link
    what is the need of ALE/ IDOC
    what is idoc.
    IDOC creation
    inbound  idoc creation
    Best regards,
    raam

  • Output type for movement type for IDOC creation

    Dear Experts,
    Can anybody tell how to create "Output type for different movement types for IDOC creation"
    Specially for Movement type used for Inbound & outbound.

    Hi,
    pls find below link's
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/idoc%2bsteps
    BAPI & IDOC material
    IDOC Scenario Steps
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://sap.niraj.tripod.com/id51.html
    http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
    Changing fields in an Idoc segment
    Regards
    Raj.

Maybe you are looking for

  • Error during MIRO of an Asset

    Hi, Please help me solve our problems regarding MIRO of an asset. The asset was received via MIGO last 12/27/2007. Depreciation cost was already posted for Dec2007~Feb2008. When user about to post the MIRO the error NAF5354 appear, "account yyyyy in

  • What are the Update tables?

    In LO Delta scenario, Data posted parallel into document tables and update tables. What are the Document tables? What are the Update tables? Give example for Application 11, which is document tables, and update tables?

  • *Internal Order* or *Cost Center* on SD Sales Order

    Hi Gurus, please can you tell me how we can set automatically Internal Order or Cost Center on SD Sales Order (without putting it manually). Thank you very much Kind Regards Andrea

  • How to migrate JUTableBinding from BC4J 9.0.4.3 to 10.1.2?

    Hi, I'm migrating BC4J (and JClient) from JDev-9.0.4.3 to JDev-10.1.3.1 ~(as an intermediate step...)~ . I have <tt>JUTableBinding</tt> instanciated in <tt>bindRowSetIterator()</tt> method of my implementation of <tt>JULovPanelInterface</tt> running

  • Full screen slideshow with 2 photos

    Hi, I would like to know how to create a full sceen slideshow with two clikable photo inside, like this website : http://www.eturaweddings.com Thanks for your help David