To restrict some customers sales order which are less account balance.
Hi expert,
I want to restrict some customers sales order which are less account balance.
example:
ABC customer account balance is 100. now they ordered 150. now this SO document will not be posted until approval from superior. how can i do restrict this?
Please help regarding this
IF @transaction_type IN ('A','U') AND @Object_type = '17'
BEGIN
IF EXISTS (select 'A','U' FROM ORDR T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE @Object_type = '17' and T1.Balance < 100 AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
select @error = 1,@error_message = 'Customer Balance is below RS/-100 1You are not allowed to post SO'
END
END
If i follow this instruction it will work for all customers. but i need sales person can not add this document but superior can add this. and i also need credit customer is not allowed to add SO and debit customer is allowed
to add SO.
Regards,
Mizan
Hi mizan700 ,
I can't understand your requirement as how can Salesorder restrict for a SalesPerson . please explain your requirement .
Thanks & regards
Surajit Kundu
Similar Messages
-
Stop order acknowledgment for Sales order which are re-opened.
Hi,
I have a situation wherein a sales order is re-opened for correction after all setllement was done for the order.This re-openeing is causing sales orderacknowledgment to re-trigger.
Obviously , we dont want to sent an acknowledgment where order was invoice and closed in past. How do I achieve this
Appreciate responses and ideas!!
Kind Regards,
Sumit KatyalYou can add a requirement routine to the output determination to check the the order is not delivered. I.e. if the order is delivered, do not issue the output type.
-
Customers, Sales Orders Restrictions based on Sales Office and Sales Groups
hi all,
We have a typical scenario for one of our customers. They are SAP ERP, ECC 6.0.
They have sales employees/managers assigned to customers. In order to maintain the link between the sales employees and the customers, their earlier implementation partner followed the following method for the linkage.
Each sales employee and each sales managers are given a SAP User ID like 101, 012, 103 etc.. Sales groups OR Sales offices are also maintained with the same numbers/IDs. At the customer master level, each customer's sales group is given the sales employee ID (which is same as that of the sales group). The example is as follows.
Customer No. Sales Group Sales Office
CU1 101 108
CU2 101 108
CU3 102 108
CU4 103 109
CU5 104 110
The sales group names and the sales offices names are given the same names as that of the user IDs of the sales employees/sales managers. In the above example, the sales employee 101 (sales group 101) is assigned to customers CU1, CU2. The sales manager 108 (Sales office 108) is managing the sales employees 101 and 102.
Now the customer has some authorization issues. He wants us to provide authorizatinos in such a way that -
if the sales employee 101 logs on to the system he should be able to Display the CUSTOMERS and the Sales Orders (XD03, VD03, VA03) that are assinged only to him (In other words with the sales group 101) and similarly for other sales employees.
if the sales manager 108 logs on to the system he should be able to display the customers and the sales orders that are assigned to his sales employees (101, 102). In other words with the sales office as the manager's ID 108.
I tried to use the authorization object V_VBKA_VKO but this doesnt see to be serving the purpose as this object is not being checked at all in any of the above VA03, XD03 and VD03 transactions.
Similarly I did not find any other authorization object which makes use of Sales group field and Sales office field which also has a linkage to VA03, XD03 and VD03 transactions.
The customer is evaluating our contract with them based on this solution.
Any help is greatly and highly appreciate.
Thanks,
Niran.Hi,
Please use the following authorization objects for your purpose. For more details please go through the documentation of the objects:
V_KNA1_BRG Customer: Account Authorization for Sales Areas
V_KNA1_VKO Customer: Authorization for Sales Organizations
FYI: V_VBKA_VKO SD Sales Activities: Authoriz.for org.data and sales activ.type
contains the following Fields which are relavant to your query
VKORG Sales Organization
VTWEG Distribution Channel
SPART Division
VKBUR Sales Office
VKGRP Sales Group
KTAAR Sales Activity Type for Sales Support
ACTVT Activity
Regards,
Dipanjan -
Sale orders which have got invoiced are still coming in delivery due lsit.
We have certain sales orders that are coming up in delivery due list inspite of these orders are complete (invoice completed).
Any helps on this??hi, kindly confirm do you have order related billing or Delivery Related BIlling?
If its order related billing then Goods Issue might not have happened and user might have done the billing -
How to change a DIVISION in Sales Order which is already saved?
Hi,
I want to change only the division in Sales Order which is already created and saved.
Which means I already created sales order with sales area GB50/02/12 and now I want to change that division to 14.
Please note that it has no reference docs and it is independent .. . . I mean to say it is directly created and it is not all used as any ref.
Please Help ASAP.
Edited by: nananx143 on Apr 13, 2011 4:13 PMHai,
Two things want to share.
1. Hope the material will be considered in some particular division while creating.
The reason for the issue may be, user entered a division /12 and selected material of other division.
First as a permanent solution
a) Check in Material master,the sales view division is maintained for the material or not
b) In the sales order type settings, - T code: VOV8 Check the field
Check division needs to be maintained as 2 Error.
This prevents the wrong selection of division and material combination.
2. You mentioned as no reference document, similar if there is nor following documents cancel the sales order and create a new sales order.
In case if you want to change the data compulsory in the same document , then can edit the SAP table entry directly. BUT IT IS NOT RECOMMENDED.
Regards,
Mani -
Restrict materials by sales order type
Dear Gurus,
I would like to know if there are any way of restrict materials by sales order type.
I need to create a sales order and i want to set an error message if i insert a material which is not allowed for the sales order type.
is it possible?
Best regards!Hi,
Here in the Listing and Exclusion you have to enter the Listing or Exclusion procedure for your Sales document type in SPRO
Then in VB01 maintain all the Material you want to list for that particular customer.
Now try to process the Sales order with the Material other than listed for the Customer, in the sense enter the material which was not maintained for the customer, then it will throw an error stating
the Material not listed and therefore not allowed.
This is how listing and Exclusion functionality will work
Please check and revert back
regards,
santosh -
OM: Sales order lines are cancelled automatically without backordering.
Intercompany sales orders lines are being cancelled automatically on the delivery when a split line is shipped with a quantity of one remaining. This line should remain backordered. A quantity of 61 was entered and 60 was shipped and 1 remaining. This 1 should have been backordered but no new line was automatically generated and infact when I view the Additional information I can see that the quantity 1 is cancelled. The profile option OM: Under Shipment Tolerance is set to .5
HI,
You can cross check by running the AUDIT HISTORY REPORT in Order Management, which gives the in depth details of the sales order amendments.
Thanks,
Raghav -
Restrict deletion of sales order line items
Hi,
I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
ANy idea , to prevent that?
Thanks
KeshiHi Keshi,
That is the correct exit, we are using the same without any problem. Just set US_EXIT = CHARX.
Regards,
John. -
Sales order quantities are not copied to Delivery
Hi Friends,
The sales order quantities are not copied to the delivery document. The order type is OR & delivery type is LF.
We are using the BoM, for which a dwelivery group is created in the sales order. The schedulelines are confirmed as there is ample stock in storage location. The scenario is MTS.
The copy control in VTLA is :
At Header level
order req : 001
combination req : 051
header req : 001
header data ext sys : 0
At Item Level for TAP
order req : 102
item data : 101
item data ext sys : 0
business data : 2
update doc flow ( X )
positive/negative : +
At Item Level for TAN
order req : 101
item data : 101
item data ext sys : 0
business data : 2
update doc flow ( X )
positive/negative : +
Please tell the solution
regards,
Yuvaraj.Hi,
When you do the setting for item category, you need to maintain that the item is relevant for delivery. Kindly check.
Regards,
Jn -
How to cancel sales order which I placed?
How to cancel sales order which I placed? And this order had not been delivered.
Rejection SO & Cancellation SO both are same. So please follow the below steps-
1. Use Tcode VA02
2. Enter Sales order number which you want to cancel.
3. Click "enter"
4. Click the icon "Reject Document"
5. Select suitable u2018Reason for rejectionu2019.
6. Save
Many Thanks & Regards,
Susanta K Senapati -
Want to see the sales order which is created with reference
Hi Gurus,
I created a sales order with reference to a contract. I forgot the sales order number and contract number..
how can i search my sales order which is created w.f.t acontract.we dont have the access for VA42, VA45.
cHEERS,
SumithDear Sumith
Go to VA05, click your mouse on "Further sel.criteria", so that you will have some options to choose like "Sales Document Type", "Created by".
You can choose either of these and execute so that it will display the respective document.
thanks
G. Lakshmipathi -
Why we cannot view the move orders which are created by the other user?
Hi,
Can any one explain me the below point.
Why we cannot view the move orders which are created by the other user.
Ex: From ABC user I have created a Move Order: 123456 in M1 Org If I login to the other user BCD I cannot view the same move order in the same ORG i..e M1 ORG.
But we can perform the transact move orders for move orders which is created by the other user.
What could be the reason? Why the system is restricting this? Is this the standard functionality of oracle?
Can any one explain?
Regards,
Kv.This is due to a security function which allows to see the move orders created by the user only.
Please refer to the meta link document ID 280131.1 for detailed description.
I have tried these steps in one of my test instances long back and was able to see move orders created by other users.
Thanks
Karthik. -
I have one senario like i have four sales order which is processing in pro
Dear sir
i have one senario like i have four sales order which is processing in production . i got 5th sales order. how system calculate delivery date . pl z guide me .
REGARDS
SACHIN KATKARDear ,
System Calcualte Delivery date during the ATP Check baesd on the Total Replinshment Lead Times mentioned in the Material Master -MRP3 view .
If The Total replenishment lead time field is not maintained.In this case, the system reads the in-house production time and, if available, the goods receipt processing time, and interprets the total of these two times as the replenishment lead time for the availability check .(ATP) and arrive in Delivery date and Scheduel Delivery date in Sale Order Schedule Tab .
Now , when you run the MRP on those Order in MD02-NETCH , 2,1,3,3 with Lead Time Scheduling , planned order gets generated for Finished good based on the BOM and Routing .It arrives in Production Finsih Date , Start Date baesd on the Operation(Setu Time , Processing time , Tear Down time , Wait Time ,Move Time ) releted time mentioned in Routing , Scheduling margine Key in MMR(MM02-MRP1 View -SMK: Opening Period , FBP,FAP.Release Period ) .This dates are getting copied in production order based on trh Scheduling type , into Production Order .
Regards
JH -
Orders which are PGIed in APO system
Hi APO experts,
Could you please tell me which table provides me the information of the orders which are PGIed in APO?
I know that there is a table called /SAPAPO/OBREF which gives you the delivered quantity as soon as you create a delivery.
But, I wanted to find out for that entry delivery has been PGIed or not within APO system.
I dont want to go to ECC to pick up the data as it will be performance overheard.
Appreciate your reply on this.
Thanks,
Babu KilariHi Tibor,
Could you please let me know which field are you talking about in that table. Because, I have checked that table and I dont see any table which gives me information whether it has been PGIed or not?
Hope you understand my question.
Thanks,
Babu Kilari -
Restrict creation of sales order for specific customer
Hello All,
I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
Your early reply will be highly appreciated.
Thanks & Regards,
MahavirHI
As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
Regards,
Prasanna
Maybe you are looking for
-
Limitation on data file size for Oracle 8i on window 2000
What is the size limitation for each Oracle data file ? Oracle 8i Window 2000 server (32-bit)
-
How do I get COnfigurator to use my external Hard drive?
I have a Macbook Air with a really dinky hard drive with which I am supervising 100+ iPods and other devices with Apple Configurator. I filled up the hard drive after six months with Configurator stuff. I bought a 2 Tb passport that I hooked up to
-
FLASHES ON SCREEN I SHOULD UPDATE TO VERSION 6 BUT SAID ADD ONS WERE NOT AVAILABLE WAS VERY SLOW COULDN'T USE IT LIKE IT WAS SO I HAD TO DO SYSTEM RESTORE TO GET THINGS BACK AND UNINSTALL FIREFOX 6, PREFER THE ONE I AM WITH NOW WHICH IS 5 I THINK
-
Dear All, I have set delivery complete indicator in customizng for Plant in Inventory Management and also in Purchase Order still I am able to post multiple material documents with reference to the same Purchase Orde Item. What do this delivery compl
-
Hi.i want to select only rows with no child rows
Hi.i want to select only rows with no child rows in hierarchical queries.