cancel
Showing results for 
Search instead for 
Did you mean: 

Restrictions in CO11N goods movement screen

svs_sap
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

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

svs_sap
Active Contributor
0 Kudos

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

rupesh_brahmankar3
Active Contributor
0 Kudos

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 lines

Could you please elaborate your requirement in details?  if possible share screen shot also.

Regards,

R.Brahmankar

svs_sap
Active Contributor
0 Kudos

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

rupesh_brahmankar3
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

former_member200568
Active Participant
0 Kudos

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

former_member228481
Contributor
0 Kudos

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

svs_sap
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

You may think also of using custom authorization objects which allows changes to movement types 531 only and block other related goods movements in transaction CO11N for required users.

I think it will be more simpler than development you are proposing.

Let me know your views.

Regards,

Pavan

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Could you please update on it?

Regards,

R.Brahmankar

svs_sap
Active Contributor
0 Kudos

Hi Rupesh,

I have used BADI WORKORDER_GOODSMVT and fulfilled the requirement with the different logic.

Regards,

Sharat

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Thats great could you please share the logic and close the discussion.

Thanks,

R.Brahmankar

svs_sap
Active Contributor
0 Kudos

Hi Pavan,

I can not restrict users to movement types 261 and 101 because it will not allow the consumption and receipt during confirmation due to no authorization and these entries go to COGI. This will not help.

Regards,

Sharat

shailesh_mishra5
Employee
0 Kudos

Dear Sharat,

I have similar requirement. Can you please share the logic?

Appreciate your reply

Best regards

Shailesh Mishra