2015 Nov 24 5:39 AM
Dear Experts,
Kindly help me out with a scenario given below-
Client wants to have automatic block set after creating new customer through T code XD01. The reason being , one authorised person will check the customer master & then release for sales & posting. But they want the same to be blocked automatically after saving new customer creation through XD01.
Dear Experts,
Kindly help me out with a scenario given below-
Client wants to have automatic block set after creating new customer through T code XD01. The reason being , one authorised person will check the customer master & then release for sales & posting. But they want the same to be blocked automatically after saving new customer creation through XD01.
2015 Nov 24 6:03 AM
Hi,
Check BADI : CUSTOMER_ADD_DATA and method : PRESET_VALUES_SAREA.
Here you can put the block for the master data.
Hope this helps.
2015 Nov 24 6:28 AM
THANK YOU GAURAV,
BUT MY REQUIREMENT IS LIKE I WANT TO AUTOMATICALLY BLOCK A CUSTOMER AFTER SAVING NEW CUSTOMER IN XD01 .
2015 Nov 24 6:53 AM
Yes,
Changing the value of AUFSD in the structure E_KNVV of the method will solve your problem.
Ask your functional person for the possible value to be Put in the field . this will automatically put a block on the customer at the time of creation.
I assume you are aware of BADI implementations, if not please take a look at the below link.
SAPTechnical.COM - Searching and implementing BADI for VL02
Hope this helps.
2015 Nov 25 5:50 AM
Thank you Gaurav ,
Problem Solved.
Created an implicit exit in SAPMF02D. and added following code.
if t020-aktyp = 'H',
*then
KNA1-AUFSD = 01.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |