Update field "Country of origin" in Product Master in SAP EWM system.

Hi Team
I have a requirement like as follows:
I need to update the country of origin (HERKL) field into the product master transaction /SAPAPO/MAT1 ( Tab: Properties Field name Ctry of Origin) through BAPI. So i want to know what is the BAPI Name to update the Product master.
Any prerequisites for this Please help me.
Thanks in Advance.
Abhishek.

Hi,
The function module BAPI_PRDSRVAPS_SAVEMULTI2  (Create or Change Products) can be called in the z pogram like any other function module call in a z program.  After the data definations, tables "product_head" and "product_head_X" need to be passed the values, along with other import values like Logical system , business system group etc.
Your technical consultant should be able to work out smoothly.
Hope this helps.
Regards
Datta

Similar Messages

  • Impact of change of field Country of origin in material master

    HI EXPERTS,
    what is the impact of change of field Country of origin in material master(Foreign trade data ) on sales order ,delivery and invoice ?
    also will it impact the existing document if we had changed the country of origin in material master?
    Appreciate your early response!
    Thanks
    Manish gupta

    hi
    this is to inform you that
    you are telling about FOREIGN TRADE & CUSTOMS.
    it will be having impact on sales delvery and billing as well as sales document is optional and the
    delivery document will be stopped with GTS error with LEGAL CONTROL ISSUE.
    if you over comes that then you will be caught in billing
    in billing document will be stopped with ERROR called FOREIGN TRADE DATA INCOMPLETE.
    because it deals with FTC.
    regards
    balajia

  • Country of Origin in batch master

    Dear Expert,
    I noticed that country of origin will auto updated in batch master when GR for production order but not for purchase order
    Is it a standard behaviour or any configuration can be set?
    Thank you

    dear friend,
    if you go to material master data and have a look at tab "Foreign trade export" or "Foreign trade import"
    you will see the field "Country of origin"

  • What is Country of origin in Material Master?

    What is Country of origin in Material Master?
    what is its change impact to the business and business processes?

    Country of Origin is used to represent the original country of production/manufacturing. This is used in Exports/Imports for generating legal documents for Customs.
    This will be captured at the time of PGR or defaulted from Material Master to inventory. This field get reffered in Global Trade too.

  • How to Update the Country Of Origin In delivery Item

    Hi All,
    Business Requirement at Present: in the idoc we are not passing the country of origin for updating the Delivery Item data .But Business requirement is now in such a way that the country of origin has to update the delivery item from the idoc.  when i look into the Process code function module i found this function Module Z_IDOC_INPUT_DESADV2. the i found one more function Module which will update the PICK/Packing WS_DELIVERY_UPDATE which is inside that. i am unnable to update the country of origin with this FM. so please send me the best soultion.
    way to see the country Of Origin :
    go to Delivery > Double click on the Delivery Item  > chose the Tab "Foreign Trade/Customs" > with in this Tab chose sub tab "Origin / Destination / Business">>  Ctry of origin , Dispatch ctry,Region of Origin                                                 
    with Regards
    Ram

    Country of Origin for a Delivery item is passed during the packing of the delivery before shipping .
    This is a mandatory field keeping the priority high.
    Actually this has to be done from one of your pack programs (A Z pack program i dont know the scenario of ur project )lets say .
    So u can see this Country of origin in the material views ..
    Goto MM03 and in this give the material item and check this.
    Check Sales: general/plant data and the strip as Origin.
    The field will be Marc-Herkl.
    Now u if want this to be populated then u need to write a query or logic to resemble the same in the delivery item.
    Now to get to your query now ..
    So if ur idoc will not be passing the country of origin .. then how was it doing earlier ?
    //But Business requirement is now in such a way that the country of origin has to update the delivery item <b>from the idoc</b>
    In order to do this we need to enhance the idoc with one more feature by picking thcountry of origin field say from MARC-HERKL and then updating the line item into the code of ur Z_idoc_input... or an user exit which can do the same ..
    Just check in ur idoc what are all the fields u r picking ..
    and what is the standard inound idoc you are referring to so that u can find the appropriate Customer exit which will be there to do the same ..
    The logic has to be written in one of the customer function .
    regards,
    VIjay

  • Country of Origin in Item Master

    Dear All,
    We have a database field by name "CountyOrg" in item master. But I cannot find any field in front-end where I can view the data I have imported in this field thru DTW (ItemCountryOrg). I have items where I would like to save their country of origin as each item is unique to one country.  Please let me know what is the use of this field in SAP and if I import the country  name here will it effect/restrict any of my transaction in SAP.
    Regards
    Kapil

    Hi,
    this field is not used in the B1 UI application. In the old version, it is used but now it is not.
    you may check this thread to know more and solve the issue you have now :
    Re: How is the Country of Origin field populated in the OITM?
    JimM

  • Relating product compilaence with the material master in SAP R3 system

    Hai SAP Gurus,
    Please can you help me to mark a material in relation to the product compilance or regulatory requirements like RoH, CSA, EC, Copy exact in the SAP Standard process. please note that we are not using SAP EH&C and the client is asking this requirrement in the SAP R3 System. Is this possible to link this with material master? If so can u kindly explain me on this please.
    Thanking you in advance.
    Regards,
    Gopalakrishnan.S

    Hello
    If you do not use EH&S one option is to use a material class to mark the matrial as Rohs etc. relevant. As this is only a matter of storing infomation not futher process is linked to this data maintenance. If you wouldlike to use this stored data e.g. in SD, MM or PP processes you have to do it by your own programming. SAP EHS Management on the other hand gives you a number of options to use data like RoHs wich is store in EH&S further processes.
    In any case: srtong recommendatino would be: do not try to use a lot number of material classes to do the same lik you are doing in EH&S.
    Regarding regulatory demands EH&S is a "must" and wel integrated in SAP process (e.g. GTS, BW, SA Procudt and REACH Compliance Suite etc.)
    Using EH&S is not such a "big" problem and there aer many companies which can assist in using EH&S .
    With best regards
    C.B.
    Edited by: Christoph Bergemann on May 20, 2011 8:16 PM

  • Steps for extraction of Custom Fields from the SRM 5.0 to the SAP BI system

    Hi Experts,
    I am new to the SAP BI. I was asked to publish all the custom fields from table (BBP_PDISC) of the SRM system to the BI System.
    Please provide some guidiance (or) provide me with step-by-step procedure for doing the same.
    There are around 14 fields in this table and i need to move them to the BI system and later inlcude them in reports.
    Let me know if this information is sufficient.
    Thanks in advance.
    SAPBWI

    We are working on the Shopping cart DSO

  • What is Field Grouping and how we do this in SAP CRM SYSTEM?

    Hi Champs,
    I shall be greatful if you guys can provide me the solution as I am a begineer in this stream.
    Regards,
    Conte

    Hi Conte,
    If you are talking about field groupings for a business partner in CRM then it is used
    to define which fields based on your requirement can be made as an
    1)Require an entry (required entry)
    2) Are ready for input (optional entry)
    3) Are displayed (display)
    4)Are hidden (hide),
    For example: when you are creating a customer you want the conatact number of the Customer and you want to make it mandatory, this can be done using field groupings.
    you can follow this path to customize-
    spro>img>cross application components>SAP Business Partner>Business Partner>Basic settings>Field groupings.
    It gives 4 options to configure the fields-
    1)configure field attributes as per client
    2)configure field attributes as per BP role
    3)configure field attributes as per Activity
    4)configure field attributes as per BP type.
    Hope this helps.
    Regards,
    Prathiba

  • Country of Origin deletion in batch master

    Experts,
    When I post physical inventory differences via MI07 the field Country of origin in batch master is automatically deleting. Even the batch master log confirms the same.
    Your suggestion is welcome.
    Naren

    OSS note 619913 explains:
    batch data such as country of origin, region of origin, and freely available date fields can be changed in user exits only.
    To newly create a batch in goods movement, use exit EXIT_SAPMM07M_003.
    I have not used this fields before so I am not certain if you have to take care about these fields in MI07 yourself.
    I am the opinion that existing data should not be effected with a quantity adjustment.
    check OSS and if you dont find anything, then open a call at SAP.

  • VL02N - Country of Origin Updation

    Hi,
    I have a requirement to default Country of Origin field in VL02N Transaction for each line item under Foreign Trade/Customs Tab -> Origin / Destination / Business Tab.
    For this to be happen, I have used a function module EXPIMP_POSTING in the user exit Z_MV50AFZ1_6, which will update the country of origin field perfectly. 
    The problem occurs here -> The function module requires an input EXNUM (Number of foreign trade data in MM and SD documents) which is obtained from LIKP table. This Number will get generated only when the Delivery has some foreign trade data.
    Is there any other way to update this Country of origin field without passing EXNUM field to this function module or do we have any other function module or exit for such requirement?
    Thanks,
    Dhanalakshmi M S

    Hi
    In my case it is Foreign trade .so when goods are exported the foreign trade data will gets populated in the billing document at item level.
    By maintaining country of origin in material master data u2013foreign trade u2026it will flows to delivery/Billing document
    We found the cause of our issue is .not exports it is ..Domestic sales .so for domestic sales the data will not flowu2026u2026this we can identify by checking the Tab u2013 EXPORT in Billing document u2013 Header data u2013 Header
    The field will be populated with value Z or Y by the system .if it populates then it is export sales if not domestic sales
    Regards
    Sujan

  • 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

  • Update, Delete, Create Product Master in SRM 5.5

    Hi peeps!
    As mention in the subject title I need help in Update, Delete, Create Product Master in SRM 5.5 . I need to know which bapi or fm to be used to update(create & delete as well) the product master.
    Points will be give! Hope to hear from u all soon! Cheers!

    Okie probably this will help. Bapis or FM used for tnx:Commpr01 (product workbench) for update create and delete?
    Anyone?
    Message was edited by: Chee Jason
    Message was edited by: Chee Jason

  • How to mainatin different country of origin and grade for article.

    Hi All,
    I have a requirement that in SAP i should have one article for e.g Apple ( i am procuring this article from different country and i have got different grade for the article) ,but at the same time i should be able to differentiate it through country of origin along with grade and size.
    I can maintain different EANS for size but how to go about country of origin and grade.
    Note: I cant have different article code for the same product.
    Need ur help and valuable inputs
    Regards,
    AM

    Hi Group,
    I resolved the issue myself and the solution is as under:
    When we run the transaction 'MIGO" or "MIGO_GR", internally the system generates a Batch, which can be changed by the User at his interest to any number he likes.
    And when this Batch gets created, we can have a Userexit (EXIT_SAPMM07M_003) called to update the Country of Origin (HERKL) as under:
    if XXXX - Condtion here....
       Populate the field HERKL in the structure BATCH_MASTER_DATA with the desired value
    endif.
    This will resolve the issue and we can view this Country of Origin in the transaction MSC3N.
    Regards,
    Vishnu.

  • Change the value of Country of Origin in Invoice document

    Hi All,
    The Country of Origin in billing document is copied from batch, now there is a requirement to change the COO in the invoice document. Can anyone please guide me how to update the Country of Origin in Billing document(Foreign Trade Data).
    I can update before it is released to accounting, but after released to accounting the field is grayed out.(EIPO-HERKL)
    Please sugget.
    Regards,
    Jagadish

    Hi,
    The country of origin field is transferred to the delivery header and from there to billing header. This field is available in the material master foreign trade tab and not from the batch master for the material batch.
    You can change this country of origin in the material master data
    Thanks,
    DB

Maybe you are looking for