on 05-10-2012 6:33 PM
in standard SAP, when you create an order and double click on sold-to or ship-to and then click customer number in partner function screen, it shows you general data i.e name and address for that customer in change mode meaning you can change the address of that customer for that particular sales order. Although it doesn't change the data in customer master but is there a way to block the address of the ship-to or sold-to from the sales order?
thanks
Oh, you want totally block, sure you can.
Modfiy standard include LV09CF70.
Add your conditions, like if tcode is VA01, VA02 or parvw = 'AG', update lv_display_only = 'X' before it calls
CALL FUNCTION 'SD_PARTNER_ADDRESS_DIALOG'
You can do a debug and try change the value to see it works to your requirements. This should totaly block the address pop up in display mode, no changes can be make.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Please check the below link
Restricted Access to Partner Functions details screen in VA01
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rehman,
I had exactly same requirement for one of my client. So I created a transation variant in SHD0 for VA01 & VA02, where I made the Header-Partner-Overview Screen In active. So that the user will not be able to change the addresss at SO level.
Hope it helps
AKN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rehman,
I believe your requirement is to restrict the change of Ship-to-Party or Sold-to-Party address while creating Sales Order.
Well you have two options for this:
1. SHD0 (Transaction / Screen Variant) - Use T-Code SHD0 to create a Screen or Transaction Variant & system will not allow users to change address of Partners while creating Sales Orders. But this will apply to all the Partners.
2. User Exit - Write a ABAP code in User Exit where you can restrict particular Partner Functions whose address cannot be changed while creating / changing Sales Orders.
I would like to go for User Exit as this will be a full-proof solution & you can control at both Creating & Changing Sales Order.
Thanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check Configuration.
SPRO -> SD -> Basic Function -> Partner Determination -> Set-up Partner Determination -> Set Up Partner Determination for Sales Document Header / Set Up Partner Determination for Sales Document Item
For your respective partner procedure, go to Partner functions in procedure, Tick Sold To and ShipTo to "Not Modifiable".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
dear,
when you change the address from sales order (say, on item lebvel)
these changes only apply to this order and do not have any effect on the partner master data
regards,
P.S. you can restrict users regarding teh XD02 , VD02 and not allowing these t-codes (if you are worried about the addresses changes)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.