on 06-04-2013 2:02 PM
Hi all,
We are facing the problem of setting some fields (specifically the storage location) as mandatory in the component overview screen of production order creation or update transactions (CO01/02). We found many discussions in SCN regarding this, but none of them arrives to an effective solution, so we start trying some alternatives, none of them working as we wish far now:
Any other ideas to achieve this control?
Thanks in advance!
Regards,
mr.
Hi,
Just Change your business process, instead of maintaining the Sloc in CO01/CO02, maintain it either in BOM and Material master for component and header material in production storage location and then make variant of CO01/CO02 for non editing of component overview.Also you can use BAdi WORKORDER_GOODSMVT in CO11N in order to that storage location cannot be changed in confirmation or you can use the SHD0 for CO11N also.
Give a try and let us know.
Regards,
Anupam Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola Manuel.
With this code, you can access fields in RESB component tab.
DATA: LT_RESBB TYPE STANDARD TABLE OF RESBB ,
L_TABLE_NAME(20) TYPE C VALUE '(SAPLCOBC)RESB_BT[]'.
FIELD-SYMBOLS: <TAB> TYPE ANY,
<WA> TYPE RESBB.
BREAK-POINT.
ASSIGN (L_TABLE_NAME) TO <TAB>.
LT_RESBB = <TAB>.
...
...
MESSAGE E208(00) WITH 'ErrorErrorError'.
I test in exit PPCO0007 and work OK.
Arturo.
Hi Manuel,
As per Anupam Sharma suggestion, you have to maintain storage location at material level. You also add that these fields are mandatory at creation of materials like Production/Issue storage location (MARC-LGPRO), Storage location for EP (MARC-LGFSB). This storage location will be automatically copied into your production order's component list. If you want to restrict the user that they won't change the storage location means, you have to create screen variant for the transaction CO01/CO02.
Thanks
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
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.