IDOC segment for VBKD-BSTKD_E

Hi,
I am using ORDERS04 as basic type for order creation from iDOC.
For one of my requirment I need the iDOC segment for VBKD-BSTKD_E field. The field is in purchase order data at header > Ship to party view > Purchase order no.
Thanks
Sanjay

Hi,
you have to fill the segment E1EDK02 with:
E1EDK02-QUALF (qualifier) = '044' (purchase order number consignee)
E1EDK02-BELNR = Purchase Order Number
E1EDk02-DATUM = Purchase Order Date
Kind Regards.
Andrea

Similar Messages

  • Idoc segment for shpmnt notification for idoc type shpmnt02

    Hi gurus,
               I have to find the idoc segment for shipment notification,idoc  type which we are going to use is shpmnt02 or shpmnt01,Can any one of you please tell me the idoc segments for this idoc type with fields and table name?.Thanks in  advance.

    Hi Nagarathinam
    You can use transaction WE60 for documentation on IDOCs
    Best regards,
    Chris

  • IDOC Segments for an External FI system

    Hi,
    Can someone please tell me the IDoc segments (need structure) that are used to bring data into SAP from an external FI system.
    Thanks
    Salim

    Hi,
    As for as i know EANs  are not relevant to unit conversion. This is a number which uniquely identifies a material for a particular UoM.
    And regarding the numerator and denominator, check whether any logic is added in the corresponding segment which overwrites the value

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • How to fill data in to extended idoc segments  for outbound program

    Hi all,
    I am new to this Community In the extension of  Standard idoc INVOIC02  with some custom segments like zemail, zfax,,,,how to fill the data into both standard segments and custom segments for outbound idoc using exit EXIT_SAPLVEDF_002 of standard function module IDOC_OUTPUT_INVOIC...
    i need some sample code
    THANKS
    PAVAN K

    Hi all,
    I am new to this Community In the extension of  Standard idoc INVOIC02  with some custom segments like zemail, zfax,,,,how to fill the data into both standard segments and custom segments for outbound idoc using exit EXIT_SAPLVEDF_002 of standard function module IDOC_OUTPUT_INVOIC...
    i need some sample code
    THANKS
    PAVAN K

  • IDOC segments for Orders04

    Hello Friends,
    I am creating IDOC for purchase order and the message class is orders01 and orders04
    Everything looks good for orders01. But for the same PO for message type orders04 some of the segments do not appear.
    The segmants containing the text for the item does not appear.
    E1EDKT1 and E1EDKT2.
    Whats the reason for this.
    Any Suggestions,
    Thanks in Advance.

    Hi,
    Both IDOCs orders01 and orders04 have segments E1EDKT1 and E1EDKT2. In fact orders04 has some more segments as it is higher version of idoc than orders01.
    Can you try one more thing? Create a new PO with text and first time create a IDOC ORDERS04 and then change the same PO and create a IDOC of type ORDERS01. Let me know if still you do not get the text on first IDOC ( orders04 ) and get it on second IDOC ( orders01). As far as i know, there is not difference between these two IDOCs. ( when you say message class orders01 and orders04, i think you mean IDOC orders01 and orders04 ).
    If still you have a issue then debug the code. The FM is <b>IDOC_OUTPUT_ORDERS</b>. These segments are filled in   <b>PERFORM FUELLEN_IDOC_INTTAB</b>. ( include <b>LEINMF11</b> ). Here search for 'E1EDKT1, you will get it on around line <b>647 (    perform fill_e1edkt1 ).</b>
    If you look at the code above,  you will see that the routine for populating  E1EDKT1 and E1EDKT2 only triggers if couple IF conditions meet. Here it read data from <b>internal table XT166k</b> ( database <b>table T166K</b> ) and there some other conditions too.
    Debug you code here and see why text is not getting populated. You will get your answer.
    Let me know if you have any question.
    Regards,
    RS

  • Idoc segments for additional UOM in material master

    HI, I have three questions
    a) we have the follwoing data defined in material master (additonal data)
    X UOM Y UOM EAN
    1 LITRES 1 LITRES NIL
    1 IGB (inner packg) 20 LITRES 345922222222
    1 GBE (packg) 20 LITRES 345922222222
    I need to know what is EAN no and in our case the EAN no is same for both inner packg and pack. . what does this mean. Sometimes we also see the EAN no is different. why... what it signifies ?
    2) We have outbound idoc trigerred from delivery. message type is WHSOD. in one of the segments (E1EDL24), the system shows the delivery qty and material no. This segment also shows the EAN NO AS 345922222222. In segment E1EDL26, the filed UMVKZ shows as 1 which is ok (numerator as shown above) but the numerator field shows 1 only (it does not show 20 litres,, i think the field name is UB something ).
    I need to know why the system is not showing 20 litres in numerator in the filed for segment E1EDL26.
    3) Had we have two different EAN in material master as above, did our standard message type would have shown the conversion factors (numerator and denomi ) as per the EAN nos.....If yes, then in which segments ,the WHSORD shows the Conversion factors based on different EAN nos in material master-UOM tab (for instance if 1 GBE (packg) = 30 LITRES and EAN IS 345911111111.... I think there will be as many segments in idoc as there are entries in Additonal data-UOM tab )
    rgds
    pamela

    Hi,
    As for as i know EANs  are not relevant to unit conversion. This is a number which uniquely identifies a material for a particular UoM.
    And regarding the numerator and denominator, check whether any logic is added in the corresponding segment which overwrites the value

  • Procedure to find mandatory field in an IDoc Segment

    Hi all,
    Please guide me to find mandatory field in an IDoc Segment.
    Ex: I went to MATMAS05 IDoc type. I know that E1MARAM and E1MAKTM are the mandatory segments for MATMAS05 IDoc Type.
    But, I would like to know what are the mandatory fields for E1MARAM or E1MAKTM segment.
    Please guide me to find mandatory field in an IDoc Segment (for the above example).
    Thanks,
    Sudarsan

    hi,  here I have a good suggestion to solve your problem.
    Assuem you are research which field is mandatory in your mastr data inbound. Let's suppost it's a material.  You already known how to create it in online t-code, which field should be filled, which view should be inputed.
    Then, configure you material related IDOC for outbound, make sure that system will send out a material IDOC to other partner system (it can be a dummy system)when you create it.
    Then check the sent IDOC, you can find out how SAP system fill the IDOC according to your input.
    You can get to know how to fill your IDOC in this way.

  • Delete idoc segments

    Hi all,
    I need to delete the idoc segments for some condition based on the table KNVV value. It is basic type is DEBMAS05.
    I have used a wrapper FM ZIDOC_INPUT_DEBITOR as i could not find a user exit in IDOC_INPUT_DEBITOR.
    In test run we19, in debuggin i see the incorrect records/segments are getting deleted from IDOC_DATA which is the way i have coded. However when i see the generated idoc number i can see all the segments and the incorrect segments are not getting deleted. Let me know how to delete idoc segments through code.
    Note : I have tried in BD59 to reduce the idoc segment, but the condition for our requirnment cannot be possible in BD59.
      LOOP AT idoc_data.
        CASE idoc_data-segnam.
          WHEN 'E1KNA1M'.
            gwa_deb_hdr = idoc_data-sdata.
          WHEN 'E1KNVVM'.
            gwa_deb_sale = idoc_data-sdata.
          WHEN 'E1KNMB1'.
            gwa_deb_comp = idoc_data-sdata.
           APPEND gwa_aex_item TO gt_aex_item.
        ENDCASE.
       IF gwa_deb_hdr+0(3) = '004'.
          IF sy-tabix > 1.
        SELECT SINGLE kunnr vkorg vtweg INTO (lv_kunnr, lv_vkorg, lv_vtweg)
                FROM knvv
                WHERE kunnr = gwa_deb_hdr+3(10)
                   AND vkorg = gwa_deb_sale+3(4)
                   AND vtweg = gwa_deb_sale+6(2).
            IF sy-subrc NE 0.
              DELETE idoc_data INDEX sy-tabix.
            ENDIF.
          ENDIF.
       ENDIF.
      ENDLOOP
    Thanks,
    Senthil

    Just want to know.
    If the standard idoc segmets cannot be deleted through code or this doesnot work as i ran in test run we19?

  • ?segment n field for VBKD-INCO1 from ORDERS05

    Hi,
    I was trying to find the corresponding segment and field for VBKD-INCO1 [Incoterms (part 1)] from ORDERS05 idoc.
    Please help me in this regard.
    Message was edited by:
            Ramesh Kumar

    Hello,
    Check segment
    E1EDK17 ->qualf ->001 for incoterms part 1(header lever)
    E1EDP17-> Qualf->001(item level)
    Thanks,

  • Populating the custom segments for the Basic type attached to HRMD_A (IDOC)

    Hi,
    I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI.
    Here are the steps I followed.
    Step 1 :(we31)
    We created new segment Z1IT023 , containing all the fields from infotype 0023 along with the custom fields added.
    Step 2 :(we30)
    We created an extension of IDOC type HRMD_A07 by name HRMD_EX to include this segement.
    Step 3 :
    We added an entry in table EDIMSG against message type HRMD_A , with base type : HRMD_A07 , extension : HRMD_EX , version : 700
    Step4 :(we20)
    Now , we made changes to partner profile by adding entry for message type HRMD_A with base IDOC type as HRMD_A07 and extension as HRMD_EX
    Step5:
    We changed the entry in table T777D and specified the IDOC segment as Z1IT023.
    Step6.
    We then tried to execute the report RHALEINI to generate the IDOC. The IDOC got created, but it didn't have the data for the segment Z1IT023.
    In fact, there is a different solution to this... by adding the custom segment(containing nly the new infotype fields) as a child of the original segment E1P0023 and then writting code in the user-exit to populate the segment, but our intension is to have a single segment with all the infotype 0023 data. Besides, I believe in HR, making an entry in T777D should free us from writing any code for populating the IDOC segments.
    Can anybody please suggest me, where am I going wrong. How can the new segments be populated automatically.
    Thanks in advance.
    Sujit.
    Responses will be suitably rewarded.

    Hi,
    Did u get any exit to populate the custom segment?
    Thanks,
    San

  • Need IDOC and segment for mappping the sales order number

    Hi,
    we need the IDOC name and segment for mapping the sales order number created by oracle in sap for transaction VA01.
    Whether the sales order number created by Oracle can be used to create the sales order in sap using the idoc ACC_SALES_ORDER01?
    . If we can do,then what is the segment and field for the sales order number in the idoc ?
    Please reply asap it's very urgent
    Thanks
    Edited by: suresh kumar nandhagopal on May 16, 2008 12:07 PM

    Hi,
    IDOC for sales order is ORDERS05. Segment E1EDKA1, for field go to SE11 and enter E1EDKA1 to find field for sales order.
    Cheers.
    ...Reward if useful.

  • Fill IDOC segment, E1IDBW1. For PEXR2002 Basic Type

    Hello Team.
    We send the IDOC for the Basic Type PEXR2002, Message Type PAYEXT.
    This IDOC doesn't fill the Segment E1IDBW1 (IDoc header - special instructions (INP) )
    I'm review some notes(1164524) and said to fill this segment it's neccesarie config the IHC.
    But doesn't have this functionality.
    It's possible fill the segment E1IDBW1 in a user exit or any other enhacement at creation idoc moment?
    My idea is used the FM
      CALL FUNCTION 'GET_SEGMENT_POS_FOR_INSERT'
        EXPORTING
          I_BASIS_TYPE            = ch_edidc-idoctp
          I_EXT_TYPE              = ch_edidc-cimtyp
          I_SEGMENT_TYPE          = 'E1IDBW1'
        IMPORTING
          E_INDEX                 = li_tabix
        TABLES
          IT_EDIDD                = t_edidd
        EXCEPTIONS
          BASIS_TYPE_NOT_FOUND    = 1
          EXTENSION_NOT_FOUND     = 2
          EXTENSION_ERROR         = 3
          INVALID_IDOC_DEFINITION = 4
          IDOC_ERROR              = 5
          INVALID_SEGMENT_TYPE    = 6
          INVALID_START_INDEX     = 7
          NO_MORE_POSITION        = 8
          TOO_MANY_SEGMENTS       = 9
          OTHERS                  = 10.
    To Fill 2 constants in this segment.
    Do you have any other idea?
    Thanks
    Edited by: David Lezama Gonzalez on Sep 1, 2011 2:51 PM

    Hi,
    Basically the segment E1IDBW1 will always be filled via user exit.
    If you work with the IHC (In-House-Cash) application you have to fill
    the E1IDBW1 segment as described in note 626577.
    If you don't work in an IHC environment the following conditions must
    be fulfilled:
    1. The payment program has to fill certain fields (e. g. REGUH-DTAWS,
    REGUH-DTWS1 - REGUH-DTWS4).
    2. If this is fulfilled the payment data (REGUH, REGUP tables) will
    be filled. The instruction keys will be moved to IDOC segment
    E1IDKU3.
    3. In user exit EXIT_SAPLIEDP_002 you can take over the instruction
    keys from segment E1IDKU3 into E1IDBW1.
    You may also read note 496663, this note explains about user exit
    EXIT_SAPLIEDP_002 to populate this field in the idoc.
    Also, you can check the note:
    580321 - RFFOEDI1: BTE process 00002441 (Change IDoc)
    REgards,
    Cristiano

  • Idoc qualifier for field ihrez segment e1edp02

    Hi all,
    I am using field ihrez of segment e1edp02 twice for posting the reference ( ship to ref and sold to ref)...I could find the idoc qualifier for ship to reference is 44 ..what can i use for sold to reference.. can somebody help me with this please.
    Thanks,
    Kiran..

    Hi ,
    I am also Facing the same problem i am able to pass the reference value for ship to party using Qualifier 044..but not able to pass the value for sold to party..
    please help me if u got the solution in your case..
    Regards
    -Arun

  • Populating value in idoc segment E1EDP02 for INVOIC01- incoming invoice

    Hi Friends,
    I am working to get the incoming freight invoice posted to MIRO, using
    IDOC : INVOIC01
    message type: INVOIC
    process code: INVL
    function module : IDOC_INPUT_INVOIC_MRM
    Vendor does not send the PO number only send the bill of lading number(shipment number). So i have customised the IDOC with one segment for getting bill of lading number. My requirement is get bill of lading number and then get PO no and populate into segment E1EDP02. I am not able to populate this field and hence each time the IDOC fails with message :
    Required field BELNR(001) is missing in segment E1EDP02
    Required field ZEILE(001) is missing in segment E1EDP02
    Please tell me how to get this field populated and get the issue resolved. I have been trying to figure out for couple of days but no success OR My approach is incorrect for posting invoice to MIRO with populating field segment.
    Please suggest.
    Thanks
    Deepak

    Thanks everyone for getting the issue resolved. I have implemented implicit enhanencement and before the function module strarts procesing, I loop over segments and fill up the PO number to E1EDP02 for bill of lading number. There was also a case of error handling for IDOC. That is to check if the amount sent by vendor is correct as compared to the amount on the shipment cost docuemnt, if they dont match then I need to send an email to the business informing them for bill of lading number and amount. There is also another check to find out if the bill of lading number has already been invoiced, if invoiced I again need to inform the business user.
    So keep all the requirements in mind I went with Implicit enhancement, thus populating the required segment and if the validations fail for amount or invoice document already generated, then I send the mail to business with bill of lading number and reason of failure. In such case IDOC is not executed and after sending the mail, the logic exits out of function module.
    I

Maybe you are looking for

  • Passing multiple character values from parameter form to PL/SQL

    Hi, I am passing multiple character values from parametr form into the report query and a PL/SQL procedure. It works fine with the query, when I use &variable. But, it doesn't compile in PL/SQL, so I just used the :variable, but not getting any recor

  • Can't move photos into albums

    Hi there, ever since I upgraded to iPhoto '09 I can't seem to move photos into albums that I am editing. When viewing the photos in "normal" list mode there is no problem to move them into an album. I grab the photo, drag it onto the album and a gree

  • Waveform chart update problem

    Hi! I have a problem with the waveform chart not updating the data incoming to it. How can i refresh it so it updates it every time it enters the loop? The data ingoing to the array and out of the array is checked to be correct and valid. Why doesnt

  • Preview Error: "no endpoint listening at net.pipe ... incorrect address or SOAP action ... could not be found on your local machine"

    Hi I am developing SSRS reports, suddenly now I am getting this error when I try to preview a report in the VS 2010 shell: "This is a designer preview error, "There was no endpoint listening at  net.pipe://localhost/PreviewProcessngServcie11108/Repor

  • I can´t update to ios 5.0.1!

    itunes und ipad don´t finish the procedure (itunes 10.5.1., imac 2008, ipad 1 with ios 4.3.1, ios 5.0.1 update) what´s wrong?