Sap oss note

Hi Experts,
Please see the following requirement and let me give the sujjestion for it,It will be very helpfull to me.Thanks in advance.
SAP Note No. 851943                          04.07.2005           Page 1
     Number              851943
     Version             3 from 27.06.2005
     Status              Released for Customer
     Set on              27.06.2005
     Language            EN Caution: Translation Not Current!
     Master language     DE
     Short text          Separate country codes for Serbia, Montenegro and
     Kosovo
     Responsible         SAP AG
     Component           SD-FT-GOV
                         Declarations to Authorities Export
     Long text
     Symptom
     As a result of EU regulation 750/2005 of May 18, 2005, the 'CS' country
     code (094) for Serbia and Montenegro in the area of foreign trade
     statistics is to be replaced with the following new country codes as of
     June 01, 2005:
         o  XK (095)  Kosovo
         o  XM (097)  Montenegro
         o  XS (098)  Serbia
     Other terms
     Intrastat, Extrastat, country of origin, Serbia, Montenegro, Kosovo,
     country code, ENPA, VE01, MEIS, country of departure, URSPRSLND,
     URSPRSLND, HERKL, URZLA, BESTILAND, country of destination, country of
     dispatch
     Reason and Prerequisites
     This is a legal change.
     Solution
     As the country key is checked against the country table (T005) in
     several parts of the program, it is necessary to add three new country
     codes ( XK, XM and XS) to this table even though these country codes do
     not form part of the ISO 3166 nomenclature (link:
     http://www.iso.org/iso/en/prod
     s-services/iso3166ma/02iso-3166-code-lists/index.html).
     To enter the new country codes, proceed as follows:
     Customizing --> General Settings --> Set Countries --> Define Countries
     in R/3 Systems --> New Entries
     At present, the three new country codes are only relevant for the area
     of foreign trade statistics. Therefore, a basic definition is
     sufficient.
     Specify the following information:
         o  Country XK
            Alternative key: 094
                                                                       Page 2
            Name: Kosovo
            ISO code: XK
         o  Country XM
            Alternative key: 097
            Name: Montenegro
            ISO code: XM
         o  Country XS
            Alternative key: 098
            Name: Serbia
            ISO code: XS
     Caution
     The unfavorable effect of adding these new country codes to the country
     table is that they are available throughout the SAP system and can be
     selected for all country specifications. For example, you can now set
     the country of a customer or vendor to one of these new values, but this
     is certainly never desired.
     For this reason and because these new country codes are only required by
     a relatively small number of SAP customers, the new country codes XK, XM
     and XS are not delivered as SAP standard Customizing, but rather, each
     customer must add these to the table if they require them.
     Each customer must take the necessary steps to ensure that these country
     codes are not "misused" (as described in the above example).
     As a standard country code is no longer available for Serbia and
     Montenegro (the country codes are XK/XM/XS for foreign trade statistics
     and CS for other applications), this new requirement must be met using
     the user exits that are available. To avoid conflicts between the
     applications, we advise against changing the country code in the master
     data.
     Approaches:
            -  Intrastat
               Since Serbia and Montenegro does not form part of the European
               Union, the changes to the country code only affect the
               specification of the country of origin.
               If the volume of data is low, you can change the country code
               for the country of origin from 'CS' to 'XK', 'XM' or 'XS'
               either directly in the documents (billing documents and
               purchase orders) before selecting the Intrastat data, or using
               Transaction VEFU after selecting the data.
                                                                       Page 3
               In theory, the EXIT_SAPLV50E_003 and EXIT_SAPLV50E_004 user
               exits (change foreign trade item data in the SD and MM
               documents), the EXIT_SAPLV50G_001 user exit (change the
               document data before processing in the selection program) and
               the EXIT_SAPLV50G_002 user exit (change the Intrastat data
               after processing in the selection program) are suitable for
               automatic implementation of these data changes.
               The correction instructions contain example code for a
               possible solution using the EXIT_SAPLV50G_002 user exit
               (section entitled "INTRASTAT"). This user exit is processed at
               the end of the data selection program, shortly before the
               Intrastat data is written to the VEIAV file.
            -  Extrastat
               This affects the specification of the country of destination
               (export declaration), the country of dispatch (import
               declaration) and the country of origin (import declaration and
               export declaration).
               If the volume of data is low, you can change the country code
               either directly in the documents before selecting the
               Extrastat data (country of dispatch and country of origin in
               the foreign trade data for billing documents and purchase
               orders), or using Transaction VEXU after selecting the data.
               In theory, the EXIT_SAPLV50E_003 and EXIT_SAPLV50E_004 user
               exits (change foreign trade item data in the SD and MM
               documents), the EXIT_SAPLV50G_001 user exit (change the
               document data before processing in the selection program) and
               the EXIT_SAPLV50G_002 user exit (change the Extrastat data
               after processing in the selection program) are suitable for
               automatic implementation of these data changes.
               The correction instructions contain example code for a
               possible solution using the EXIT_SAPLV50G_002 user exit
               (section entitled "EXTRASTAT"). This user exit is processed at
               the end of the data selection program, shortly before the
               Extrastat data is written to the VEXAV file.
     Of course, the source code contained in the correction instructions is
     merely example source code. Insert your values in those places marked
     with arrow ( <-- ).
     Of course, other conditions may also require you to set the new country
     codes; the EXIT_SAPLV50G_002 user exit has header data and item data for
     the billing documents and purchase orders as well as their foreign trade
     data.
     Comments:
     Background:
     By default, the country of origin for both the Intrastat declaration and
                                                                       Page 4
     the Extrastat declaration are determined as follows:
         o  Receipt/import
            The information for the country of origin is copied from the
            purchasing info record of the vendor (EINA-URZLA field); if the
            field is not set, the country of origin is set from the material
            master record (MARC-HERKL field).
         o  Dispatch/export
            The information for the country of origin (and the region of
            origin) is copied from the material master record or the batch
            master record.
     By default, the country of destination is set in the Extrastat
     declaration for exports from the "Destination Country" field in the
     billing header (VBRK-LAND1).
     By default, the country of dispatch is set in the Extrastat declaration
     for imports from the "Country of dispatch" field for the export data of
     the billing item (EIPO-VERLD). If this is not filled, the country of the
     supplying vendor or the country of the vendor is set.
     It is therefore quite possible that the country of dispatch is not set
     in the foreign trade data for the document item (EIPO-VERLD). In this
     case, you would have to change the command line from:
       IF i_direction EQ '1'      AND               "import
          c_record_extrastat-versendld EQ 'CS'.     "Serbia/Montenegro
     to:
       IF i_direction EQ '1'      AND               "import
          c_record_extrastat-versendld IS INITIAL.  "initial
     After this change, only the vendor number (and other fields, if
     required) determines whether you have to set the country code.
     Releases 4.0B and 3.1I
     In these releases, the use of user exits when selecting data is
     extremely limited. We recommend that you use the user exits that are
     processed to determine the foreign trade data for billing items
     (EXIT_SAPLV50E_003) and purchase order items (EXIT_SAPLV50E_004), in
     order to already set the required country code in the documents.
     Otherwise, in these releases you can also use Transactions VEFU and VEXU
     to manually maintain Intrastat data.
                                                                       Page 5
     Valid releases
     Software Component                        Release
                                               from            to
     SAP_APPL   SAP Application
                                               500          - 500
                                               470          - 470
                                               46C          - 46C
                                               46B          - 46B
                                               45B          - 45B
                                               40B          - 40B
                                               31I          - 31I
     Further components
     MM-FT-GOV
      Declarations to Authorities Import
     Reference to related Notes
     Number    Short text
     603152    Country Code for "Serbia and Montenegro"
                                                                       Page 6
     Assigned Correction Instructions
     $$----
$$
     $ Correction Inst.         0120061532 0000735967                     $
     $----$
     $ Valid for       :                                                  $
     $ Software Component   SAP_APPL   SAP Application                    $
     $  Release 45B          All Support Package Levels                   $
     $  Release 46B          All Support Package Levels                   $
     $  Release 46C          All Support Package Levels                   $
     $  Release 470          All Support Package Levels                   $
     $  Release 500          All Support Package Levels                   $
     $----$
     $ Changes/Objects Not Contained in Standard SAP System               $
     $$----
$$
     *& Object          REPS ZX50GU02
     *& Object Header   PROG ZX50GU02
     *>>>> START OF INSERTION <<<<
INTRASTAT
     IF i_reporting_type EQ 'I'.
change COUNTRY OF ORIGIN
       IF c_record_intrastat-ursprslnd EQ 'CS'.  "Serbia/Montenegro
arrival
         IF i_direction EQ '1'.
           DATA: z_lifnr LIKE ekko-lifnr.
           IF i_mm_purch_order_header-llief IS INITIAL.
             z_lifnr = i_mm_purch_order_header-lifnr.
           ELSE.
             z_lifnr = i_mm_purch_order_header-llief.
           ENDIF.
set country depending on vendor
           IF z_lifnr EQ 'XS4711'.                 "<-- vendor
             c_record_intrastat-ursprslnd = 'XS'.  "<-- new country code
           ENDIF.
           IF z_lifnr EQ 'XK4712'.                 "<-- vendor
             c_record_intrastat-ursprslnd = 'XK'.  "<-- new country code
           ENDIF.
set country depending on vendor and material
           IF z_lifnr EQ 'CS4713'.                     "<-- vendor
             IF i_mm_purch_order_line_item-matnr EQ 'mat55'. "<-- mat.no.
               c_record_intrastat-ursprslnd = 'XM'. "<-- new country code
             ENDIF.
             IF i_mm_purch_order_line_item-matnr EQ 'mat71'. "<-- mat.no.
               c_record_intrastat-ursprslnd = 'XS'. "<-- new country code
                                                                       Page 7
             ENDIF.
           ENDIF.
dispatch
         ELSEIF i_direction EQ '2'.
set country depending on material and plant
          IF ( i_sd_invoice_line_item-matnr EQ 'mat_from_serbia' "<-- mat.no.
               AND i_sd_invoice_line_item-werks EQ 'CS01' ).       "<-- plant
             c_record_intrastat-ursprslnd = 'XS'.       "<-- new country code
           ENDIF.
          IF ( i_sd_invoice_line_item-matnr EQ 'mat_from_kosovo' "<-- mat.no.
               AND i_sd_invoice_line_item-werks EQ 'CS12' ).       "<-- plant
             c_record_intrastat-ursprslnd = 'XK'.       "<-- new country code
           ENDIF.
         IF ( i_sd_invoice_line_item-matnr EQ 'mat_from_montenegro' "<-- mat.
             AND i_sd_invoice_line_item-werks EQ 'CS99' ).         "<-- plant
             c_record_intrastat-ursprslnd = 'XM'.       "<-- new country code
           ENDIF.
         ENDIF.
       ENDIF.
     ENDIF.
EXTRASTAT
     IF i_reporting_type EQ 'E'.
change COUNTRY OF ORIGIN
       IF c_record_extrastat-ursprslnd EQ 'CS'.  "Serbia/Montenegro
     *... see INTRASTAT !
     *... !!! just replace 'c_record_intrastat-ursprslnd' by
     *... 'c_record_extrastat-ursprslnd' !!!
       ENDIF.
change COUNTRY OF DISPATCH
       IF i_direction EQ '1'      AND               "import
          c_record_extrastat-versendld EQ 'CS'.  "Serbia/Montenegro
         DATA: zz_lifnr LIKE ekko-lifnr.
         IF i_mm_purch_order_header-llief IS INITIAL.
           zz_lifnr = i_mm_purch_order_header-lifnr.
         ELSE.
           zz_lifnr = i_mm_purch_order_header-llief.
         ENDIF.
set country depending on vendor
                                                                       Page 8
         IF zz_lifnr EQ 'XS4711'.                   "<-- vendor
           c_record_extrastat-versendld = 'XS'.  "<-- new country code
         ENDIF.
         IF zz_lifnr EQ 'XK4712'.                   "<-- vendor
           c_record_extrastat-versendld = 'XK'.  "<-- new country code
         ENDIF.
       ENDIF.
change COUNTRY OF DESTINATION
       IF i_direction EQ '2'      AND               "export
          c_record_extrastat-bestiland EQ 'CS'.     "Serbia/Montenegro
set country depending on sold-to-party
         IF i_sd_invoice_header-kunag EQ 'monte01'.  "<-- sold-to-party
           c_record_extrastat-bestiland = 'XM'.      "<-- new country code
         ENDIF.
set country depending on payer
         IF i_sd_invoice_header-kunrg EQ 'Kos05'.    "<-- payer
           c_record_extrastat-bestiland = 'XK'.      "<-- new country code
         ENDIF.
set country depending on material
         IF i_sd_invoice_line_item-matnr EQ 'mat_to_serbia'. "<-- mat.no.
           c_record_extrastat-bestiland = 'XS'.       "<-- new country code
         ENDIF.
       ENDIF.
     ENDIF.
     *>>>> END OF INSERTION <<<<<<

Hi
Which your problem?
It seems the std code has to be changed because the sign of some countries are changed.
So you have to insert/delete the new code as the note explains:
- Insert the code between *>>>> START OF INSERTION <<<<
and *>>>> END OF INSERTION <<<<
- Delete the code between *>>>> START OF DELETION <<<<
and *>>>> END OF DELETION <<<<
So you should implement the user-exit indicate in the note.
Max

Similar Messages

  • Pls som1 send me sap oss note for customising higher edu cess (1%) in CIN

    hi
    pls some body send me sap oss note for customizing higer edu cess in cin
    bcoz i dont have id n password for sap marketplace/help portal.
    my email id [email protected]

    Hi
    I have sent the following notes to your mail id:
    1040241 Incorrect calculation of Sec & Higher Education CESS in J1IG
    1044509 Master note for SECess in release CIN30A - Budget 2007
    1032265 Budget 2007-Legal implications
    1055370 ER1: Changes for SECess as per budget 2007-08
    Cheers
    Jags

  • Business area with SAP support in SAP OSS notes #

    Dear all,
    I would like to search OSS documentation which mention that SAP does not support business area anymore? anyone knows the exact OSS number for thatstatement ?
    Because as far as I remember, SAP does not recommend business area. SAP advised customer to use PCA or new GL instead.
    Thank you for your kind help.
    Kind regards,

    Check OSS Note 321190. Here is one section:
    To meet the changing requirements, we will focus the further
    functional developments in Financial Accounting on the profit
    center entity. With General Ledger Accounting (new) in Release SAP
    ERP 2004, you can create financial statements for profit centers.
    See Note 756146 for more detailed information.
    o The business area will be retained in the present form. The data
    and functions will continue to be available. In the context of the
    use of classic General Ledger Accounting, business area accounting
    (Customizing OB65 for business area financial statements, SAPF181
    and SAPF180) will continue to be supported to the known extent;
    only a further development in the context of classic General Ledger
    Accounting is not planned.
    BG

  • HOW TO CREATE SAP OSS NOTES ID

    I am SAP FI certified and i have my certificate but i have only my SUID as written on certificate. now i want to create my OSS NOTES is , along with SUID i need to give password to create ID. please guide me how create oss id

    Hi,
    Login on sap market place then go to Data Administration------>User Data -
    >Request new users.Then give authorization to this user.
    Regards,
    Pankaj

  • SAP OSS NOTES

    Hi experts!
          I don't understand very much how can I know if a SAP note is applicable or not for my system. I know that if I go to System -> Status -> Component Information I can see the realease and level of the support package but in the note I see an specification of the release and version of the support package... that is the part that I don't understand very much... That means if the version is higer in the note and in the system the version is minor the note is applicable? I'm correct?
    Thanks for the help!

    Hi Carlos, pls chk this.
    OSS notes describe bugs/issues/problems in SAP software, provide the technical details and correction instructions.
    Notes also sometimes cover 'features' (ie things that are not bugs) that cause ambiguous application behavior. Additionally, specific information relevant to releases, SAP strategy (eg when is support to a particular version going to end) regarding its products and so on is also provided via notes.
    You have a search portal for SAP Notes which will tell you more about it.
    You would a S-user id to logon to the OSS Notes. The S-user id is basically based on the installation number of your SAP system. You can get the user id from your BASIS. Once you get this then logon to this link:
    http://service.sap.com/notes.
    Check this:Re: oss
    Also check this document. It has the step by step procedures with screenshots to apply a Note.
    http://www.sappoint.com/basis/snote.pdf
    first you should have oss id then you can see oss note here
    https://service.sap.com/notes
    take a look thread
    oss
    oss note is a document provided by SAP that described particular issue, usually with symptom, cause(the reason), solution provided, and some other info (correction instruction and code).
    oss note has version, date issued, and categorized to application area (e.g BW, CRM, etc).
    in practice, when error occured, normally there will be error number and message, that can be used to search oss note which in return may provide possible solutioon. some problem will have short dump, and in the dump, there is suggestion to search oss note with using keywords specified(program name, module name, etc.)
    cheers,
    Hema.

  • SAP OSS Note 804753 Not working.

    Followed all the instructions in the Note and still it is not working , this is done in order to post the data of parallel ledger to CO.
    Transaction used is FB01L
    Please let me know if there are any ways existing other than raising the OSS Note request in Service Market Place.

    Hi
    For this issue, I suggest you to create a customer message (component FI-GL-GL-RP).
    https://service.sap.com/support
    Cheers, Kyoko

  • SAP OSS Note 70623

    Hi All,
    I have a problem by implementing note 70623. Whole solution mentioned in this not is quite complicated to me, (especially this table 'PT' is a misery to me - must be some shortcut but don't know which) so  I wanted to ask whether someone does have some experience with this note and could help.
    Thanks.

    Hi,
    just for all others having the same issue:
    Please use the NODATA character as value for bank name. By default: E1KNBKM-BANKA = '/'
    Regards
    Martin
    Edited by: Martin Pichlo on Nov 30, 2011 2:54 PM

  • OSS note system

    Hello, I could not find a clear answer from search option, sorry for stupid question
    How do I access SAP OSS note system, from searching other posts I found you need a user I.D.?
    How do you get a user I.D.?
    What site do you enter your user I.D. when you get one?
    Just want to see a note created for a challange I have but I do not have access to the note system.
    Halp please
    Edit: also please advise if the note system is the same for every one, if I have a message created by SAP will every one with access be able to view my message (OSS note)?
    Edited by: Arakish on Sep 13, 2010 11:37 PM

    you can access OSS from internet: http://service.sap.com/notes
    an incident you enter there can be seen from all your colleques that work on the same SAP system, but not from anybody else.
    you basis consultants are usually the group that has access and can grand access and authority to you

  • OSS Notes Comparison among different systems

    Hi
    How do we check if a particular OSS note is implemented in Dev , Test and also Production System.
    Normally we do a version comaprion .
    I would like to know do we follow the same approach for checking if code changes is made effective in different
    systems . I dont have authorization with SNOTE transaction .
    So is there any approach for the same.
    Appreciate the inputs
    K.Nadesh Kumar

    Hi Raj
    Thanks for the valid inputs .
    When i ran the report SCWN_NOTE_BROWSER it has asked for some selection screen parameters .
    So if i am correct
    in the Selection Screen i muct give the follwoing parameters
    SAP Note Number
    and also
    Implemented status - Completely Implemented
    and Sort order as Number (radio button)..
    Or in the other method you had suggested i can do a version management if that is the case do we take the main
    program for which the SAP OSS note might be implemeted and do a code comparison
    I have previously done only code comparion for the program through SE38
    K.Nadesh Kumar

  • Details of OSS Note in SAP tables

    Hi Experts,
    Do we have any standard report or a simple way by which I can get all the contents of a specific OSS note without going into SNOTE transaction. The reason why I am asking is for analysing a large volume of OSS notes. If I need to go through SNOTE and then find the objects it will be tedious. I know the table where in these details are there but I want to know if there is any report handy to use.
    Kindly help
    Regards,
    Vijay V

    Hello,
    I'm afraid, but there is no such report in SAP using which you'll get the content os any SAP note.
    Another option than SNOTE transaction is to use SAP marketpplace to findout the same.
    Regards,
    Nitin

  • How to check the OSS note in SAP Client system ?

    Hi all
    I just have a small question ... how do we check whether an OSS note is applied in the SAP client System or not ?
    Please let me know..
    Thanks
    Mallikarjun

    Hi
    1) One way is checking the version and support pack applied.I.e,
    On the main SAP screen > Systems > Status > Check details of the "Component version".
    2) STMS > Double click on the system you need to check > Check the status of your request.
    Nadini

  • OSS note and SAP Note

    Dear experts
    Can Anyone kindly clear me the difference between
    1.OSS note and SAP Note.
    2.SAP Patch and Support Packages.
    Thanx in advance
    Regards
    G.Reddy.

    OSS Note and SAP Note are the same thing.
    Support Package / Support Package Stack refers to a group of corrections and/or enahcnements which include a group of OSS Notes, and changes to multiple components that SAP has tested as a group and recommends be installed together. 
    I think Patch may be a little more ambigous.  For some, they might mean Support Package when they use the term Patch, or maybe even an OSS Note.   SAP also refers to updates to some components as Patches, e.g. they release database patches, and with BW, the BW SAPGUI Addon is also sometimes referred to as the Front End Patch.

  • OSS Note in SAP

    Hi GURU's,
    What is OSS Note in SAP. I do not know about this. But so many times in Sdn some GURU's will suggest go to OSS note which help you. How to get authorisation to enter into OSS Note. Any membership. I am working in some company. Can you provide me the detailes?
    Thanks inadvance,
    Yogesh

    Hi
    On-line Support System is a service that SAP offers to their customers in order to manage situation in which you have to involve SAP in order to find a solution to your problem...if there are some errors in the std program, SAP can provide a note that contains the instructions to solve the issue..but notes are related also to FAQ, performance issues, consulting....
    you can search for a note by www.service.sap.com/notes or from your system with the transaction OSS1..
    Time to time SAP releases solutions of our (SAP) product as in form of notes. So it is just explanation of problem in SAP. You can use as a details of soln of your problem.
    OSS Note are nothing but correction/enhancement codes for a bug or error. When SAP releases a product it may have some bugs which are discovered later. Hence SAP releases the correction code as a OSS Note.
    We raise OSS notes when we are not able to resolve some of the issues or say some standard functionality/feature is not working out in BW and we ask help from SAP to resolve those. In turn, SAP comes back with a solution documented as an OSS note.
    You can logon into http://service.sap.com/notes
    OSS note is a document provided by SAP that described particular issue, usually with symptom, cause(the reason), solution provided, and some other info (correction instruction and code).
    OSS note has version, date issued, and categorized to application area (e.g BW, CRM, etc).
    Check my thread below.. it will definately solve your issue..
    Where to find SAP note?
    Regards
    Swati

  • How to create OSS note for SAP?

    Hi,
    How do I create OSS for SAP? Any step by step or notes related?
    appreciate your help!!!!!!
    Thanks,

    Hi Afi,
    If you are looking for creating an oss message with SAP  follow the path
    http://service.sap.com/notes --> Report a Product Error --> select your system --> Enter the search term ( related to your issue)  and componenet ( if its basis BC , change management BC-CTC , if its for solution manager use SV-SMG or the sub component )
    Now it will show the related oss notes and if that notes are not helpful you can create a message with SAP by clicking create message.
    Thanks
    Prince Jose

  • Help needed applying OSS note 981295 in SAP ECC 5.0 with SAP Kernel 640_REL

    Hi Experts,
    Our functional team is trying to implement a kind of workflow through a notification via SAP Inbox (transaction code SBWP) after the release of a Purchase Order (Transaction code ME29), this is every time when a purchase order is released through transaction code ME29, a notification will be sent to the SAP Inbox (transaction code SBWP). So according to this they told me to implement OSS note 981295, but using transaction SNOTE I get the message that this note can't be implemented in my system this because my SAP Kernel version is the release 6.40 and the needed SAP Kernel for this note is from version 7.00 to version 7.10. So what do you recommend please in this case in order to implement the required functionality on our SAP ECC 5.0 System?
    Best Regards,
    Erik Espinosa

    Note clearly states
    This note is only relevant if the following Support Package is installed in the system:
    NW04s: Support Package SAPKB70008
    Meaning is not relevat to your case. You need to keep looking... if you open an OSS message people from SAP might put you in the right direction.
    Regards
    Juan

Maybe you are looking for