Product sales license-Legal control

Hello Gurus,
I need your help for following two issues. I tried researching the issues which gives me very little clue on the approach. If you guys can help me out I will be very grateful.
My client is a pharmaceutical company which requires license to sell particular drugs to particular customers. This is legal requirement. Following are the issues where I am stuck.
1. How can we control particular license for particular state alone.
E.g. If there are 10 customers in the particular state then we should be able to control the sale of particular product to that state only. I know we can control it by company code or country in the license master but not sure how to do it by State.
So for product ABC if we have license for say California, then we should be able to sell it to all the customers in California. System should validate the ship to party state and allow the sale for California alone and should not allow to process the order if the state is other than California.
2. How to control the total quantity of specific product to be sold by particular license to specific customer.
In license master I know we have field for value and quantity. With value field system validates the value but not the quantity. And also we need to have traceability of how much quantity is consumed from that license.
E.g. If we have legal license to sell product ABC to customer XYZ for say 1000 units for liense validity period of say one year. And if we create 10 orders for first 8 months which completes the quota of 1000 units and ten we try to create order with more quantity which surpasses the 1000 unit quota under this license for this customer then system should not allow processing the order.
Also the quantity for each license is limited and there needs to be a full audit trail from the sales order back to the license.
Gurus please help me out in this I will really appreciate your help. Full points guaranteed.
Thank you in advance.
SAPContributor

Hi PJ,
Thanks for the input.
But the solution which you have suggested are directly related with transactions and not with license  or license master(VX01n) and we use sales orders with license validationin legal control so cant use Contracts. All this thing need to be controlled at license level.
I was thinking something on following lines. Gurus please chip in your recommendations:
1. I was thinking of adding new field in license master for state an dthen have system validate it when that particular license is called in sales order through a userexit.
2. I was thinking to use standard field "Quantity"  in license master (VX01N) to maintain maximum quantity that license can sell. And the during sales order creation have user exit to validate this maximum quantity with all the sales order quantities created with reference to this license. If the sum of all quantities associated with this license is more than or equal to maximum quantity maintianed in license master then stop the order. If not then allow the order to be created for the quantity available.
Gurus. please let me know your comments on above solutions.
Thank you.
SAPcontributor.

Similar Messages

  • Legal controll error is sales order - license cannot be used

    Hi Team,
    The sales order has Legal Control: Issue Error, due to this we are unable to deliver the goods. the below message found in the Log details:
    Access object: License Master
    Key (license nubmer): xxxxx
    Validity period not long enough
    Requested delivery date for item: 02/20/2012
    End of validity period of license: 1231/2011
    License cannot be used
    The license has the period Valid From 01-01-2011 To 31-12-2011, can this be modified? please advise.
    we tried to extend the validity of license but it is not allowing. can anyone give some inputs on this error.
    Thanks,
    Rajam

    Hi Abir,
    In my situation, the sales order already creted in Dec 2011 and has delivery dates in Jan 2012. And the SO has GTS error and unable create delivery, business user releasing the SO manually by going to VX22N for emergency deliveries. but we need permanent solution.
    the license is created under License type NLR (no license required). i dont think, user will accept for creating a new license for this as it is using for couple of years. we are trying to extend the validity of license by going to VX02N but valid From and To fields are greyed out. we also checked the Accepted and Extended fields in Status Tab by giving the future dates but Valid From and To dates are not changed.
    Please advise...
    Thanks in advance.
    Rajam

  • Legal Control for export of sales. Consumption of license by sales order

    We are running legal control for the export of sales of which we require export licenses for certain parts to specific partners, however, I am having difficulty in gettiing a sales order to consume the license thereby reducing the amount of new sales orders I can raise under the license.
    For instance, I have a license to sell 50k and I raise a sales order for 45k, this should then only allow a sales order of upto 5k to be raised unfortunately the consumption is not happening and so therefore all future orders can utilise the license therefore allowing over shipment against the export license, a very serious matter.
    I have created a license type that has 'maximum Amount specified' in transaction VE51 but no consumption takes place.
    Any ideas?

    Hi,
    Try this link,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d2/cb4759455611d189710000e8322d00/frameset.htm
    Cheers,
    Shailabh

  • FT Legal control license locked status

    When creating legal control licenses using VX01N the license type is configured with certain items to check such as ECCN number, customer number or destination country. Within those records is a status that shows a lock. The lock is either unlocked meaning it has not been assigned to any sales orders or locked meaning it has been assigned to a sales order.
    I have created a particular license type to check internal control of drawings we export our plants around the world based on part number. This means that the check will happen with multiple orders and I want it to release automatically. It seems we find that the first order releases automatically and locks that record but then any subsequent order for the same license red lights and we must manually assign it to the order. Is there any way that anyone knows of the allow multiple automatic releases for a single license?? Is this normal for these documents in SAP to only allow automatic releasing only one sales order or do I have something wrong in my configuration?
    All help is greatly appreciated!!! Have a great day!!!
    Debbie

    Debbie can you explain to me how you configured it. I am on a similar project where the requirement is to allow customer service to create orders but block them from delivering until they are checked. Your solution seems to fit the criteria. We need to maintain liscences and all. I am new to this area so your steps in detail would be helpful.

  • Legal control Issue - License cannot be used

    Hi Team,
    The sales order has Legal Control: Issue Error, due to this we are unable to deliver the goods. the below message found in the Log details:
    Access object: License Master
    Key (license nubmer): xxxxx
    Validity period not long enough
    Requested delivery date for item: 02/20/2012
    End of validity period of license: 1231/2011
    License cannot be used
    we tried to extend the validity of license but it is not allowing. can anyone give some inputs on this error.
    Thanks,
    Rajam

    Its a SAP GTS related error.
    I hope you are aware of the License are created under Legal Control in GTS system.
    If I'm not wrong, we can maintain License (GTS) by using TCode /SAPSLL/LCLIC01 and if the License is in active mode then can be modified by using TCode /SAPSLL/LCD_CHANGE
    If my input didn't assist, then try to post your SAP GTS related query in SCN Forum following, for expertise help on SAP GTS.
    - [Forum on *_SAP Global Trade Service_*|SAP Global Trade Services (GTS);
    Regards
    JP

  • Legal control licenses

    Hi All,
    As far as I know the country codes are registered for each legal control licenses. It looks like Lyon is not registered for Z3 licenses. Could you please let me know how check and add it.
    Please tell me the pathu2026u2026u2026
    Aditya

    I have maintained in the Define Product Classification by Destination Country.
    Now its working fine.

  • Legal control--- legal regulation.

    Hi
    Can anyone please give the difference between legal control and legal regulation.
    I have little bit confusion between these two.
    please provide some examples.

    Hi Gopala, In legal control maintain master data and business transactions in accordance with the legal requirements for imports and exports. Also use monitoring and simulation tools that help to  ensure that your business is compliant with current import and export laws. Legal control includes checking business transactions for products that require licenses, as well as the check for embargo situations for these business transactions. Activate legal control for imports and exports, along with embargo checks. Whereas the legal regulation defines how the system determines suitable export licenses based on the determination sequence, license types (which differ according to the government agency), and the export control classification number (ECCN). Legal regulations for export are based on the country of departure and should therefore be activated to check for export licenses. Legal regulations for import are based on the country of destination and should therefore be activated to check for import licenses. Ashish

  • New tab for Contract for data about products and product sales.

    Looking for ideas to implement a new tab on the Contract (RECN)
    We have some basic data about products and product sales that we want to have implemented on a screen tab for a contract.  The user needs to be able to enter information about a product, quantity, year grown, and tax info. And then each of these products may have one or many sales records showing date of sale, quantity sold, and a brief note.
    So a contract can have 1 or many products and a product can have one or many sales records.
    The user needs to be able to enter, update and delete any one of these records.  And, ideally, enter multiple of each before saving.
    Do any of you have ideas about how to go about this?  Using ALV grids? or table controls? I'm still wet behind the ears regarding doing screen development in SAP so am open to any and all suggestiions.
    SAP 6.4 is the version we are at.
    Thanks
    Laurie

    Maybe the original order to renew and keep unlimited data was cancelled because it was not an option. It wasn't a "bait-and-switch" The order was cancelled, it wasn't switched. When you called to reissue the order they told you the correct options so they did not switch you without your knowledge. The second rep was correct, he didn't lie, the first rep did. Verizon cancelled the order because if they didn't you would have been set up w/ new 2 year agreements on a tiered data plan, which would have been illegal. Thats why they cancelled it. So you can either not make the change, keep the unlimited data and buy the phones outright. Or switch, go to a tiered plan, and get new phones. By glitch they meant the system accidentally allowed you to keep the unlimited plan, though it was not an option. Verizon has had this rule since they removed the unlimited plan back in '11.
    << Full name of rep removed >>
    Message was edited by: Verizon Moderator

  • Legal Control functionality for Purchase order

    Hi,
    We have a requirement where in while saving the Purchase Order, the system should look whether for that material if the legal control data/ foreign trade data is maintained specifying that it is a controlled substance then the licence should be maintained before saving the PO. If the licence is not maintained then the Purchase order should not be allowed to be saved.
    In a nut shell, we want to control the saving of Purchase order depending on whether the licence is maintained or not.
    This has been done for Sales order. The standard SAP functionality allows the document control.
    This can be seen in SPRO - Materials Management - Purchasing - Foreign trade/Customs - Legal control - Document control.
    Here we can see that only Sales order and shipping documents can be controlled.
    Is there any way we can control the Purchase Ordr also?
    Please let me know for any clarification regarding the requirement.
    Regards,
    Ramachandra DN

    Hi Ramachandra,
    this kind of functionality is not available in SRM. Have a look into GTS Module, which can be connected to SRM for achiving your requirement. http://help.sap.com/saphelp_gts30/helpdata/en/1d/8082ab7248f74ca09861d9713b9a52/content.htm
    All somehow available control, compliance and trade features are available via GTS. Any further need to be accomplished via self development.
    Cheers,
    Claudia

  • Foreign Trade - Legal Control for scheduling agreements

    We are on version 4.6C and I am setting up the legal control for my company.  It seems to work quite well for sales orders but then when I went in to configure scheduling agreements it errors and tells me you cannot do legal control for document type "E" which are typically scheduling agreements.
    I cannot find any documentation on this.  Does anyone know why legal control does not work for scheduling agreements and/or is this functionality available in the Global Trade Services module??
    Thanks in advance for any and all help!!
    Debbie

    Jean,
    I have done a Foreign trade implementation.
    The core team of the client are FT experts and they would tell you about the legal requirements. Your job is to map them in SAP FT.
    In this process you would gain Knowledge about  Foreign trade regulations of that country. Remember its country specific.
    The ECCN's are provided by the client. Info abt the same is extensivley available on the NET.
    You have to get the list of all the mtrls which fall under the controlled cantegory of the respective commerce ministry and then start the config setting  these mtrls as relevant for FT checks.
    Thanks
    Vishal

  • Business model mapping query (High sea sales) - automatic credit control cn

    Our Client imports goods(chemicals & liquids) in bulk... on ships .. (to india)
    It sells (the sale is made) before the ship enters the indian waters (territory)..  (on the sea itself)
    Practically this is what happens:  (HIGH SEA SALES)
    Invoice is done ( with all the statutary docts), as soon as the sales order is created. Lastly, the delivery happens.
    Now, the client wants automatic credit check at DELIVERY LEVEL. ( After the invoicing is done, legally the goods belong to the customer, but our client wants to have a control on delivery, if at all any payment  issue arise....
    How to do this?
    any ideas?
    Rgds
    Sumanth.Gururaj

    Hi,
    Please go through this
    Settings for determining the credit control area of a document.  The settings of items 1 - 4 are taken into account according to their priority.  The credit control area found is stored in field VBAK-KKBER.
    1. Transaction OB38
       Check which credit control area is assigned to the company code.
       Company code:
       Credit control area:
    2. Transaction OVFL
       Check which credit control area is assigned to the sales area.
       Sales area:
       Credit control area:
    3. Transaction XD02 or VD02
       Check which credit control area is assigned to the payer.
       Payer:
       Credit control area:
    4. Transaction SE37
       Is user exit EXIT_SAPV45K_001 being used?
    5. Transaction OBZK
       For the settings under items 2 - 4, field "All company codes" must be marked in Transaction
    OB45, or the credit control area must be entered under the relevant company code in table T001CM of the credit control areas allowed.
    Company code:
    Credit control areas allowed:
    6. Settings for the credit checks
    7. Transaction OVAK
       Which settings do exist for the sales document type used?
       Sales document:
    Check credit:
    Credit group:
    8. Transaction OVAD
       Which settings do exist for the delivery type used?
    Delivery type:
    Credit group for delivery:
    Credit group for goods issue:
    9. Transaction OB01
       Credit management/Change risk category
       Definition of the risk category for each credit control area. This risk category can be assigned to a credit account by using Transaction FD32.
    10. Transaction OVA8
        Here, the individual credit checks for key fields
        o credit control area
        o risk category
        o credit group are set. Take these key fields from the above settings and go to the detail screen. In particular, check whether fields "Reaction" and "Status/block" are set correctly. To carry out follow-up actions in case of a credit block, the credit check status must be set (field "Status/block").
    11. Transaction FD32
        Credit master data for the payer of the relevant document.
        Credit account:
        Credit limit:
        Risk category:
        Currency:
    12. Settings for updating the credit values Update of the credit values is required for the limit check (static or dynamic credit limit check).
    13. Transaction OVA7
        Update of the credit value is active for the corresponding item type if the check box is marked. This field corresponds to 
        field "Active receivable" in Transaction VOV7.
    Item type: 
    Active receivable:
    14. Transaction V/08, Pricing
        In the pricing procedure used for pricing, subtotal "A" must be entered in a line for determining the credit value (mark the pricing procedure and doubleclick on "Control").
    Usually, the net value plus taxes is used. This way the system is determined to use this subtotal for credit pricing. The credit price is stored in field VBAP-CMPRE and used for update and credit check.
    You can find the used pricing procedure of the order under "Item -> Condition -> Analysis".
    Pricing procedure:
    Line with subtotal = 'A':
    15. Transaction OB45
        Which update group (field "Update") do you use in the relevant credit control area? The default setting is "12". If you use another update group, check whether this is fine with you. If you open an OSS message, please tell us the alternative update group.
    Credit control area:
    Update:
    16. Transaction OMO1
        Which kind of update did you choose for structure S066? 
         In any case, "Synchronous update (1)" has to be chosen as the kind of update.  All other settings will lead to errors.
    I hope this will resolve your issue
    Thanks
    Anil Hooda

  • Reg: reading  the status of material in terms of legal control in GTS

    Hi All,
    I have a requirement like i need to capture the data from GTS for the status of material in terms of legal control(/SAPSLL/LGREG) as well as Legal Control: License Header(/SAPSLL/LCLIC) as a RFC call from R/3 To GTS module.
    Can any one come across such sort of requirement?
    Kindly provide is there is any RFC enabled funcion module is enable to meet the above requirement.
    Appreciate your answers.
    Cheers,
    Joe

    The data has to be retrieved based on the combination of billing docuemtns material and item number from R/3 through a RFC call to GTS.
    Tnx,
    Joe

  • Legal control error

    HI  ALL,
    I am getting following warning message while creating sales order for some materials .
    ,we have Legal control for order typy (or) check as "c"--legal control check in dispatch and export area
    "Reference number of a document from back error"
    Legal control : custs prod. mast. required
    material 225-654
    material 225-789

    Hi,
    I was getting the same error recently with an item i have solved using t.code vi58.I don't know how far its going to help.
    Pls try.
    Regards,
    Ramesh.

  • Legal Control : Document Type Mapping not Maintained

    Getting an error SAP GTS :Legal Control : Document Type Mapping not Maintained ,while creating order in feeder system .
    I checked the configuration maintained SAP Global Trade ServicesSAP Compliance ManagementGeneral SettingsDocument StructureAssignment of Document Types from Feeder Systems-Assign Document Type at Feeder System Group Level
    Similarly I checked for item category.
    Please let me know what further configuration have to be maintained for correcting the error.
    Thanks & Regards

    Hi,
    The document type mapping is required in R/3 system too. You have to maiatain order type say OR/TA in R/3  below path
    IMG--> Sales and Distribution --> Foreign Trade/Customs --> SAP Global Trade Services - Plug-In --> Control Data for Transfer to SAP Global Trade Services --> Configure Control Settings for Document Transfer --> SDOA.
    Note: If you maintain OR in R/3, you will have to maintain same in GTS. if you maintain TA in R/3, same maintain in GTS.
    Regards,
    Lakshmikanth

  • Legal control

    HI gurus,
    I'm Configuring R/3 Foreign Trade. i have following requirement.
    Requriement:
    in sales order, i have entered following data
    Sold to= US customer, Ship to= International Address. then system carries legal control.(because ship to is international) and block the order if dint find valid licence in licence master.
    My requriement is
    System should perform legal control based on
    Ship to and also enduser(partner function). (i.e legal control should be active  when any of ship to and enduser are international address.)for eg: even Ship to is in US, and End User is Internationl, then legal controll should carry and block the sale order.(standard system is NOT carrying legal control as ship to is in US)
    please tell me what programm i have make change and any user exits?
    Thanks In Advance.

    Hi Saab,
    I think you need to put some more information and be more clear on what you want or looking for, so we can help you.
    MM03 is a ECC feeder system TCODE, used to display Material.
    MM03 is used to just display Material and has no impact.
    GTS comes in play when you activate the Legal Regulations (LR) and Legal Controls (LC) for Laws and Materials respectively
    Once the LR or LC are activated they screen the material which you use in creating Purchase Order or Sales Order.
    Thanks

Maybe you are looking for

  • Strange error when running ADFBC on Jboss 4.0.3SP1

    jdeveloper : 10.1.3.3.0.4157 jboss : 4.0.3SP1 database: Oracle10g I have developed a simple JSP page which talks to a table in the database using ADFBC, while I was developing I was using the OC4J server that comes with JDeveloper it runs fine, I dep

  • How can I delete a fixed profile rule in a Linksys ATA?

    I have a Linksys SPA2100 ATA that I used with a previous VoIP provider. I did a factory reset but their profile rule is still listed in the first Profile Rule section under the Provisioning tab. Profile Rule B, C and D are blank and I can enter a pro

  • IPad mini continues to restart

    My iPad mini keeps restarting.  A weird thing will happen before it restarts, the screen will go black slowly.  There is a cascading . like all the pixels are disappearing one by one.

  • Need help about classpath and packages

    I am new to jAVA and trying to learn packages.I wrote a java programme called AccountBalance.java with package MyPack; I set the classpath as C:\java programs\MyPack. My java program was compile fine BUT classes were not creating in MyPack folder. Ca

  • Is a 60watt MagSafe Power Adapter compatabile for a MacAir?

    I have a 45watt Mag Safe Power Adapter for my MacAir.  I also have a 60 watt Mag Safe Adapter, and says on box, only for MacBook/Pro.  Can I use this for my MacAir??