on 03-28-2011 8:23 AM
I want field "BUKRS" ( Company Code ) to be kept "MANDATORY" while creating customer master thru' tcode XD01.
How to do it?
It is not feasible to make this field mandatory, unless you want to do a modification of the standard screen (which I would not encourage, unless it's a legal or "mission critical" requirement).
Instead you can implement a BADI CUSTOMER_ADD_DATA and check the field there. It may not be as "neat" (the check will have to occur later, after the user navigates from the first screen), but you won't be breaking SAP standard.
Also, essentialy, what you're doing by this is forcing the users to extend the customer to a Company at the time of creation. Perhaps this could be handled differently, e.g. by a business process, workflow, etc. Most frequently such requirements can be handled simply by better user training, from my experience.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Company code the parameter ID is BUK
For this Paramter ID with the help of Basis default the company code for that particular user.
The Parameter ID and value is given in SU01 - User maintenance tcode.
Explanation for parameter ID:
Set/Get parameter ID
A field can be filled with proposed values from SAP memory using a parameter ID.
Example
A user only has authorization for company code 0001. This company code is stored in memory at the beginning of a transaction under the corresponding parameter ID. Fields that refer to the data element are automatically filled with the value 001 in all subsequent screen templates.
Dependencies
A field in the screen template is only filled automatically with the value stored under the parameter ID of the data element if this was explicitly permitted in the Screen Painter.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please use T code SHD0 and create a Transaction variant with T code ZXD01.Please keep the company code field as mandatory while creating the same.
Assign this T code ZXD01 to all the users concerned with the help of your Basis Consultant.
Remove the authorization of XD01 for the same users.
Now for all the users concerned the field company code will be mandatory whie creating the customer using T Code ZXD01.
Regards,
Phani Prasad
Hi,
You can use Transaction variant to achieve this functionality.Please go through the link given below for further information.
[Link|http://wiki.sdn.sap.com/wiki/display/ABAP/TransactionandScreen+variants]
Regards,
Phani Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please specify the scenario why you need this? because by setting the field mandatory do you want the Same user to maintain both Company code data (accounting data) & sales area data which doesnt sound logical . . ?
Thanks
Mohamed Imran R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.