Multiple Country of Origin for single outbound delivery line item

We are attempting to find an a solution to record multiple countries of origin for a single SAP delivery line.
It seems standard SAP delivery only contains the ability to store a single "HERKL" value linked to the delivery line. (It creates a customs master in EIPO and links this to the delivery header)
We need a solution to be able to record multiple of these values without the use of Batch Management.
The example below demonstrates our requirement:
Scenario: Delivery 1001
- 1 line consisting of 5 eaches of a single part
- When picking we find:
- 3 eaches which where from Belgium
-2 eaches from Germany
without splitting the line somehow we are not able to add mutliple values
Note: We are integrating with an external WMS system and interfacing in these documents using IDOC processing and therefore it would be very beneficial if someone could provide both functional steps (application side) and technical steps (function modules, classes, etc) which can be used
Thank you for your help in advance

Hi,
Yes, it will work if items are lot controlled.
(you can use the same logic if the item serial controlled as well...using Serial Number DFF)
However, if the item is a plain item, there is no direct way of storing and retrieving the attributes ...such as country of origin, supplier name, etc ...
Thanks,
Hrishi

Similar Messages

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • BAPI to Update Country of Origin for Delivery Item

    Hello All,
    I have a requirement as follows.
    For an Outbound delivery item (VL02N), I need to update the 'Country of Origin' (EIPO-HERKL). This will come in 'Origin/Destination/Business' tab under 'Foreign Trade /Customs' tab for the delivery item. Could anyone please tell me if there is
    a BAPI to do the same.
    I think this country of origin is not the country of origin for the material, because even if the material is having a value for country of origin in material master, the same is not reflecting in the delivery.
    Thanks and Regards
    Indrajit

    Hi,
    Try using the FM ''EXPIMP_POSTING".
    Refer to the sample code.
    PARAMETERS p_deliv TYPE vbeln.
    DATA: lt_xeikp TYPE STANDARD TABLE OF eikpvb,
          lt_xeipo TYPE STANDARD TABLE OF eipovb,
          lx_xeikp TYPE eikpvb,
          lx_xeipo TYPE eipovb,
          lv_exnum TYPE exnum.
    SELECT SINGLE exnum
           FROM likp
           INTO lv_exnum
           WHERE vbeln = p_deliv.
    lx_xeikp-exnum = lv_exnum.
    APPEND lx_xeikp TO lt_xeikp.
    lx_xeipo-exnum = lv_exnum.
    lx_xeipo-expos = '000010'.
    lx_xeipo-herkl = 'US'.
    lx_xeipo-updkz = 'U'.
    APPEND lx_xeipo TO lt_xeipo.
    CALL FUNCTION 'EXPIMP_POSTING' IN UPDATE TASK
      TABLES
        fxeikp = lt_xeikp
        fxeipo = lt_xeipo.
    COMMIT WORK.
    Thanks,
    Indrajit

  • Multiple Goods Issue documents for single delivery?

    Hi
    I am getting multiple goods issue documents for single delivery.
    In a order there are 3 line items, and one delivery is created and 3 goods issue documents.
    What is the probable reasons for this.
    The requirement is for one order with n items there should be one delivery document and one goods issue document.
    Inputs requested.

    Since you havent put the issue in details, I have listed my guessses.
    This may be happening due to mainly these three reasons. Please answer them and get back to me.
    1) The three Good issue may be happeneing due to split delivery active for the item. If yes then correction should be in the Material master.
    2) the availability check scheduled is set in that way. If yes please configure the availability and transfer of requirement.
    3) Scheduling of the goods throught that particular shipping point. If yes then please conficgure the shipping tab in Logistic Execution.
    Please let me know if the problem persists and award points if solved.
    Thanks
    Adi

  • Multiple Country of Origin at a Material Master level- Foreign Trade import

    Hi Gurus,
    We have a requirement to store Multiple Country of origin at a Material Master level . One Part/Material is sourced from different vendors and they are manufactured in different countries . Please note that we are not using Batch Management . Is there any workaround to have this scenario without using standard Batch Management .
    Thanks,
    Prabuddha

    hi,
    you can use split valuation for this by using the valuation category field in material master in accounting 1 view.
    in this you have to maintain valuation category as "H" = ORIGIN.
    For split valution procedure you have to reffer the  follow this link.
    http://www.sap-img.com/mm025.htm
    THANKING YOU

  • Problem with IDoc for an outbound delivery

    Dear All,
    I am facing a problem with the IDoc defined for an outbound delivery.
    Scenario:
    Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
    What I did:
    I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
    I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
    What I can do:
    I can issue an IDoc message, it looks ok and contains the standard data.
    Problem:
    It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
    Am I using the proper exit? I appreciate any suggestions.
    Thanks,
    Grzegorz Skorus

    Hello Grzegorz
    Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
    Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases,  it may help you.
    Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
    Futher  the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
    Hope this helps and others will pitch in.
    1498409 - Valuation Type unavailable when creating deliveries using IDOC
    631913 - Exit after formatting delivery IDoc type DELVRY

  • Handling Unit not being assigned to TO for an outbound delivery

    Hi All
    When I create a TO for an outbound delivery then a handling unit is not being assigned to the TO.
    I cannot confirm the TO as it complains about the non assignment of HU.
    I have done the following so far:
    1. Set up a default packing material w.r.t WhNo and movement type.
    2. Defined a packing group and then assigned the packing group to the packing material.
    3. Set 1 to the indicator for automatic HU creaion in customizations for automatic HU creation.
    Is there something I am missing in the configuration?
    Any suggestions would help.
    Thanks,
    Arup

    Hello,
    HU never get assign at the time of creation of TO. You can assign pick HU at the time of confirmation of TO. There are two ways
    Use transaction code LH01 and assign pick HU
          OR
    (ii)Or at the time of confirmation of TO click on pack tab and complete the packing
    Thanks,
    Milind C

  • How to set a Default variant for VL06O (Outbound Delivery Monitor)?

    Hi All,
    I want to set a DEFAULT VARIANT for  VL06O (Outbound Delivery Monitor) selection screen with "For Picking", "For Confirmation", "For Goods Issue" and "List of Outbound Deliveries" button option.
    I have already created a variant with those 4 buttons. But I cant find a way to set it as DEFAULT.
    Appreciate your help on this.
    Please note I'm using SAP ERP 6.0 Ehp 4.
    Thanks & best regards,
    Anupa

    Hi Indranil,
    Superb !
    This is what I was searching for.
    That works really fine. Thanks a lot!
    Best regards,
    Anupa

  • FM for create outbound delivery with order reference

    Hi,
      Can u pls tell me the function module name for create outbound delivery with order reference.
    regards,
    Mahi.

    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
            kwmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-kwmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
      TABLES
        request               = t_request
        createditems          = t_created
        return                = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: /  t_created-document_numb.
    Thanks
    Naren

  • BAPI or FM for VL10F (outbound delivery)

    Hai All,
    Can Anyone say how to create outbound delivery (VL10F) By  Using FM or BAPI.
    Explain With Example.
    Pls Most Urgent.
    Regards,
    Ekadevi.S

    Hi,
       These are the existing BAPI's for Outbound Deliveries.
    BAPI_OUTB_DELIVERY_CHANGE                                                                           
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System  
    BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference                                 
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order                                
    BAPI_OUTB_DELIVERY_CREATE_STO  Generates Delivery for Stock Transport Order                         
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries          
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    Regards,
    Sandeep

  • BAPI for posting outbound delivery (VL01n)

    Hi,
    I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
    1. Shipping Point
    2. Sales Order
    3. Selection Date
    4. Delivery type
    I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
    Please let me know.
    Regards
    Ram.

    Hi
    Please avoid the duplicate post .It is not as per the Forum rules.
    You have posted the same question with this title in ABAP General Forum:
    Outbound Delivery BAPI/Function module
    Neha

  • Configure background job  for collective outbound delivery processing

    Hello Gurus,
        I want to  Create a background job to be executed during off-peak hours for collective outbound delivery processing.  will you please give me step-by-step configuration ?
    thanks very much!

    To set up a batch job for delivery creation use SM36 T-code.
    Input batch job name say - ZSD_CREATE_DELY_SALES_ORG
    Select class = C or B.
    Set up by / created by = BATCHADMIN or your id
    Program Name = WS_DELIVERY_UPDATE
    Varient = (as per your requirement - say for a particular sales area and plant)
    Click on "Check" icon and "Save".
    Go to the main page, select icon "Schedule a Batch job".
    Give detils like daily, weekly or periodic or Immediate.
    Enter date and time accordingly. Save it.
    Same thing applies for Invoice creation batch job.
    Use program name:RSBDCSUB
    All other steps remain the same.
    Hope this will help you out !
    Regards,
    Rajesh Banka

  • Multiple log4j.xml files for single application.

    Hi All,
    How to use multiple log4j.xml files for single application?
    I do have a pluggable application modules. ie, If I add a jar I will get some functionalities. Like that i do have many jars.
    Log4j.xml also will be present in that jar only. So if I add multiple jar files like this, I will get multiple log4j.xml files. What should I do?

    Each logger can have its own file I think. Check the log4j documentation.

  • Can we make two shipment cost for one outbound delivery

    Hi team,
    Can we make two shipment cost for one outbound delivery?
    Need your suggesstions.
    Regards
    Venkat Ramana

    Hi
    I do not think that you will get a reply now as it has been too long.
    Maybe the answer is not known.
    However as the forum is growing and it takes so much time to get through all of the pages it would be nice to keep it current so could you please close your thread and either re-open a new one (this might help as people are more likely to look at curret ones) or try another forum.
    This will make life easier for everyone
    Regards
    Frenchy.

  • Country of origin for material

    Hi Experts,
                       In which table-field I can find the country of origin for material?
    Thanks and rgds
    Abhishek

    Hi
    See in MARC table I hope HERKL field
    Regards
    Anji

Maybe you are looking for

  • HP Deskjet 460 wireless printer connection problem

    I just replaced my Airport Extreme (pre-n) with a Time Capsule. My HP Deskjet 460 WiFi printer no longer connects through wireless. However, configuring the Time Capsule wireless mode to "802.11g/b only" (i.e. no 802.11n) resolves the connection prob

  • Automatic creation of clearing document

    Hi experts, We have a scenario where: 1. Co code 1 is created as vendor in Co code 2 and Co code 2 is created as customer in Co code 1. 2. Co code 1 sells to customer of co code 2, this generates AR in co code 1 and AP in co code 2 3. Co code 2 makes

  • Help! Deleted my sister's music while trying to use Senuti -

    Hi - I did something very stupid last night, and want to try to rectify it, if I can. My sister (ibook G4, 30 gig hard drive) and I have just started a garage band of sorts, and we each work on songs on our own computers. I thought it would be neat i

  • Check print cartridge error

    I installed a new black cartridge in my HP PSC 1410 All-in-One.  It printed a sheet to align the cartridges, but it won't scan, and I can't find HP Utilities or Scan or Toolbox on my MAC.   I tried taking one cartridge out, then the other.  That did

  • RoboHelp 8 HTML runtime error on version control sync

    I have a user of RoboHelp 8 HTML that is receiving a runtime error after opening a project that syncs files from our revision control server with RoboSource. When she receives the error there are no error codes just a very "generic" error. I have uni