Additional E1EDKA1 segment in ORDERS05 Idoc

Hi,
In the IDoc type ORDERS05, the segment E1EDKA1 has data about partners.
Right now, when I genrate an IDOc for the same, it has 4 segments , each for Partner Type AG,RE, RG and WE.
I want to add a segment for 'Forwarding Agent' (Partner Type is 'SP').
I also gave the Message type in th Prtner Profile (WE20 ) of the forwarding agent. 
In which customizing I need to specify that the Forwarding agent should also be selected and a segment be created.
Please let me know. Thanks.

Hi Guys ,
      I do have the same kind of requirement where i need to populate two additional segments of E1EDP05 in the INVOIC01 idoc. I have two questions.
1. should i populate it in the inbound function module rite before posting or
in the outbound function module before its being created.
2. Which user exit should i use.
3.The data i need to add , should it be hard coded, because ive already been given the doc saying that i should populate two segments of E1EDP05 in IDOC with currency types 12 and 31.
Guys Its a little urgent.
Thanks,
Venkat

Similar Messages

  • EDIDP02 Segment in ORDERS05 Idoc

    We are in the process of testing outbound and inbound idocs of PO order create and order confirmation.
    While testing manually in WE19, i can sucessfully post the idocs.
    But, from the sap notes and the forums I have gone thru, I have observed that inbound ORDERSP idoc errors out unless it has EDIDP02 segment to it.
    Does Outbound idoc also need to have this segment to it? If so how can i get it and send it to vendor ?
    I do not see in standard config this idoc segment getting populated. Is this segment only populated when vendor sends the confirmation to us , if so , how..
    Please let me know
    Points will be awarded
    Thanks
    AH

    Hi Guys ,
          I do have the same kind of requirement where i need to populate two additional segments of E1EDP05 in the INVOIC01 idoc. I have two questions.
    1. should i populate it in the inbound function module rite before posting or
    in the outbound function module before its being created.
    2. Which user exit should i use.
    3.The data i need to add , should it be hard coded, because ive already been given the doc saying that i should populate two segments of E1EDP05 in IDOC with currency types 12 and 31.
    Guys Its a little urgent.
    Thanks,
    Venkat

  • Segment management in ORDERS05 IDOC.

    Hi there.
    I have two questions, one is very focused on text management in ORDERS05, the other one is more generally speaking.
    1 - Text management in ORDERS05 IDoc:
    I have texts in my purchase order that I fill in, and then generate my IDoc. When looking at IDoc detail through WE05 or WE02, my texts are not visible neither in E1EDKT1 nor E1EDPT1 segments. Basically, those segments are not even created in my IDoc. Why? Anything to do in PO and/or ALE customizing?
    2 - More general:
    I need to have, in my E1EDS01 segment, the total quantity I order in my PO. So, I need a segment with qualifier '004' in SUMID, then my quantities. Currently, I only have SUMID='002' and my total value amount. How can I define (or it is defined by the system) the type of information I have in my segments, or segments themselves?
    Please tell me if not clear at all.
    Thanks for your answers.
    Chris.

    Thanks Dani.
    I checked the T166A table and found that the following entries are missing for my cases: EKPO and EKKO for my ZNB PO type.
    Shall I just put an entry for those two things in that table and this will allow me to get my texts in my ORDERS05 IDoc?
    For point 2, as I am not an ABAP developper, I do not understand what to do. I can deal with customizing, but not with ABAP programming on that subject.
    Thanks anyway at least for the first part of the answer.

  • How can i pass the  segments and fields to the ORDERS05 IDOC

    Hi All,
    I want to use ORDERS05 Idoc type for creating sales order. How can I pass the order type, sales org., distr. channel, division, sold-to-party, material and quantity to the Idoc?
    please help me out in this.
    thanks in advance
    jasmine

    Hi,
    Goto WE19 TC and there select your IDOC and there u can pass the data.
    Regards,
    Phani

  • Orders05 IDoc Create/Change.

    Dear All,
    I am able to create the Outbound IDocs for create or change of purchase order . But I want to know
    how to create orders05 IDoc with only changed items not all the items.
    Example :  If I change line item 3 for any order ,then IDoc should have only one segment E1EDP01 for that item
    Thanks in Advance.

    Curtis,
    If I understand you're requirement correctly, you want to "Send all changed items on the ORDCHG. In addition to these, you want the item long text sent for all the items that haven't been changed".
    If this is true, I would do it in one of the following ways:
    1. Send all the data (like ORDERS) on an ORDCHG IDOC along with long texts and have the vendor compare each item and see which ones have changed. --> I know this is not a preferred option for all the clients but I have done this at one of the client who had the muscle to have his vendors comply to his needs.
    2. Change exit: EXIT_SAPLEINM_001. Pick up all the materials listed in UEKPO, go back to EKPO and get the remaining for that PO and populate long text field which would go into E1EDPT1/T2 segment and update those relevant fields in UEKPO and save it. The next form would automatically pick up these and fill up the IDOC. This way, you'll see E1EDP01 (and the segments beneath it) for all the materials but you just populate E1EDPT1/T2 and rest are blank. I might have oversimplified it because I didn't go in and check how the program flow would work but I'm positive this is a good way to start. The reason I would like to change EXIT_SAPLEINM_001 is that this is the place where the actual IDOC filling didn't start yet and all you have to do is feed into UEKPO so that the next perform will take care of the rest.
    Let me know if this works out for you. If you went through any alternative way then do educate me back
    Just a thought: You're question is different to the original thread here (although related). We're hijacking this thread. So I think it'll be better if you put it in a new one.

  • ORDERS05 IDoc create CR Pricing Credit Quantity issue

    Hello All,
    I'm stuck, I can't figure out how to put the quantity on a Pricing Credit (Sales Document Type CR) when creating it from an ORDERS05 idoc using inbound process code ORDE.  The entire order is created properly, but it does not have a Quantity, therefore it is incomplete and well, you know, quantity is kinda important for a pricing credit. I've tried all fields in the E1EDP01 segment of the idoc, none of them seem to work.  You see, a CR pricing credit doesn't have schedule lines so populating the menge or the bmng2 field of the idoc has no effect.  I've also tried moving the quantity from the bmng2 segment to the zmeng field using the VEDA0001 user exit.  See in VBAP when creating a pricing credit manually, the zmeng field is where the quantity shows up so I figured if I populated the DXVBAP-ZMENG field in the exit (I've tried zxvedu03 and zxvedu09).  I put in very simple code ...
    IF contrl-mescod = '180' AND segment-segnam = 'E1EDP01'.
      lt_vbap-zmeng = segment-sdata+29(15).
    ENDIF.
    ...but I wouldn't be writing here if that had worked.
    Has anyone created a pricing credit from an IDoc using IDOC_INPUT_ORDERS?
    Thanks for any clues or solutions,
    Greg

    If someone comes up with a better solution let me know, but I've decided to do the following:
    Place an invisible field on the sales order additional data b tab and make it a direct reference to VBAP-ZMENG.  Then use user-exit zxvedu04 to activate that screen and populate my field (which is actually the main vbap-zmeng field).  I couldn't figure out how else to do this and I know this seems hokey, but it does work and I've tired of beating my head against this.
      CASE dlast_dynpro.
        WHEN '5003'.
          lt_vbap = dxvbap.
          READ TABLE gt_processes_lines WITH KEY posnr = lt_vbap-posnr.
          IF sy-subrc <> 0.
            PERFORM dynpro_setzen(saplveda) USING 'BDC_OKCODE' panel-pzku.
            PERFORM dynpro_new(saplveda) USING programm_auftrag
                                               '4003'  "DYNPRO-PZKU
                                      CHANGING dlast_dynpro.
            lv_zmeng = lt_vbap-zmeng.
            PERFORM dynpro_setzen(saplveda) USING 'VBAP-ZMENG'
                                                  lv_zmeng.
            gt_processes_lines-posnr = lt_vbap-posnr.
            APPEND gt_processes_lines.
            CLEAR: gt_processes_lines, lv_date.
            PERFORM dynpro_setzen(saplveda) USING 'BDC_OKCODE' 'BACK'.
          ENDIF.
      ENDCASE.

  • ORDERS05  idoc ship-to party determination

    Hi there
    I am creating sales orders using ORDERS05 idoc type for EDI documents from customers. Customer files are translated to idoc format by a third party. The idoc input file contains an E1EDKA1 segment for parvw = WE but third party and customer do not know our ship-to number. I need to determine the correct ship-to party from e.g. GLN number supplied in input file. I would appreciate some ideas how to do this.

    Liz,
    We currently use a Custom solution, reading the Customer's internal Store code from E1EDKA1-KNREF, and matching it up with the SAP Internal Customer number via a Z Table. Our Customers do not currently use GLN Codes. From what I can tell, although SAP have enabled the GLN fields in the Customer & Vendor Masters (see table below), they are not utilised in any Inbound ORDERS iDoc processing. The GLN (or ILN) does have a placeholder in the ORDERS05 iDoc - in E1EDKA3, child segment of E1EDKA1 - see transaction WE60 for documentation.
    GLN Fields (from KNA1)
    BBBNR     NUMC     7     0     International location number  (part 1)
    BBSNR     NUMC     5     0     International location number (Part 2)
    BUBKZ     NUMC     1     0     Check digit for the international location number
    I believe it would be quite easy to put code into Include ZXVEDU03 to lookup the GLN Code from KNA1 and return KUNNR.
    Good luck,
    Paul.

  • Help on ORDERS05 IDoc mapping..

    Hi Experts,
       Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.
      20  Quantity             VBAP  KWMENG  Num(6)
      21  Unit of Measure  VBAP  VRKME      Char(3)
      22  Gross Price       KONV  KBETR       Curr(11.2)
      23  Discount           KONV  KBETR       Curr(11.2)
      24  Surcharge         KONV  KBETR       Curr(11.2)
      25  Net Value         KONV  KBETR       Curr(11.2)
      26  Cost Object 
      31 Payment Terms  VBKD  ZTERM      Char                E1EDK01 -ZTERM
      32 Footer Msg1      STXI     n/a             Char
      33 Footer Msg2      STXI     n/a             Char
      34 Footer Msg3      STXI     n/a             Char
      35 Total                 KONV  KBETR       Curr                E1EDS01 -SUMID (004)
           I thought for
               Quantity               :  E1EDP01-MENGE
               Unit of Measure    :  E1EDP01-MENEE
               Gross Price          :  E1EDP01-PREIS
               But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.
         so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.
         Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.
         Please reply me.
        Thanks in advance,
        karthik.

    In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..
    You will get good idea..
    Reward Points if it is helpful
    Thanks
    Seshu

  • Problem filling segment E1BPADR1 in idoc Salesorder_createfromdat201

    Ladies and Gentlemen,
    I have a problem with populating segment E1BPADR1 in idoc SALESORDER_CREATEFROMDAT201.  My client is already using the idoc to successfully post Inbound Sales orders.  Now, they wish to add additional address data to the Sales Order Partner Address screen.  The standard partner segment (E1BPPARNR) permits them to fill some data which they are presently filling (i.e. Name 1, Street 1, Country, etc), but they have a requirement to fill additional fields Street2, Street3, etc. 
    When I add fill segment E1BPADR1, the data in segment E1BPPARNR is removed from the created Sales Order so that the data from segment E1BPPARNR is deleted, and no new data from E1BPADR1 is updated. 
    Has anyone experienced similar problems, and any ideas on how to get around it?  Points rewarded for useable suggestions.
    Regards,
    Steve

    Done

  • E1EDKA1 WE missing in IDOC for purchase orders

    Hi,
    We have an issue where our users create a PO by following the steps below.
    1. In ME21N screen, Pull up document overview and from there display the materials listed in each contract.
    2. Drag and drop the materials into "shopping cart" , enter qty. and change the delivery dates and save the PO.
    An idoc is created upon saving the PO.
    The problem is that the idoc generated is missing E1EDKA1 WE segment.
    We checked the vendor master (XK03) and the contract (ME33k) but they have the right delivery address.
    Can some body help me understand where in SAP data from the E1EDKA1 WE segment is populated in the first place and what could be the reason for missing E1EDKA1 WE segment?
    Thanks.

    Dear Kinapo,
    If the delivery address for all items is the same, the segment E1EDPA1 with
    qualifier WE will be not populated. Instead of generating E1EDPA1 the
    system will create one E1EDKA1 segment with qualifier WE.
    Regards,
    ian Wong

  • OrderCreate(CIDX) to ORDERS05(IDOC) Mapping

    Guys,
    I want to map the OrderCreate(CIDX) to ORDERS05(IDOC),
    I am facing problem with map the SpecialInstructions to  E1EDKT1- E1EDKT2-TDLINE, Since SpecialInstructions are multiple lines. The E1EDKT2-TDLINE is taking first line onely. The E1EDKT2 segment was declared 0:9999999999 where as TDLINE is declared as 0:1
    Can any body help on this how to map SpecialIndtructions multiple lines to E1EDKT2-TDLINE.
    Thanks
    M

    Hi,
    just check the queues TDLINE should be sepatered by one context and this should work
    >>> i think it is declared as 0:1.
    of course but it's one in each segment so no problem with that
    it's a very easy example so just check the queues and I'm sure you'll do it
    Regards,
    michal

  • How can I split an Orders05 iDoc into multiple iDocs?

    Hello,
    Can one of you experts please tell me how I can split an ORDERS05 iDoc into multiple iDocs based upon Delivery addresses? 
    For example, if the iDoc contains 3 different Delivery Addresses then I need to split it into 3 iDocs.
    It has been suggested to me that I can Create a custom function module. In this custom fm split the idoc into 3 based on the delivery address and create it using the FM MASTER_IDOC_DISTRIBUTE.
    Problem is I don't know how to do this.  Any help is greatly appreciated.  Thanks.
    Dan

    Hi Dan Avis
    Write a Custom  Z program .
    1 get order05 idoc number....
    2 get the segment details...(Based on you condition...)
    3 In a loop  send the data to the FM MASTER_IDOC_DISTRIBUTE  (Based on you condition...)
    4 IDOC will generated,,,every loop and
    5 Change the status of original idoc .
    or
    Create Function module and use the FM as process code to create 3 idocs...and processs...new generated idoc and block original idocs...
    Call me if you have questions  @ 302 290 5677
    Thanks
    Ramesh

  • Assignment number in SO Header maps to which segment of ORDERS05?

    Hi All,
    Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab?
    I need to specify the assignment number while creating a new order through IDoc.
    Thanks.
    Regards,
    Riyaz

    Hi,
    Use transaction we60 to find the relevant documentation for your idoc type.
    regards,
    Jakub

  • How do I save an email address via the ORDERS05 IDoc?

    I am creating sales orders via the ORDERS05 Idoc.  I am using the E1EDKA1 structure to add the "WE" Ship-To address to the order.  There is no field in E1EDKA1 named SMTP_ADDR.  I could put it in the Telebox (TELBX) field, which we're not using, but ultimately would like the email address to show up correctly in the ADR6 table in SAP.

    Thank you, that helped me a lot.  In my case, we are using the AFS version of SAP 46C.  The fm  J_4A_IDOC_INPUT_ORDERS  that we use is very similar to IDOC_INPUT_ORDERS.   Instead of CUSTOMER-FUNCTION '004',  I used CUSTOMER-FUNCTION '010'.   Since the telebox field in E1EDKA1 may be too short for an email address, I used the 70 char ILNNR field in E1EDKA1.   I used FM ADDR_SAVE_INTERN per your suggestion and it worked great!  If you'd like to see my code, send me an email: [email protected]

  • Adding several standard segments in Outbound IDoc

    Hi All,
    I have a requirement in Orders05 Idoc type (Extension created). I want to pass Segment E1EDP19 three times based on the value of qualifier (3 qualifiers) in  the customer exit.
    As per my understanding, Loop at idoc_data is used when updating a Segment field with some value. But in this case I have to pass/add the same segment to internal table.
    Please suggest the approach for this.
    Thanks in advance!
    Regards
    Tanu

    Hi Tanu,
    There are several ways to do this, below mentioned are a couple of them,
    1) In the mentioned user exit, you will have all the Segments filled in. Your requirement if i understand correctly is to add E1EDP19 segments under E1EDP01 segments. So all that you have to do is build the logic to insert(not append as append would put E1EDP19 at the very which is not correct as per the structure/syntax of ORDERS05) E1EDP19 under E1EDP01 segments accordingly.
    2) The other way to accomplish(this should be relatively easy i guess) this would be to append the E1EDP19 segments into INT_EDIDD with corresponding Segment Num, Parent Segnam and parent Segnum accordingly and the use the FM SPCM_SORT_IDOC_STRUCTURE to re-structure the IDOC as per the structure of ORDERS05.
    Refer the below thread where i have provided my inputs for a similar requirment.
    Sorting Idoc Segments
    Regards,
    Chen
    Edited by: Chen K V on Jun 23, 2011 11:40 AM

Maybe you are looking for

  • My external hard drive has suddenly stopped working and the light's not flashing

    Hello everyone. I have an external hard drive that I've been using for the past year. It's a Porsche Design. No on/off button, just a light that flashes white when it's plugged in. The other day I found that the lead had been bent and the hard drive

  • Dreamweaver CS6 - Popups work in Chrome but not Explorer

    I am working with the "Open Browser Window" attribute. The popups open *almost* perfectly in Google Chrome (separate window, correct size, scrollbars, etc.), but when I click the same link in Internet Explorer it goes a bit haywire opening a couple o

  • Runtime Error while extracting data by datasource based on function module

    Hi all, I am facing an issue while extracting data from a customised data source based on a new function module. The datasource is extracting data successfully for only 15000 records but after that the runtime error is displayed. I am not able to ext

  • Adjustments when using RAW and Jpeg

    Up to recently, I've imported RAWs and Jpegs separately but have just started using the RAW and Jpeg import function.  Irrespective of which I've set as a master, I find that if I make adjustments to one, when I switch to the other, the same adjustme

  • Trouble printing directly from LR5 to Canon Pro1

    Hi when I try printing directly from LR5 to my Canon Pro1 printer using 4x6 borderless, I get an undesirable border on 2 of the sides. How do I fix this? Thank You.