IDOC ORDERS05: Segment E1EDPA1Doc.item partner information is not filled

Hello,
I'm working on the AFS-Retail Interface for Orders.
In the first step we create a sales contract in AFS with the combined demand from a retail purchase order and in a second step the sales order call-offs which are the Retail orders for the stores (NB; one PO for one store).
The problem is in the sales order call-off. In the Retail outbound IDOC the information about the  relevant ship-to stands only the header segment E1EDKA1 (PARVW = WE).
In the AFS IDOC inbound the ship-to is written in the header partners of the sales order. But because the information is missing on item level the information is copied from the sales contract which leads to the wrong ship-to for the items in the sales order.
For the communication we are using the basic type orders05. Is there a possibility to fill the item partner segments E1EDPA1 out of the standard or do I need to implement an user exit in the Retail IDOC outbound process so that the partner information is filled also on item level?
Thanks in advance.
Regards,
Christine

Hi Christine
I am working on SAP AFS 6.0.. I Had same issue.....When sales order ref to a contract....i resoved it
u need to write user exit for this....
Ramesh

Similar Messages

  • IDoc Receiver, Error in we02 - EDI: Partner profile inbound not available

    Hi All,
    I have a problem when creating a receiver IDoc from XI to R/3.
    I have successfully tested the IDoc when populating the receiver information from the payload. However I want this information to be populated automatically based on the logical systems.
    When I do this I get the following error in the IDoc in R/3:
    EDI: Partner profile inbound not available
    In the control record the sender information is all correct but in the recipient information the partner Number with type LS is populated, but port is not populated.
    I have done the following steps.
    •     the sender is a Business Service so I have created a logical system directly adapter-specific identifiers in the sender service in the integration directory.
    •     In the receiver business system I have imported the logical system into the adapter-specific identifiers in the ID from that specified in the SLD.
    •     In the receiving R/3 system using SALE/BD54 I have created a logical system for the source system.
    •     In the receiving R/3 system using we20 I have created a partner profile of type LS with the same name as the source logical system.
    •     IN PI/XI system in transaction IDX1 I’ve created a port (SAP<SID> where <SID> is the system ID of the receiving R/3 system) and the client of the R/3 system, and the RFC destination of that system (<SID>CLNT<clnt>, as specified in SM59).
    •     In the IDOC Adapter (receiver) I have entered the RFC destination and port matching those created above. All checkboxes are UN-checked eg. take sender from payload, take receiver from payload, Apply control record values from payload, etc. are all NOT checked.
    I think that I’ve done everything correctly, but I get the error in we02 in R/3: “EDI: Partner profile inbound not available.”
    Any help will be greatly appreciated (and rewarded, obviously).
    Thanks,
    Matt.

    HI Matt,
    Can you please copy paste the exact error message....In your error message it will show you Exact partner Number / Logical System name and other parameters...just compared if you have all parameters set in your partner profile comparing to error message...
    If you can giev screen shot of both..then probably would be easy to point out error.
    Hope this will help.
    Nilesh

  • Invoice EDI error : EDI: Partner profile inbound not available

    Hi  EDI experts ,
    We are connecting our SAP ECC 6 ( Ehp 4) system to 3rd party system Mincom via SAP PI, to send PO Creation message (Outbound) and receive Vendor Invoice message( inbound).  We already done all the settings..Output determination procedure, Partner Profile ( WE20) , Port creation , Condition Records, EDI settings in SPRO for invoice..etc as below:
    Logical system ( BD54)
    ECC system - EDACLNT112,
    PI systems u2013 IDACLNT210
    Third party u2013 LSMINCOM
    Port ( WE21)
    IDACLNT510 : For PI with RFC destination IDACLNT510
    Partner ( WE20)
    LSMINCOM :  (Partn.Type LS)
    Outbound parmtrs.- Partner Role- LS, Message : ORDERS , Port - IDACLNT510
    Inbound parmtrs.- Partner Role- LS, Message : INVOIC , Message Variant- MM, Process code u2013 INVL, Trigger immediately (Process code INVL have  Identification - IDOC_INPUT_INVOIC_MRM, Option ALE u2013 Processing with ALE services , Processing type- processing by functional module)
    Here PO Creation is working fine . IDoC of PO outbound message have below details :
    Recipient information:
    Port :     IDACLNT510 (Logical system & Port created in WE21 )
    Partner Number :  LSMINCOM   ( Logical system and Partner created in WE20)
    Partn.Type :  LS        
    Function :  LS     
    Sender information:
    Port :  SAPEDA ( donu2019t know how it created..but in WE21..it is not there)
    Partner number:   EDACLNT112 ( Logical system and Partner created in WE20)
    Partn.Type :  LS        
    Partner Role :Blank
    Just started testing, our PI team is sending the IDoC, with wrong information on partner & other data, so inbound IDoC failing with error u201CEDI: Partner profile not availableu201D. Oaky. I reprocessed these failed IDoCs by changing Partner data just opposite (i.e. Sender info as Recipient info & vice versa) to successful PO Creation O/B message in WE19 in EDIDC and when I click on u201CStandard Inboundu201D, then another window open giving error message u201CPartner profile not maintainedu201D and creates new IDoC with status 56
    EDI: Partner profile inbound not availableMessage no. E0337
    Diagnosis
    An inbound partner profile could not be found with the following key:
    /LSMINCOM/LS//INVOIC///X/
    This involves the key fields of table EDP21:
    -SNDPRN  partner number of sender
    -SNDPRT  partner type of sender
    -SNDPFC  partner function of sender
    -MESTYP  logical message type
    -MESCOD  logical message code
    -MESFCT  logical message function
    -TEST    test flag
    Procedure
    Please check the inbound partner profiles.
    Execute function
    I am not getting exactly what inbound partner profile could not be found or what is the problem here . Can anyone suggest me what should be the problem and solution on it ?
    Thanks
    NAP

    Narendra,
    Please advice what was the solution.

  • Segment E1EDP20 is missing in IDOC ORDERS05

    Hi All,
       EDI Message Type:     ORDRSP
       Basic IDOC type:         ORDERS05
       Function Module:     IDOC_OUTPUT_ORDERS
       IDOC extraction function module:  IDOC_OUTPUT_ORDRSP
       While saving the sales order in back end the basic IDOC ORDERS05 is triggering . Segment E1EDP20  is missing.
      Please any one explain the above two function module. when it will trigger.
    Thanks in advance.
    SN

    Hi,
    Condition records needs to be maintained for the line items in the sales order. Only then E1EDP05 will be populated.
    Kindly check for the condition records.
    Regards,
    Prasana.

  • Creation of a line item in the existing PO by inbound idoc (ORDERS05)

    Hi friends,
       I have the following requirement.This is for the  inbound idoc ( orders05).
    If there is an extra item line in the confirmation idoc, for which no corresponding purchase order line is found, check if the extra line's NOB-number is found in the new NOB-number check -table.
    Fetch NOB-number check table with database keys:
    E1EDP19-IDTNR (when E1EDP19-QUALF = ZNO) = NOB-number in the table
    EKPO-WERKS (from 1st purchase order item line) = site number in the table.
    If the NOB-number + WERKS is found in the control table, create a new item line in the purchase order.
    If the NOB-number + WERKS is not found in the control table, put the idoc into error.
    Can you please tell me that how to create a new item line in the purchase order.
    Waiting for your help.
    With Regards,
    Ajit Prasad.

    You like to add new line item in existing purchase order or new po.
    Thanks,
    Narayan

  • Determine Partner number based on IDoc Data Segments

    Are there any user exits or BADI, which can be used to determine Control record parameters (Partner), based on IDoc Data segments? This is for an Inbound IDoc, into ECC.
    I found EXIT_SAPLEDI1_001. But, this has only control record. It is used to determine control record parameters, by using control record only.
    Thanks,
    Juwin

    Dear Juwin,
    Could you please provide some info. about what you are trying to achieve by trying to determine the partner dynamically?
    If the scenario is something like 'Partner A should get data related to only plant 1000 and Partner B should get data related to only plant 2000', you could use filters in the Distribution model to achieve this.
    BR,
    Aashrith

  • Segments E1EDK04 and E1EDK05 in IDOC ORDERS05 for PO's

    Hi all,
    I am using program RSNASTED and form ALE_PROCESSING to generate IDOC ORDERS05 for purchase orders. This works fine but, eventhough the purchase orders contain tax conditions (NAVS) and several header discounts (e.g. RA01), the relevant segments, E1EDK04 and E1EDK05, are not included in my IDOC.
    Anyone have an idea how to include these segments?
    Thanks and regards, Patrick

    Michal_Krawczyk_PIXI wrote:
    Hi,
    >
    > if your SAP version is <4.6A then you need to do it manually
    > if not then it should work automatically
    >
    > Regards,
    > Michal Krawczyk
    Michal, Sorry it is not working as expected.

  • IDOC ORDERS05 partner mail

    Hi all,
    I'm using idoc orders05 in inound to get sales orders in r/3.
    I filled E1EDKA1 structure for customers data.
    I need to fill and use customer e-mail address.
    Where can I find this field?
    Thanks in advance.
    Stefano

    Hello,
             For meeting your requirement, you can also use the Enhancement (SMOD) VEDA0001 in which you'll find a Customer Exit EXIT_SAPLVEDA_001. Here you can write the Code to fetch the E-Mail Address and populate it in an Internal Table or Work Area and Export it to Memory ID.
            Next Comes the Population of the E-Mail Address in the Sales Order. For this, you need to find an Appropriate Enhancement Spot in the Main Program of the Sales Order which is SAPMV45A since it uses BDC method to Create Sales Order.  In that Enhancement Implementation, you can Import the Variable that you've exported in Step 1 and append it to the BDC_DATA Table so that it gets inserted into the BDC Table and gets updated in the Transaction as well as in SAP.
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Problems with idoc ORDERS05

    Hi experts,
    I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any code or something in SPRO??
    Thanks in advance,
    Maria

    Hi again...
    I'm trying to make a copy of the standr FM IDOC_OUTPUT_ORDERS because I think it may be easier to add the segments I need. I have also created in tx. WE41a new operation code ZME10 with my new fm. An in tx. WE20 I have assigned ZME10.
    The problem is when I run ME9F i get this error:
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',
    was neither
    caught nor passed along using a RAISING clause, in the procedure
    "NEW_DYN_PERFORM" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    The program "RSNASTED" contains the CALL FUNCTION statement.
    The name of the function module to be called is "ZIDOC_OUTPUT_ORDERS".
    but "ZIDOC_OUTPUT_ORDERS" cannot be found in its function group.
    Any idea ??
    thanks in advance !

  • Problem in message mapping (outbound IDOC ORDERS05 from SAP R/3)

    Hi to all,
    I have an outbound interface from sap r3
    sap r3 --> XI --> ftp server
    idoc --> XI --> text file
    Using IDOC orders05
    The problem is in segment E1EDP01/E1EDP19
    Segment E1EDP01 is unbounded and i map it well. If it contains E1EDP19, works fine. But in some cases, E1EDP19 not appears at E1EDP01segments. So then XI fails at mapping:
    IDOC OUTPUT (OK)
    1-E1EDP01/E1EDP19
    2-E1EDP01
    3-E1EDP01/E1EDP19
    4-E1EDP01
    XI WRITES (FAILURE)
    1-E1EDP01/E1EDP19
    2-E1EDP01/E1EDP19 (INFORMATION FROM LINE 3)
    3-E1EDP01 (WRONG)
    4-E1EDP01 (WRONG)
    You can take a look of Mapping mode here:
    <a href="http://img505.imageshack.us/my.php?image=orders05mappingcj8.jpg">[IMG]http://img505.imageshack.us/img505/1536/orders05mappingcj8.th.jpg[/IMG]</a>
    We don't use BPM and wanna use a solution without it.
    Pls ask me for more information if necessary.
    Thanks a lot for your help; Regards

    Hi all,
    The mapping function includes an exists and a mapwithdefault.
    Now the creation of the segment is handled ok, but not as well its fields. Its unable to determine the write of the second E1EDP19 segment and it does:
    1- OK
    2- OK
    3- Writes E1EDP20 but not the 19
    4- OK
    Thanks for your interesting

  • Inbound IDoc ORDERS05

    HI,
    I have to design an Inbound IDoc for create an Sales Order from a plain file
    The Idoc I use is ORDERS05
    Can anybody help me with some easy example???
    I have some problem when I tried to match the fields in the segments of the Idoc and the fields in the transaction VA01....

    Hi,
    Please check this links for inbound IDOC ORDERS05 data mapping.
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordersin.xls
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordedi.xls
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordi1.doc
    If the above links do not work for you, then please try to use WE19 (IDoc testing tool) for data mapping and simulate the inbound sales order. You can also use this tool for testing purposes as well.
    Once done, then you can try to process your inbound IDoc file using standard program RSEINB00 to read the file and generate IDoc(s). Please ensure all your ALE and IDoc configuration are done such as distrribution model (BD64), partner profile (WE20), IDoc Port Processing (WE21) and so on.
    Hope this will help to start with.
    Regards,
    Ferry Lianto

  • ORDCHG - IDOC - ORDERS05  Issue IMP

    Hello,
    we have configured ORDERS- IDOC - ORDERS05 for ouput type ZSPO. User is going to trigger output manuallly in every case.
    If PO is changed still same output will trigger. Till this everything works fine.
    Now suppose one item is marked for deletion and output is triggered manually this item does not come in IDOC itself. And i want to send this with deletion indicator.
    How can I configure this? I tried adding ORDCHG - IDOC - ORDERS05  with same output type but still ORDERS IDoc gets triggred.
    Please suggets.......!!
    Thanks

    For orders change there is a different process code - ME11 for 'ORDCHG' and ME10 for 'ORDERS'.
    In case of changes make sure that in your partner profile setup (WE20) also the correct process code is assigned.
    Regards,
    Dominik Modrzejewski

  • Mapping IDOC ORDERS05

    Hello.
    I'm new on idoc mapping so I think that  this is not very difficult for you guys.
    I'm trying to map ORDERS05's E1EDKA1 and E1EDP01 to an output xml. The problem is that this structures can have more than 1 occurrences and the mapping seems to find only the first one.
    Example:
    If I create a condition like:
    IF E1EDKA1-PARVW is 'AG'.
      map.
    ENDIF.
    It works because AG is the first to come. WE doesn't work. It seems that it only finds the first occurrence of this structures.
    I found removecontexts function but I'm not getting how to use it. ...
    Any help?
    Thanks and regards,
    Valter Oliveira.

    Hi mark.
    Using your suggestion the problem was almost solved (the partner part is solved, thanks).
    I made:
    PARVW-removecontexts-Equals-LF-IFwithoutElse-PARTNER
    PARTN-removecontexts /
    And it works!! My partner has the LF context PARTN.
    Now, the material part. Is working only for one fieId (matnr). I want to map 2 fields (matnr and description). Matnr should be E1EDP019-IDTNR and description should be E1EDP019-KTEXT if E1EDP019-QUALF = '001'.
    If I make:
    Items = 1
    item = E1EDP01
    QUALF-removecontexts-Equals-001-IfwithoutElse-SplitByValue-MATERIAL
    IDTNR-removecontexts /
    DESCRIPTION = constant
    It works too ...
    But of I make:
    Items = 1
    item = E1EDP01
    QUALF-removecontexts-Equals-001-IfwithoutElse-SplitByValue-MATERIAL
    IDTNR-removecontexts /
    QUALF-removecontexts-Equals-001-IfwithoutElse-SplitByValue-DESCRIPTION
    KTEXT-removecontexts /
    It gives error on second item. Am I missing something?
    Regards,
    Valter Oliveira.

  • Inbound IDoc ORDERS05 : PO Rejection Indicator Issue

    Hello,
    We are receiving idoc ORDERS05 with message type ORDRSP from vendor(PO Confirmation) with 003 as ACTION in field E1EDP01-Action.
    but still rejection indicator for PO item is not getting Set.Hence we see PO item is not marked deleted.
    Could you please suggest what we are missing ?

    Hi,
    check the step by step config setting for purchase order..
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDERS
    Idoc type: ORDERS05
    Outbound process code for purchase order: me10
    The steps that are to be followed are:
    Check for the message type in the transaction in we81.
    check for the idoc type in the transaction we30.
    check we82 in which the link between message type and idoc type is there.
    create the port in we21.
    Configure the partner profiles in we20.
    Click on the + button outbound parameters and give the message type, receiver port,Idoc type.
    Now press on the message control tab, this is the place where u give the outbound process code. The message type in the message control is the output type that is used in the nace transaction.
    Create a distribution model in bd64.
    Go to purchase order transaction (me22n).and press the messages tab
    In the messages tab give the output type and the distribution medium as distribution-ale and then save it.
    Reward if helpful.
    Regards,
    Nagaraj

  • IDoc - ORDERS05 - Inbound - IHREZ_E

    What segment/field/qualif should I be using to populate the field VBKD-IHREZ_E at the header level?
    When creating a new sales order, I am able to populate VBKD-IHREZ_E at the item level by using E2EDP02/BELNR and qualifyier 044.
    However, i would like to populate the field at the header level but haven't been able to find the right segment/field
    Thank you for your help

    I'm not suer about you scenario, but we create sales orders with IDoc ORDERS05 (since SAP R3 46C).
    We create segment E1EDK02 with QUALF "069" and BELNR "XY". After IDoc processing we have the value "XY" in VBKD-IHREZ_E.

Maybe you are looking for

  • Windows Media Pla

    Hello, I am going to use WMP to transfer songs but there is a problem. For some reason when i play a cd on WMP it wont play well it does but no volume so when i transferd it to the micro no volume came out. Anybody now how to fix WMP so i can get vol

  • Import PO-MIRO

    Hi all when i do the MIRO (Custom Duty etc)for Import PO the system through the following message "Tax code V0 country IN does not exist in procedure TAXINN Message no. FF713" although we have already maintained tax code V0 in FTXP and the domestic C

  • Set the value of a non database field in forms

    hai friends , Have been struggling a lot with the problem now . Could anyone suggest me how to go about it. I want to set the value of a field in a form . I know the function set_value and set_value_as_(data type ) does the work . But then is there a

  • One apple id: how many devices?

    Hey, Can I install same game in different  iOS devices(iPhone 3GS, 4S, iTouch 4G, iPad2) using single Apple id? if yes then in how many devices?

  • Upgraded from ios4 to ios 6 and lost all apps i had downloaded and some photos?

    I upgraded an ipad2 from ios4 to ios 6 and once all was done, all my apps, purchased and free ones were gone - and some of my pictures.  Any idea? I do not dare doing another "resore backup" ...   Any help?