GR/IR accounts based on the country of origin

Dear All,
My client business requirement is like below:
when we are posting goods receipt GR/IR account has to be posted based on the country of origin of the materials. we have one chart of accounts, we don't have any business areas. we have defined 14 GR/IR accounts for this purpose.
Please any one can suggest me the solution in SAP, how we can do? even customized one also?
thanks & regards,
Ramesh B

uu

Similar Messages

  • How to stop the charges incurred to my account based on the action of itunes storing U2's newest album into my iPhone that I personally did not pay for?

    How to stop the charges incurred to my account based on the action of itunes storing U2's newest album into my iPhone that I personally did not pay for?

    There was no charge. The album was free.

  • Generating Supplier Liability Account based on the Supplier Classification

    Hi ,
    In R12 I have a custom requirement like follows. Need to generate the Supplier Liability Account based on the Supplier Classification. When we select supplier type then by default liabilty account value will be the value from supplier--> setup --> options --> fianancial otpions --> accounting tab (GL -accounts liability value).
    so when we change the supplier type the liability account should changed based on that classification value.
    I have code in 11i where custom.pll was modified to acheive this, but how to implement this in R12 as supplier form is OAF based.
    the code from custom.pll for this is
    procedure event(event_name varchar2)
    is
    lCurrBlock varchar2(30);
    lVendorType varchar2(30);
    lDefaultCCID number(15);
    lCustomCCID number(15);
    cursor customCC(x_vendor_type varchar2,x_default_cc_id number) is
                   select
                   cst.code_combination_id
                   from
                   fnd_lookup_values vty,
                   gl_code_combinations dfl,
                   gl_code_combinations cst
                   where 1=1
                   and vty.view_application_id = 201
                   and vty.lookup_type = 'VENDOR TYPE'
                   and vty.language = 'US'
                   and vty.lookup_code = x_vendor_type
                   and dfl.code_combination_id = x_default_cc_id
                   and dfl.segment1 = cst.segment1
                   and vty.tag = cst.segment2 --account no
                   and dfl.segment3 = cst.segment3
                   and dfl.segment4 = cst.segment4
                   and dfl.segment5 = cst.segment5
                   and (dfl.segment6 = cst.segment6 or (dfl.segment6 is null and cst.segment6 is null))
                   and (dfl.segment7 = cst.segment7 or (dfl.segment7 is null and cst.segment7 is null))
                   and (dfl.segment8 = cst.segment8 or (dfl.segment8 is null and cst.segment8 is null))
                   and (dfl.segment9 = cst.segment9 or (dfl.segment9 is null and cst.segment9 is null))
                   and (dfl.segment10 = cst.segment10 or (dfl.segment10 is null and cst.segment10 is null))
                   and (dfl.segment11 = cst.segment11 or (dfl.segment11 is null and cst.segment11 is null))
                   and (dfl.segment12 = cst.segment12 or (dfl.segment12 is null and cst.segment12 is null))
                   and (dfl.segment13 = cst.segment13 or (dfl.segment13 is null and cst.segment13 is null))
                   and (dfl.segment14 = cst.segment14 or (dfl.segment14 is null and cst.segment14 is null))
                   and (dfl.segment15 = cst.segment15 or (dfl.segment15 is null and cst.segment15 is null))
                   and (dfl.segment16 = cst.segment16 or (dfl.segment16 is null and cst.segment16 is null))
                   and (dfl.segment17 = cst.segment17 or (dfl.segment17 is null and cst.segment17 is null))
                   and (dfl.segment18 = cst.segment18 or (dfl.segment18 is null and cst.segment18 is null))
                   and (dfl.segment19 = cst.segment19 or (dfl.segment19 is null and cst.segment19 is null))
                   and (dfl.segment20 = cst.segment20 or (dfl.segment20 is null and cst.segment20 is null))
                   and (dfl.segment21 = cst.segment21 or (dfl.segment21 is null and cst.segment21 is null))
                   and (dfl.segment22 = cst.segment22 or (dfl.segment22 is null and cst.segment22 is null))
                   and (dfl.segment23 = cst.segment23 or (dfl.segment23 is null and cst.segment23 is null))
                   and (dfl.segment24 = cst.segment24 or (dfl.segment24 is null and cst.segment24 is null))
                   and (dfl.segment25 = cst.segment25 or (dfl.segment25 is null and cst.segment25 is null))
                   and (dfl.segment26 = cst.segment26 or (dfl.segment26 is null and cst.segment26 is null))
                   and (dfl.segment27 = cst.segment27 or (dfl.segment27 is null and cst.segment27 is null))
                   and (dfl.segment28 = cst.segment28 or (dfl.segment28 is null and cst.segment28 is null))
                   and (dfl.segment29 = cst.segment29 or (dfl.segment29 is null and cst.segment29 is null))
                   and (dfl.segment30 = cst.segment30 or (dfl.segment30 is null and cst.segment30 is null));
    begin
         if name_in('SYSTEM.CURRENT_FORM') != 'APXVDMVD' then
              return;
         end if;
         lCurrBlock := name_in('SYSTEM.CURSOR_BLOCK');
         if event_name = 'WHEN-NEW-FORM-INSTANCE' then
         --     app_item_property.set_property('VNDR.VENDOR_TYPE_DISP_MIR',required,property_true);
              copy(name_in('WORLD.ACCTS_PAY_CODE_COMBINATION_ID'),'GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID');
         elsif lCurrBlock = 'VNDR' and event_name in ('WHEN-VALIDATE-RECORD','WHEN-NEW-RECORD-INSTANCE') then
         open customCC(name_in('VNDR.VENDOR_TYPE_LOOKUP_CODE'),name_in('GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID'));
         fetch customCC into lCustomCCID;
         close customCC;
         if lCustomCCID is null then
              copy(name_in('GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID'),'WORLD.ACCTS_PAY_CODE_COMBINATION_ID');
         else
         copy(lCustomCCID,'WORLD.ACCTS_PAY_CODE_COMBINATION_ID');
         end if;
         end if;
    end;
    end;
    please help

    Hi,
    While you can refer to the SLA guide, for quick pointers what you need to do is:
    1. Identify the transaction types and associated events for that transaction.
    2. Build an accounting rule for the above.
    An example would be AP invoice validation or application of prepayments.
    The SLA guide provides step by step details on the above.
    Good Luck !!!
    Regards,
    Udit

  • How to select State based on the country

    Hi All,
    I have a requirement,i have to dynamically  populate the value in State based on the Country chosen in the drop down.
    Can you please tell me how to achieve this functionality.
    Thanks & Regards,
    Malkit Singh

    Hi, Malkit
    There is  already a cotext mapping for Sate.
    Take a look at this.
    http://scn.sap.com/message/13816883#13816883
    In your case, use these data types.
    element Country  :CountryCode;
    element State   :RegionCode;
    Regards,
    Fred.

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • Can I extract VBAP-EAN11 based on the country Field ?

    Hello,
    Is there a way I can extract VBAP-EAN11 from a different field dependent on the country KNA1-LAND1 or any other table where I should be able to extract EAN11 based on the country.
    Please suggest, if i can extract the data with this condition or any possible conditions with which i can extract VABP-EAN11 dependent on the country field....
    Any suggestions would be appreciated!
    Thank you

    Hello Venkat,
    Thank you for your response...
    I did not understand...Can you please tell me in more detail...
    And I tried with this field below and written a sample code...Plz let me know if I can go ahead and use this field.
    Types : Begin of TY_SAMPLE,
              VBELN TYPE VBELN_VA,
              EAN11 type vbap-EAN11,
              LLAND type VKDFS-LLAND,
             END OF TY_SAMPLE.
    DATA : T_SAMPLE TYPE STANDARD TABLE OF TY_SAMPLE WITH HEADER LINE.
        SELECT A~VBELN
               A~EAN11
               B~LLAND
               INTO TABLE T_SAMPLE
               FROM VBAP AS A INNER JOIN
               VKDFS AS B
               ON AVBELN = BVBELN
               WHERE EAN11 =
      LOOP AT T_SAMPLE.
         WRITE : / T_SAMPLE-VBELN, T_SAMPLE-ean11, T_SAMPLE-LLAND.
         ENDLOOP.
    Regards,
    Developer

  • Want to create a new dynamic DL based on the country location of the 365 license..

    We're presently in hybrid mode, but we'll soon be moving entirely to 365.  In preparation i'd like to start creating new dynamic distribution groups.  We have offices in Korea, China, EU, and the US.  My idea is to create the dynamic DL's
    based on the country where the license was applied.  In the example below, the users license was assigned in Korea.  So ideally my new dynamic DL would filter on that property (i.e. anyone's mailbox where the users license was assigned to Korea)
    to create an "All Korea" distribution group.
    Does anyone know what the powershell syntax might be? Any help is greatly appreciated!

    Interesting.  The command ran without error, but then when i checked the group through the portal it didn't display the recipient filter.  Seemed like it just created a generic dynamic DL and it was prompting me for things like mailbox type.

  • Turn off itunes match subscription and cancel the remaining balance on my account to change the country store

    Good afternoon. I want to turn off itunes match subscription and cancel the remaining balance on my account to change the country store as I do this?

    You will need to contact Apple by call to gain the appropriate support directly.  There can be significant issues in changing country.
    First step is always to ensure that you have a secure backup of all of your Songs.

  • HT1918 How do you change the country or origin in the iTunes store and zero out the remaining balance?

    As above.... how do you change the country of origin in the iTunes store when you already have a balance in another country, in my case the balance is $0.03. At the moment I can't change the country because of this balance and have attempted to zero it out, but no luck yet. Any suggestions?

    Contact iTS to have them cashout your account, and aid in changing the nationality.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • How to track the Country of origin using the tcode 'MIGO_GR'

    Hi Group,
    I was trying to run  the tcode 'MIGO_GR' and want to see the field value Country of Origin(HERKR) in the display batch tcode 'MSC3N', but I am not able to see this value.
    the thing is that, the data comes as Idoc with the batch number, and in this batch there was no info about the country of origin (HERKR) and hence when I check in MSC3N, I could not see the value for Country of origin.
    Could you please let me know the enhancement to be used to populate this value(HERKR) into the Batch that gets created (thru tcode 'MIGO_GR')? and also please let me know the table that gets updated?
    thanks for your help in advance.
    Regards,
    Vishnu.

    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.

  • 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

  • How is the Country of Origin field populated in the OITM?

    Dear All,
    I can see this column in the table but not in User interface. We are in CA and US localization. Thanks a lot.
    Regards,
    Yuka

    Hi,
    The country of origin does not appear on the interface but is available on the backhand ie. tables.
    If the field is a requirement you can check the following workaround in the test enviorment :
    - create udt for the countries
    - create udf on item masterdata -> set udt as linked table
    - create udf on Marketing Documents Row-level -> set udt as linked
                                                    table as well!
    - save following query and attach as formatted search to udf
    - on Marketing Documents Row-level:
    - SELECT udf FROM OITM WHERE ItemCode= $[$38.1.0] FOR BROWSE
    - set to autorefresh on "when existing altered column", Item No.
      in documenttemplate choose as Datafield
      File:  UDT
      Field: Name
      tick "Display Description"
    Check if the above helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Is the Decimal Notation Setting based on the country of the vendor?

    I would like to ask help with regards to an error which i encountered when I Print Preview a Purchase Order Document via Transaction ME23N.
    Within the Print Program, the Decimal Point setting is normal ( for example 2.90, 192.97, 1,903.00 , etc.), but when the value is passed on to the SAPscript Form the Decimal Point setting is incorrect ( for example 2,90 , 192,97 , 1.903,00). This error is only observed on a single Vendor being used in the creation of the PO.
    I would like to confirm if indeed the settings for Decimal Notation is based on the settings being used in the specific country of the vendor.
    I hope anyone can help me out with this one. Reward points up for grabs.

    Hi
    In my case in sapscript while printing total for JPY is for three decimals but after calculating it used to take two decimals & leave one decimal to left ex as below.
    FOB : 100.000
    Freight: 10.00
    Total  : 1000.00 (In figures One Hundered & Ten Only).
    here in sapscript program this decimal notation was given for two hence it was going to left side we correct it to three decimal notation.
    kindly check with script & you can fix it there.
    Regards
    Rang

  • Will CC license work outside the country of Origin?

    I'm a photographer who works outside of the country quite often.  If I'm forced to use this creative cloud licensing, will it have a problem trying to re-activate if I'm outside of the country it was originally activated in?  Also, will it reactivate if I'm in a country that isn't supported by creative cloud?
    I use a number of other cloud based licensing services and this has been a real problem for me.

    I thought i would update this post.  I chatted with Adobe customer service  and after about 20 minutes of explaining and re explaining and explaining some more I finally got them to say that I will be able to do the 30 day reactivation while outside my the country of the original subscription.
    However, after having to re explain what I was asking so many times, I still am not confident that this is true.  She did say in very clear english (typed of course) that I would be able to, and the wording was damn near legalleze, so she did say clearly that I would have no problems being outside the country... but time will tell i guess.
    Its too bad that nobody traveling with CC currently could pipe up and  confirm.

  • Change the country of origin for itunes download

    I downloaded itunes while in france on my windows vista platform and have tried to remove it here in the us to get the language to default to english. changing the preferences to english has not worked. any thoughts

    You can change the country by using the flag button at the extreme bottom of the iTunes home page. The language is determined by the country your are "paying" from and this defaults to the country you were in when you downloaded.

Maybe you are looking for

  • FTPEx: 501 Syntax errors in parameter in File Adapter

    Hi All,   I have a scenario idoc to file when I try sending file through the FTP connection I got the below error An error occurred while connecting to the FTP server 'ftp-gw.dx.dxxxx.com:21'. The FTP server returned the following error message: 'com

  • System error in program SAPLRRK0 and....Value '_' of characteristic 0EMP...

    Folks, We are using ESS/MSS business packages for integration with BW backend, on trying to access status report using, Manager Self - Service --> Reports --> Development Discussion Status Reports We are getting the following warning & error messages

  • How to assign default cost center to exchange differences ?

    Hi all, Default costcentre for currency exchange differences missing in the company code. How to assign ? Please answer at the earliest. regards narasimha rao

  • Unit of measures for Swiss Export

    Hello there, were currently working on the implemntation of swiss export. Now were facing an issue with the external UOM´s the swiss authorities is requesting. We have to report f.e. 17     Stück (Tiere)      / Piece/Head (Animals) 18     Stück (Uhre

  • UTF8 Conversion error

    The thin driver sometimes gives this error: Fail to convert between UTF8 and UCS2 when accessing Oracle 8i set to UTF8 charset. Is this a known bug? Does anyone know a workaround?