on 06-22-2012 6:07 AM
Dear all,
I need ABAP solution for the CO11N screen. I know we can use user exits CONFPP002/CONFPP004 or other. I am posting this question here, because we might have used it in PP process. If any one have idea, appreciate if you share.
In CO11N screen, when i go to goods movement tab. In this tab, the components with backflush indicator with 261 movement type and auto GR 101 movement type appears. These are auto copied from order and i want to make these lines grayed out or visible only and do not want any one to change storage location, quantity etc. I do not want to use screen variant because it hides entire column and it is not my requirement.
And other than these lines, i should get rest of lines allow me to enter. And in these lines, i want to put validation, to allow only 531 movement type. I know it is possible to put validation for 531 movement type. But i want to know whether we can grey out auto copied lines and auto copied lines should not come in this validation in this screen.
Regards,
Sharat
Dear,
First you can use the transaction variant because it never hides entire column.
Or if want put validation and hide these option then better user the BADI WORKORDER_GOODSMVT method GM_SCREEN_LINE_CHECK.
Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rupesh,
We were trying the BADI you mentioned here. And here we have a challenge.
I want to do validation for only manual entries of 531 movement type and BADI should allow, if anyone enters other than 531 movement type then this entry should not allow.
But already in this screen we have components copied and they have 261 movement type and also 101 movement type of auto GR. And this BADI helps us to check each line. But how i can avoid the lines which are copied from production order? Do you have any idea on this, how to avoid the auto picked lines.
Regards,
Sharat
Dear,
Yes this BADI can help you to validate the 531 movement by defining our custom logic for input check for movement type.
Sorry but I am not able to get you completely.
which are copied from production order? Do you have any idea on this, how to avoid the auto picked linesCould you please elaborate your requirement in details? if possible share screen shot also.
Regards,
R.Brahmankar
Hi Rupesh,
Auto copy means i mean to say, when we maintain backflush indicator for component in the order, that will get displayed in the goods movement tab in co11n. And due to auto GR control key, 101 movement type also get displayed in the screen.
But this BADI will validate these lines also, which i do not want to do.
But i want to restrict the user to enter 261,101 manually inside this screen, i want to allow the user to enter only 531 movement type (which we can do in this screen for 531).
See below screen,
See in this screen, first 2 lines picked up because, material T1 is due to auto GR indicator and material T2 is due to backflush. I want the BADI should not check the validation for these lines, but i do not have any indicator in this screen to filter these.
3rd line T2 with movement type 531 is manually entered by me and BADI should varify this line.
And my other requirement as i told initially is, i want to make first 2 lines grey out for fields quantity, storage location, movement type etc. If i use screen variant or transaction variant, this is making entire quantity field grey out which i do not want for column. i want it for the rows.
Regards,
Sharat
Dear,
Yes BADI WORKORDER_GOODSMVT method GM_SCREEN_LINE_CHECK.
can help you to validate the quantity , storage location and movement type field by your custom logic where you can exclude the line item for 531 movement type from your logic for input check . Please take help from technical person I hoe it will work for you too.
Second option don't allow to do any changes in CO11N good movement screen .
And post 531 separably with reference to order through MB1C without backflush.
Regards,
R.Brahmankar
Hi,
Just to add on above topic we have restricted similar scenario in COR6( Goods Movement screen ) through following path,
Please check following path with your abaper and add Implicit Enhancement you will attain you goal.
SAPLCORU --> LCORUFS1--> LCORUF73 --> FORM: SHOW_MATERIAL_DOCUMENT --> co_wb_maintain_goods_movements --> call screen 130 --> MODULE modify_0130
-->PERFORM modify_0130.
COWB_COMP-ERFMG is the Qty filed which get filled in Goods Movement Screen for COR6, here change it to display mode according to check on movement type 101/531/261.
It might not be same for SAPLCORU_S but i guess logic might be more over similar.
Regards,
Deep Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sharat,
If not by ABAP, try for Transaction-Screen variant SHD0 for CO11N Goods Movement Screen, and mark fields as display Only...
And You can Post 531 independently via MB1C against Production Order.
Br
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rupesh and Ravi,
Thank you for your feedback. I informed to use MB1C to the users but they do not want to use it as a seperate transaction for 531 movement. Hence this requirement has come to develop logic in CO11N. User does not want to do this in seperate transaction.
Anyways i am getting it developed by my technical person and we are working for it.
Thank you both of you.
Regards,
Sharat
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.