Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Order blocking requirement

Former Member
0 Likes
509

Hi all

I have some requirement like this

Any order created for a Company code ( Ex :1000 ) should go on Delivery block (i.e., VBAK-LIFSK = ‘ZH’). Only the Employees of that Company (company code = 1000) should be able to release these sales orders out of the delivery block (i.e., VBAK-LIFSK = ‘ZH’). This logic is applied for any orders (inquiry, quotation, sales orders, credit/debit memos, returns orders, lease contracts etc.). I need to fetch the company code of the user id who logs in and restrict it. From which HR table I can get this combination. This is a very urgent requirement. Please help out to solve this.

Thanks & Regards,

Rama.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
487

Hi,

This can be achieved by adding a autorization object to the already existing user profiles. Then at runtime we can check for the authorization objects , those users which jas object maintianed can proceed others can not.

Ask basis team for adding a authorization object to users profile..

Reward Points if useful!!!

3 REPLIES 3
Read only

Former Member
0 Likes
488

Hi,

This can be achieved by adding a autorization object to the already existing user profiles. Then at runtime we can check for the authorization objects , those users which jas object maintianed can proceed others can not.

Ask basis team for adding a authorization object to users profile..

Reward Points if useful!!!

Read only

Former Member
0 Likes
487

Hi

Thank you for your instant amswer. But can you say me the procedure in detail.

Thanks

Rama

Read only

0 Likes
487

Hi,

See every user has profile in which we define diffrent authorization objects so that we can control the access of the users..

On the similar lines discuss with your basis team to add anew object to the required user profiles ...

This object can be checked at runtime with the Keyword

"AUTHORITY-CHECK OBJECT ". The suntax can be created via Patter on the ABAP editor..

Hope this will help you in proceeding.. Reward Points!!!!!!!