ORDERS(IDOC) to XCBL text transfer

Hi,
I'm desperately trying to add a context in target structure when segments of orders in source structure are not filled.
source structure :
E1EDP01 (item 1)
POSEX
-E1EDPT1(0..9999)
--E1EDPT2(0..9999)
---TDLINE(0..1)
E1EDP01 (item 2)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
-E1EDPT1
--E1EDPT2
---TDLINE
E1EDP01 (item 3)
POSEX -
>Segments not filled
E1EDP01 (item 4)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
Target structure :
ListOfStructuredNote(0..1)
-StructuredNote(0..9999)
--GeneralNote(0..1)
mapping one to one:
POSEX -> ListOfStructuredNote
E1EDPT2 -> StructuredNote (context on E1EDP01)(Mapwithdefault)
TDLINE -> GeneralNote(0..1)
This results are :
Item1
-StructuredNote
--GeneralNote (coming fromTDLINE1)
Item2
-StructuredNote
--GeneralNote (coming fromTDLINE2)
-StructuredNote
--GeneralNote (coming fromTDLINE3)
Item3
-StructuredNote
--GeneralNote (coming fromTDLINE4)
Item4
-StructuredNote
--GeneralNote (Empty)
The TDLINE4 should be in Item4
The two first structures are mapped ok
But the General note is missing one context because item3 has no texts.
I need to add this context otherwise the 4th TDLINE is getting in the 3rd Structurednote.
Can anyone help?
Thanks,
Laurent.

Hi Stefan,
To answer on the standard functions i found another solution.
I used the function FormatByExample with one input with context and the other input with results without context. The context is the added in result compared to first input contexts.
Best regards,
Laurent.

Similar Messages

  • Stock Transfer Order IDoc

    Hello,
    I am confused with Idoc type for Stock Transfer Order & Standard PO.
    We are using ORDERS05 for both types of POs but problem is that in case of Stock Transfer Order , partner details(E1EDKA1) (LF) is blank.
    I think It should be filled with supplying plant details.
    While in case of Standard PO , partner details are filled with vendor information.
    Is there any other IDoc type for Stock Transfer POs ?  Please suggest.
    Regards,
    Jitendra

    Hi Jitendra,
    It is the same in both case but the only difference is the order type:
    NB - purchase order
    UB - Stock Transfer order
    Hope this Helps.
    Regards,
    Naveen

  • How to transfer sales order idoc from R/3 to CRM

    Hi,
          I want to generate the sales order idoc in R/3 (ORDERS) and replicates to CRM through XIF adapter.
    The sales documents are not realy existing in R/3. We can only get the information from related biling documents and try to gerenate ORDERS idoc.
    The problem is how to map R/3 idoc to CRM idoc(CRMXIF_ORDER_SAVE_M01). The administration console seems can only send the idocs but not receiving them.
    Thanks,
    Ina

    Hello Yina,
    Can you please answer the questions? I am a little bit confused.
    If you don't have the order in R/3, are you not going to create one when creating the ORDERS IDoc? If yes, then this order will go to CRM automatically if you have the middleware set properly.
    If you are NOT creating any order in R/3 during the IDoc step, Why would you want the order in CRM when you don't have it in R/3?
    Are you not going to keep the middleware between R/3 and CRM open? If you keep it open, the order from CRM will crossover to R/3 - in which case you could have created the order in R/3 in the first step itself !!!
    If you are not keeping the middleware open between R/3 and CRM - I don't know why would you want to keep the orders in CRM, but not in R/3. Is it because of lack of good CRM consultants in the project?
    Easwar Ram
    http://www.parxlns.com

  • ORDERS idoc processing in workflow

    I have a situation when processing ORDERS idocs thru workflow. The unit of measure is inadvertently switching from what is on the idoc (EA) to the base (CA) after correcting the "qty not in valid multiples" error and saving the order.  the standard VA01 logic handles this situation correctly. Has anyone ever seen this 'switch' in any of their work. Any help would be greatly appreciated.

    Hi,
    The no of IDocs processed at a time is based on the Packet Size that is specified in the configuration of the Partner Profile(WE20). Likewise the specification of the Output Mode is given as either Transfer IDocs Immediately  or Collect IDocs in which case the IDoc would go to 30 status and it would have to be processed using RSEOUT00.
    Thanks
    Krithika

  • No batch input data for screen SAPMSSY3 0131 in Sales order IDOC

    I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
    No batch input data for screen SAPMSSY3 0131 .
    I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
    Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
    Any, insight will help.

    Hi,
    I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
    Handle the screen recording in the user exit IDOC_INPUT_ORDERS
    user exit routine
    PERFORM customer_function_dynpro.
    FORM CUSTOMER_FUNCTION_DYNPRO.
      CALL CUSTOMER-FUNCTION '002'
        EXPORTING DXVBAK   = XVBAK
                  DVTCOMAG = VTCOMAG
                  DLAST_DYNPRO = LAST_DYNPRO
                  DXMESCOD = IDOC_CONTRL-MESCOD
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DIDOC_DATA = IDOC_DATA
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        EXCEPTIONS
                  USER_ERROR = 01.
    Regards,
    Krishnakumar

  • Mass processing for inbound orders idoc's from file

    Hi Experts,
    I have an requirement wherein we need to process all the ORDERS idocs sent from a thrid party system to a particular folder in the SAP system. Now we use a custom programme which in turn calls fn module IDOC_INBOUND_FROM_FILE to process each file. Here if the fn. module IDOC_INBOUND_FROM_FILE hits an erroneous file (control record error) it issues abend message which causes to entire programme to exit leaving rest of the files in the folder unprocessed.
    Let me know if there is any other function module or way to tackle this issue so as to process all the files.
    Thanks & Regards,
    Jimmy.

    Add the exception ERROR_MESSAGE = 99 (or some other unique number) to the standard exceptions in the function module call in your custom program.  This will allow you to trap the error and continue processing.

  • Error in Sales Order idoc - No appropriate entry found in table ADRT

    Hello SAP Gurus,
    When I am retriggering a sales order idoc I am getting the following error message.
    No appropriate entry found in table ADRT
    How can I resolve this issue.
    Thanks,
    Narayan.

    Hello Lakshmipati,
    I have checked up the customer master. There was no communication method maintained for any of the customers.
    But even then the order idoc is triggered to our XI system.
    For the one that failed I have maintained the communication method and retriggered again. It had the same failure message.
    Any helpful thoughts is highly appreciated.
    Thanks & Regards,
    Narayan.

  • Service order with blank short text

    Hi all,
    In my case Service orders are getting generated from sales order and the short text of the service order is the material description in the sales order line item.This is the standard behaviour.
    Now the client wants short text should be blank and they will key in the text later.Means order has be created with no data in short text.
    I have tested with exit IWO10009 and its not catering my needs.Is there is any other exit which whips the data in the shorttext while saving of the order.
    reagards
    A.Sureshbabu.

    MODERATOR COMMENT:
    Welcome to the forum. Do take time to read the [rules|https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement], in particular:
    Step 4: Thank Others by Giving Points
    -Paul
    Moderator

  • Ship to party PO number line item field updating in ORDERS IDOC

    Hi Experts,
             We are in the process of creating the Sales order by receiving EDI data from customer and converting in to IDOC format and trying to create the sales order. While executing the ORDERS IDOC message type sales order is getting created successfully.
    But our requirement is, we want to store the customer contract details in the sales order. So we identified the "Ship to Party Purchase Order data" in ORDERS Tab in the sales order. While executing, in the Header level the Contract number is getting updated against Ship to party Contract number field.
            But during item level process, system is not updating the contract line item number field even though we maintained the value in E1EDP02-ZEILE for the QUALF 044.
    Note: The similar scenario, we want to capture the Customer Purchase order number & line item number. For this we maintained the value in E1EDP02-ZEILE for the separate QUALF, its working fine.
    Kindly give your valuable feedback on this issue also
    Regards,
    nag

    Hi
    See Note 753153 - FAQ: Customer-functions in IDOC_INPUT_ORDERS. Check if EXIT_SAPLVEDA_001 gives you any possibility to do it.
    I hope this helps you.
    Regards
    Eduardo

  • Purchase order idoc - generate all lines with any changes

    when the orders idos is created new all material lines are created in the idoc
    when there is a change only the changed material lines are included in the idoc
    if no material lines are changed only the header idoc segments
    are created
    how can I have the entire puchase order idoc, header and all material lines, created for any change

    Follow Auto Sourcing And Auto Create/Release Checklist [ID 417966.1] carefully.
    Sandeep Gandhi

  • Send Purchase Order IDOC to create Sales Order in other R3 system

    Hi everybody,
    I need to setup our R3 system so that when one user creates a Purchase Order in the R3, an ORDERS idoc is sent to another R3 system in order to create the related Sales Order (we have 2 R3 systems to support the business of 2 different companies
    - for simplicity, consider company A has a R3 X1 and company B has R3 X2 system).
    I've setup the EDI on both systems to communicate an ORDERS idoc between them.
    The problem is that when the X2 system receives the ORDERS Idoc from X1 system, it is processed with errors saying 'VKORG, VTWEG, SPART cannot be determined for client xpto'.
    Since our R3 X2 system also receive ORDERS idocs from other companies and are processed correctly, I've realized that the content of the IDOCs received on both situations is very different.
    In the EDI partner profile, I tried to use a different inbound process code but have no success.
    How can I setup this functionality for out R3 systems? Do I need to create a new inbound process code (and use a custom function module)? Is there any other more standard solutions?
    Thanks in advance,
    Manuel Dias

    Hi Manuel,
    Org Elements are not maintain for your customer in receiving system. Please maintain organizational data for customer ... using transaction code <b>VOE2</b>.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Splitting Purchase Order Idoc based on qty

    Hi All,
    I am having a requirement wherein i have to insert multiple line items in purchase order idoc  based on quatity .Eg if the line item qty is 3 then the same line item has to be repated for 3 times and purchase order idoc has to created with 3 line items.I am trying to do this User exit EXIT_SAPLEINM_002 which is used Customer Enhancements to Data Segments: Purchasing Document (Outbound ).Can anybody tell me how can i go ahead inserting multiple lineitems in purchase order idoc based on the qty.So, Can anybody know how to handle this scenario? Also, can you please let me know whether is there any standard procedure for handling this scenario
    Thanks in advance
    Regards
    Saravana

    Hi,
    Use t.code ME2M or ME2N , enter account assignment category A & then choose selection parameter WE101 (open goods receipt) and execute.
    Regards,
    Biju K

  • Same message code & function for both Sales & Purchase order idoc.

    The same message code and function be used to send both sales order and purchase order idoc?

    Hello,
    You can use the same message code and function to send for both sales orders and purchase orders provided if you use different message types i.e., output types in the outbound partner profile configuration for processing these transactional data.

  • Purchase order IDOC: output

    Hi
    I did configure a the following.
    1.Outbound message type <b>ORDERS</b>
    2.Outbound receiver port : TRfc
    3.Basictype <b>ORDERS05</b>
    4.Message control: Application <b>EF</b> Message type <b>NEU</b> . Process code <u>ME10</u>
    What do i need to configure additionally so that the purchase order idoc get exported?

    Naresh
    This is what i did already.
    When i create the order ,  i user NEU AS as output and "distribution ALE" as medium. I then select LS (logical system) as Partner function and SAPBC as partner.
    I get a warning message "Partner SAPBC does not exist for partner function LS".
    When i go back to the messages, it is unprocessed. When i display the communication method, i get the error "No communication data has been defined for transmission medium A"
    Any idea why?

  • EDI Mapping to ORDERS IDOC - urgent

    Hi All,
    My scenario is creation of sales orders in R/3 using inbound EDI messages.
    Source is the Seeburger external definition(ORDERSV9)(Copied object into my name space) and the target message is the orders IDOC(R/3)(imported).
    my question is: we have many segments and the feilds in the target message(IDOC). how will in know which feilds from source message are mapped to the correct feild in correct segment of the target message.
    Please clarify as I'm stuck in Mapping?
    Cheers,
    Smith

    Hi Liang,
    I know the structure, feilds and the data in the feilds of the EDI structure. I just need to know to which target feilds in IDOC the respective source feilds are mapped to?
    In target IDOC structure we have nearly 100 feilds and i'm not sure which feilds are to be mapped to create a sales order in R/3.
    Fucntional consultants couldnt help much and are not completely aware where the data is posted in the sales order from the feilds in the idoc structure.
    I'm waiting for any EDI experts to respond. Will see
    Cheers,
    Smith

Maybe you are looking for

  • Business Area not matching the project

    Hi PS gurus, Here Im giving the Business area of irrelevant WBS Element, it is not throwing any error message in FB01.It is taking the wrong Business Area. please guide me. Thanks, Sanju. Edited by: Sanjana on Sep 10, 2008 11:54 AM

  • Please Wait Screen

    I'd like to impose a 'please wait' screen between 2 JSP pages. I have a jsp page that prompts the end-user for reporting parameters, such as begin-date & end-date(and others). The user clicks a submit button which links to another jsp page that actua

  • Designing a Double-Sided business card in InDesign

    Hi All I would like to design a double-sided business card using InDesign and I have just downloaded the app. I went to create a new document but there is no option for "US business card" size as it states in the tutorial. Is this because I am using

  • IDOC_ERROR_ILLEGAL_TYPE

    Hello, I am trying to send an IDOC INVOIC to an SAP system. Here I get error Application error: com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: Segment type "E1EDKA1" is not a valid child segment type. But when I print out Meta Data abou

  • Auto dialer not calling out

    Hi I have a water alarm that I can connect to my BT phone line.  It will call the programmed numbers if there is a water leak. However, I can't get it to call out using my BT phone line. I have taken the devie round to a friend's house and tried it o