Output IDOC FM

Hi
I am looking for the FM used for IDOC type - SHPMNT01.
Its outbound IDOC.
Moreover if anybody helps in how to look for FM of an outbound IDOC.
If any body have any idea kindly provide the valuable inputs.
Ajay

Hi Ajay,
IDOC_INPUT_SHPMNT is the inbound FM of SHPMNT01.
You can get it from tcode WE42. Check the process code for Shipment inbound (here it is SHPM).
The FM attached to it is its inbound FM.
You can also get this FM from se37 by searching IDOC_INPUT_(Message type) (Normally this is the naming convention for the inbound FMs of the idoc).
Regards,
Soumya.

Similar Messages

  • Who know how to reach Create SO from PO Output (IDOC)

    Hi,  experts,
           I have met a problem that need create SO from PO output using IDOC, anyone knows how to reach it? please give me detail steps, thanks very much!
      we need to create an SO in company code XYZ from the PO output IDOC( Message NEU ) of another company code ABC.
    Im trying to create the SO in the same System and same client , but in a Different Company code.
    Edited by: zheng michael on Mar 14, 2011 3:55 AM

    Hi,
    Take help of ABAPer,
    In my project I had done this with help of ABAPer, but not on basis of output.
    When P.O saved in one company code,system create sales order in another company code.
    Kapil

  • Create SO from PO Output (IDOC)

    Hi
    we need to create an SO in company code XYZ from the PO output IDOC( Message NEU ) of another company code ABC.
    Im trying to create the SO in the same System and same client , but in a Different Company code.
    I have already configured in this way:
    we have maintained VENDOR partner role to PO output type NEU
    **Partner profile:
    Vendor Outbound:
    Partner no.           272xxxx
    Partn.Type            LI
    Partn.funct.          VN
    Message Type      ORDERS
    Outbound parmtrs.
    VN     ORDERS               
    Receiver port        SAPEDI
    Basic type           ORDERS05
    Transfer idoc immediately
    Message Control:
    EF     NEU        ME10
    Customer Inbound:
    SP Orders 
    Partner no.           254XXX
    Partn.Type            KU
    Partn.funct.          SP
    Message type      ORDERS
    WE45 Transaction :
    Logical address
        DSN 00002725XX
    Application                         EF
    Destination in SAP system           GMC 00002541XX
    But the IDoc created from the Outbound is having status '03'. so the Inbound function module is not receiving this IDOC.
    Am i missing something here , to connect the Outbound to Inbound.?
    Regards
    Dp

    I have created a new partner profile for the Inbound process under Partner Type 'LS', and the Outbound IDOC is forwarrded to the INBOUND with status "62", Which is what i wanted to achieve.( Same IDOC is forwarded to inbound process)
    I suspect that you're saying that you still have two IDocs (this is what I would expect). Status 62 is kind of odd, because this should be at best a transitional status. So once IDoc is created and ready for processing it should be in status 64 and then move to some status like 53, 51 or something like 56 etc.
    My question here is , My outbound partner profile is maintained under the Partner type Vendor, but why is the system expecting the Inbound partner profile to be maintained at partner type Logical system( LS)
    Let's take a step back and try to see what happens. So your output type on the PO generates an outbound IDoc and you are using condition records that specify the vendor as the receiving partner (on the IDoc control record). So when SAP generates the IDoc it uses the partner you specified as the recipient (and thus expects a corresponding outbound partner profile based on this recipient) and by default SAP enters itself as the sending partner (i.e. LS with logical system name assigned to client).
    Now your outbound port points back to the same system and thus generates basically an almost one-to-one copy of your outbound IDoc. Thus your inbound IDoc has still the vendor as the receiving partner and the logical SAP system name as the sending partner. Since for inbound partner profile only the sending partner matters, you have to create an inbound partner profile using the logical system name assigned to your SAP client.
    If you prefer to utilize a different sending partner on your inbound IDoc, you could for example for outbound initial orders implement customer exit EXIT_SAPLEINM_001 and overwrite the default sending partner filled in by SAP.

  • Message output(IDoc) from MIGO creates multiple idocs repeats for each line

    Hi Experts,
    We want to send one idoc message thru MIGO output message control upon posting at HEADER level regardless of how many line items are there on the Purchase Order.
    Using MIGO we are doing a 101 goods receipt on a PO with 3 line items and we are getting 3 idocs created with the same information form the message output control(basically it is at item level).
    I don't know if this is how standard SAP designed the MM message output control.
    From MIGO or MB03 there is no option to display the messages at the header level because you have to go thru the line item details to see the messages
    I have also tried the collective slip option on MIGO and it did not work(help suggests that it will combine everything in one output)
    Can you please let me know if there is a config or development that needs to made on controling the message output at the header level from MIGO.
    Thanks for all your help
    Shraj

    Hi Sri hari Raju.
    Did you solve this problem?
    Can you tell me how?
    Thanks

  • Debugging EDI output (IDOC creation) for purchase order...

    Hi,
    We have a EDI output type defined for Purchase order. When I go to Messages tab in ME22N transaction and repeat the EDI output and save it, it creates a IDOC which I can see using transaction WE02.
    Now the problem is there is a user exit which I know gets triggered, when the IDOC is created for this PO. When we do some changes in this user exit, I see those changes are reflected when new IDOC is created. But if I put breakpoint, and do repeat output -> save, the debugger does not stop there.
    Is there is some technique I can see the breakpoint stoppage in user exit for IDOC creation during EDI output for Purchase order ?
    Regards,
    Rajesh

    Hi
    Youc can set the output Peridoically (After Giving the output type, set the furthere data as periodic).
    Save.
    Set the break point in your user exit.
    Go to se 38 -> Run RSNAST00,
    Give the object id (Your PO #)
    Give the output type  and execute, the control will stop at break point.
    Regards,
    Baburaj

  • Name of the programme, which writes PO Output IDOC into a file

    Hello Guru's,
    Will anyone know the name of the Program which writes the Purchase Order Output Medium IDOC into a file ( xl file, text file etc,.) in SAP.

    Hello
    I cannot tell you the program name (but this should be easy to find out using debugging) yet just send the PO output to the required port ( WE21 ):
    - generate XML file -> send to XML port
    - generate flat file   -> send to FILE port
    Regards
      Uwe

  • Output-idoc

    Dear SAP Guru,
    For an invoice processing log  is Red and has the message: There is no conversion factor for material xyz and unit of measure.
    because of this IDOC is not generated.
    Can some one tell me how i can rectify this problem.
    POINTS WILL BE REWARDED.
    REGARDS

    Hello,
    Check your  material master.
    and in additional data maintain the coversion factor and unit of measures too.
    do the process again and check the results.
    Regards,
    Nisha

  • Process code for IDOC Output from MIRO

    Hi,
    We need to find the Process code for IDOC output to assign Output type in ECC. We need the IDOC output to some other system like PR while doing the invoice Posting (Transaction code MIRO). We tried Using process code SD09 for the IDOC with IDOC Type INVOIC02. In SD09 we are getting error (Update terminated) when we trigger the output while saving in MIRO transaction.
    Further we understand that process code SD09 is used for SD billing and Invoice process.
    We need your help in
    1.      getting the correct process code for the IDOC generation for Invoice posting thru MIRO.
    2.      If we need to configure one process code, let me know the correct function module for the same.  
    Please Note, we need this as Output Idoc from Invoice Posting MM (MIRO).

    Hi Shankar,
    Thanks for quick for reply. We have tested this process code with IDoc type - GSVERF03 and message type - GSVERF. It worked for us for MIRO transaction.
    we are testing with IDoc type INVOIC02.
    once again thanks for sharing the process code.
    Regards,
    Brahma

  • Error in the content of Delivery output ASN outbound IDOC

    Hi,
    I created an Delivery order for an SO and processed to PGI.
    Then the ASN Outbound idoc is triggered successfully!
    But when i checked the content of this ASN Outbound IDOC, i found some data were not populated into the IDOC from the Delivery order...
    <b>So i should debug which program to determine the problem???</b>
    I dont know which one is the right one for me to debug the problem:
    1) debug the output FM for this IDOC
    We19(entering the error IDOC)-->Test outbound
    2)VL02N>Delivery output>Enter the output type>Then swiching on the debugging mode>Enter to debug???
    For above 2, which one is the one who retrive the DO content into the output IDOC???
    Thanks very much!!!!!
    Message was edited by:
            Hoo Laa
    Message was edited by:
            Hoo Laa

    Hi,
    If i am right, there should be an output type that is trigerring this IDOC from the delivery ---right.
    Can you please check the delivery and let me know....
    At Extras - Delivery output - Header level...
    Regards,
    Syed Nasir

  • MM I need to inform in the idoc output when you cancel a document.

    hi i need to know how to report on a idoc cancels out when the framework contract and a service entrance (ML81N, ME31K) is that when you cancel a document does not create logistical message. Thanks
    I need to inform in the idoc output when you cancel a document OF ml81n migo or me31k, if you create or modify a documet of  ml81n migo or me31k , logistical message is generated but not nullify. Is there any way to report a cancellation in the output idoc?
    Edited by: juliansantelli on Apr 7, 2011 4:26 PM

    Sorry, good network connection, happily downloaded for 15 minutes before this popup appeared... Staying with iOS 5.1.1 for now hoping Apple can sort it..oO

  • Incomplete Idoc received in SAP R/3

    Hi XI Gurus
    I am working on a File to Idoc scenario and stuck because of a strange issue.
    The output Idoc structure sent from XI and as viewed in IDX5 / SXMB_MONI is as below
    <?xml version="1.0" encoding="UTF-8"?>
    <ACC_DOCUMENT01>
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <SNDPRT>LI_SND</SNDPRT>
                   <SNDPFC>LF_SND</SNDPFC>
                   <SNDPRN>0000000100</SNDPRN>
              </EDI_DC40>
              <E1BPACHE09 SEGMENT="1">
                   <OBJ_TYPE>BKPFF</OBJ_TYPE>
                   <OBJ_KEY>PR2000627830002007</OBJ_KEY>
                   <OBJ_SYS>T47CLNT800</OBJ_SYS>
                   <BUS_ACT>RFBU</BUS_ACT>
                   <USERNAME>lovein</USERNAME>
                   <COMP_CODE>3000</COMP_CODE>
                   <DOC_DATE>2007-09-11T05:18:52-07:00</DOC_DATE>
                   <PSTNG_DATE>2007-09-11T05:18:52-07:00</PSTNG_DATE>
                   <DOC_TYPE>SA</DOC_TYPE>
              </E1BPACHE09>
              <E1BPACCAHD/>
              <E1BPACGL09>
                   <ITEMNO_ACC>1</ITEMNO_ACC>
                   <GL_ACCOUNT/>
                   <ACCT_TYPE>S</ACCT_TYPE>
                   <DOC_TYPE>SA</DOC_TYPE>
                   <COMP_CODE>3000</COMP_CODE>
                   <PSTNG_DATE>2007-09-11T05:18:52-07:00</PSTNG_DATE>
                   <VENDOR_NO/>
              </E1BPACGL09>
              <E1BPACAP09>
                   <ITEMNO_ACC>00001</ITEMNO_ACC>
                   <VENDOR_NO/>
                   <COMP_CODE>3000</COMP_CODE>
                   <PYMT_METH>ach</PYMT_METH>
              </E1BPACAP09>
              <E1BPACCR09>
                   <ITEMNO_ACC>1</ITEMNO_ACC>
                   <CURR_TYPE>00</CURR_TYPE>
                   <CURRENCY>USD</CURRENCY>
                   <CURRENCY_ISO>USD</CURRENCY_ISO>
                   <AMT_DOCCUR>-30000</AMT_DOCCUR>
              </E1BPACCR09>
              <E1BPACCR09>
                   <ITEMNO_ACC>Constant</ITEMNO_ACC>
                   <CURR_TYPE>00</CURR_TYPE>
                   <CURRENCY>USD</CURRENCY>
                   <CURRENCY_ISO>USD</CURRENCY_ISO>
                   <AMT_DOCCUR>0</AMT_DOCCUR>
              </E1BPACCR09>
              <E1BPACCR09>
                   <ITEMNO_ACC>Constant</ITEMNO_ACC>
                   <CURR_TYPE>00</CURR_TYPE>
                   <CURRENCY>USD</CURRENCY>
                   <CURRENCY_ISO>USD</CURRENCY_ISO>
                   <AMT_DOCCUR>30000.00</AMT_DOCCUR>
              </E1BPACCR09>
         </IDOC>
    </ACC_DOCUMENT01>
    But the Idoc received in SAP R/3 as viewed in Transaction WE02 or table EDID4 has only one node E1BPACHE09
    and because rest of the nodes are missing SAP R/3 fails to process the Idoc .
    Any help to analyse the issue will be highly appreciated.
    Thanx
    Lovein

    Hi Lovein,
    What you can do is:
    1. Go to SXMB_MONI and take the output xml.
    2. Now go to your mapping under TEST tab and test the above mentioned output xml and see what is the output, i mean are you able to see all the desired output as per you mapping or not.
    3. If not then probabily you will get an error message, then try to find out the solution in your mapping only.
    4. If you are not able to do that, kindly send the error message, which you got in mapping.
    I hope this will solve your issue.
    Regards,
    Sarvesh
    ****Reward points, if found helpful. 

  • Reg: IDOC Purchase Order

    Hi All,
    I have a requirement to trigger a Purchase Order from Stock Transport Order (STO).
    So whenever the STO is created, IDOC needs to be triggered & create a auto PO in the same client.
    I tried with some examples from forum thread, but all goes in vain.
    Could you please advice, what are all the steps needed to achieve this with in a same client. I have created a dummy logical system for Inbound processing with tRFC. Could you please advice this step is really needed.
    Thanks & Regards,
    Uswin
    Edited by: Uswin B on Nov 21, 2011 11:40 AM

    1. You need to setup output determination on the STO (transaction NACE, Application EF). You can create output type similar to NEU and assign it to o/p determination procedure linked to your STO document type. You can't use NEU though as it is configured to create ORDERS message type IDoc. To create PO you need message type PORDCR1.
    2. You have to write your own function module to output IDoc of message type PORDCR1 and call MASTER_IDOC_DISTRIBUTE to trigger it. It is easy if you only map the minimum required fields so that the IDoc doesn't fail in syntax and take it from there. There are no standard functions that I know that created PORDCR1 message type IDoc (others chip in if you know). You need to create your own outbound process code with ALE processing as medium in the output type.
    3. You can set the IDoc from the output type with direct 2 (as inbound) and set up partner profile in the output condition record to point to your inbound LS partner profile
    4. You need to assign inbound message type:PORDCR1, IDOC type PORDCR101 and Process code: BAPI to your receiving LS partner profile
    Those are the settings you need to do. I can't elaborate as there are many things specific to your implementation

  • How to generate an Idoc form an existing Sales Order?

    Hi experts.
    Our client needs to generate an ORDERS05 output Idoc for Sales Orders that has already been created.
    Is there a way to generate a new Idoc for those Sales Orders?
    MASTER_IDOC_DISTRIBUTE won’t do the job cause I don’t how to complete all the segments, I need the standard procedure to be execute.
    I thought to use a Bapi to modify the Sales Order, but that might execute routines that we not want to.
    Any ideas?
    Thanks.

    Hi,
    You can generate an IDOC from invoice cancellation.Define a new "Z" output type for this cancellation billing document type and select the medium as 5(EDI).Check with your ABAPer for this.
    Regards,
    Krishna.

  • Segment fields do not get populated from second IDoc onwards.

    This is a xml file to idoc mapping scenario.
    Source XML Structure.                                                                               
    <MT_message type> ( Occurs 1 )                                                     
         <session header> ( Occurs 1)                                                                               
    <session header/>
          < Header >   ( Occurs 1 to unbounded )
                < Document Header > ( Occurs 1 )
                      Currency
                      <Line Item> (occurs 1 ....unbounded)
                      <Line Item/>
                      <Line Item> (occurs 1 ....unbounded)
                       <Line Item/>
                < Document Header/>
          < Header/>
          < Header >   ( Occurs 1 to unbounded)
                < Document Header > ( Occurs 1 )
                      Currency
                      <Line Item> (occurs 1 ....unbounded)
                      <Line Item/>
                      <Line Item> (occurs 1 ....unbounded)
                       <Line Item/>
                < Document Header/>
          < Header/ >
    < MT_messagetype/>
    Each Header tag creates an IDoc of the basic type acc_documnet01.
    This IDoc has a segment E1BPACCR09 which is repeated for every ocurrence of line item in the header.
    Lineitems -
    > E1BPACCR09.
    The currency field in this segment comes from the currency field in the documnet header tag of the source xml structure.All other fields are mapped from Line items tag of XML source structure.
    When i test the mapping,with the exact source structure as above,
    2 IDocs are output, (for two header tags)
    First IDoc -: For two line items in XML source , 2 E1BPACCR09 are created in IDoc and the currncey field is mapped correctly.
    Second IDoc-: For two line items in XML source, 2 E1BPACCR09 are created in IDoc but the currncey field is not mapped at all neither does the currency fieldname appear with null value in the output IDoc.
    Can someone help me with this issue?
    Himani
    Edited by: Himani Pandey on Jul 10, 2008 5:10 PM

    Hey
    You need to use copyValue standard function,to repeat the source side to occur as many times as receiver side.else it will populate only the first occurence not after that
    Thanx
    Aamir

  • Get IDoc-number from flat IDoc using dynamic configuration

    Dear experts
    In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF:
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","DOCNUM");
    conf.put(FileName, a);
    The information is stored in the SOAP message
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="DOCNUM">0000000000012345</SAP:Record>
    </SAP:DynamicConfiguration>
    Can anybody tell me how I can access this information in the "variable substitution" section of the CC? Perhaps something like "message:docnum"?
    Additional information:
    Taking the IDoc-number from the payload using e.g. "payload:ORDERS05,1,IDOC,1,EDI_DC40,1,DOCNUM,1" does not work, since the XML-IDoc has been converted to an flat-IDoc.
    Thanks in advance for any good ideas
    Markus

    Dear Rodrigo and Sarvesh
    Thanks for your help so far! I applied your hints and now it is working fine.
    But now I have the following additional questions
    1.) My message mapping only maps the input IDoc to an output IDoc of the same type and structure. The MM is only required to process the UDF. Is there another, better solution to achieve my requirement that the IDoc-number shall be part of the filename?
    2.) In the CC you have the possibility to use temporary files (section "Processing", Option "Put File" = "Use Temporary File". I think this will not work with the given solution, will it?
    To possibly help somebody else or clarify the mechanism once again, I wrote down how my solution now looks like.
    My UDF in the message-mapping looks like this
    - Input = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - Outpt = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - UDF:
    public String putDynamicConfiguration(String docnum, Container container) throws StreamTransformationException{
    try
         DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
         DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
         String filename = "Prefix_" + docnum + ".txt";
         conf.put(key, filename);
         return docnum;
    catch (Exception e)
         return docnum;
    In the CC the settings are now as follows
    File Name Scheme = . -> only a dot or something else, because this field is obligatory, even if it is not used in this case.
    Variable substitution (...)
        Enable -> unchecked
    Adapter-Specific Message Attributes
        Use Adapter-Specific Message Attributes -> checked
        Fail If Adapter-Specific Message Attributes Missing -> checked
        File Name -> checked
        Directory, File Type, Temporary Name Scheme for Target File Name -> unchecked
    When I send an IDoc to PI and view the Adapte-Engine Version of the message (the SOAP-document, not the payload) I can find the Filename:
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
    <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">Prefix_0000000000012345.txt</SAP:Record>
    </SAP:DynamicConfiguration>

Maybe you are looking for