SAP Status Profiles in SAP

作者:郑德鼎 约 6 分钟阅读 更新日期:2024-02-22 2 年前更新 标签:Data Engineering, PP, SD, 数据工程, 生产, 销售分销
目录

Status Profiles in SAP

Follow RSS feed Like

27 Likes 37,128 Views 29 Comments

Status Profiles in SAP

You can create Status profiles for documents or transactions and then set up authorizations for certain activities. The result is we can enable select personnel as authorized to carry out the activities blocked by status profiles.

Create Status Profile

Create status profile in general status management as shown below (BS02) or  via IMG –> Sales & Distribution à  Sales à Sales documents à Define & Assign Status Profile:

2. Go to Define Status Profiles. Choose New Entries and enter code & description for your status profile:

3. Choose object types for status profile. Eg: Sales order header or sales order item for which the status profile is to be applied to.

4. Enter your status say for price check, specify lowest status number (which will render any statuses lower than the lowest number specified, inactive) and highest status number (which will decide the upper limit of status numbers which may be activated if this status is active).

Set initial indicator for your required status, generally system sets initial automatically for the first status.

Specify authorization key in authorization code field. (See below for creation of authorization key).

5. Double click on your status (PRC) and choose transaction control. Select the activities which are to be checked with this status.

For eg: confirmation of order, creation subsequent documents like delivery & billing documents is forbidden.

Save status profile.

6. Assign status profile to document types (VOV8) & item categories (VOV7) as required.

Authorization Key

Enter authorization key & description in BS52 and save. Authorization key is assigned to status profile and is used to create authorization for user role.

Users and Authorizations

Authorizations to perform a particular action in the R/3 system can be created (and included in required user roles) via authorizationobjects.  Create authorization for authorization object B_USERSTAT

1. Go to IMG à Cross-Application components àDocument Management à Control Data àMaintain Role or use transaction PFCG and add authorization for status profile to required user role.

2. Choose change user role and go to menu tab. Add transaction (say VA02) for which you want to give authorization to change user status for sales order header or item

3. Go to Authorization tab and choose ‘change authorization data’.  Maintain status management for authorization object B_USERSTAT, specify object category as chosen (VBK or VBP), authorization key, and status profile. Generate authorization.

4. Go to user tab and enter user ids which are to have role with authorization for status profile and save.

Save User Role.

Test Status Profile

Create sales order and check status (sales document header à status tab). Status is blocked and user status is PRC (from status profile).

Click on object status button (Sales document headerà status tab à object status) and both statuses from status profile can be seen.

2. Try to deliver the blocked sales order to get below error

3. A user with authorization (in this case sdconsultant) can change status to ‘released’ after checking sales order price.

After selecting ZRE, overall blkd status changed to ‘Not blocked’ as under

Now, delivery and subsequent documents can be created for released sales order.

***

Karuna Ravuri

Alert Moderator

Assigned tags

SD (Sales and Distribution)

SAP ERP

enterprise resource planning

sap erp sales and distribution

Related Blog Posts

User and System Statuses in Sales Orders

By Former Member, Jan 04, 2013

Sales Document Status Update

By Former Member, Jun 28, 2013

Automatic Generation of PO from SO using Workflow

By Former Member, Jan 27, 2014

Related Questions

Why change the status at the sales order when to do the delivery sap?

By Former Member, Feb 21, 2018

Block delivery creation based on Sales Contract status

By Former Member, Feb 21, 2018

Open Sales order report

By SAP Life, Dec 14, 2018

29 Comments

You must be Logged on to comment or reply to a post.

Former Member

August 24, 2013 at 3:16 pm

Appreciable effort dear !!!

Like(0)

Former Member Post author

August 25, 2013 at 5:31 am

Thank You

Like(0)

Srinu S

September 7, 2013 at 5:48 pm

Nice explanation Karuna.

Like(0)

Former Member Post author

September 8, 2013 at 4:07 pm

Thank you Srinivas..

Like(0)

SAQ MD

September 8, 2013 at 8:59 am

I have became a fan of your documents since I have viewed your Information Structure document. Very Generous explanation…. Keep posting…..

Like(0)

Former Member Post author

September 8, 2013 at 4:07 pm

Glad you liked them, thank you..

Like(0)

Suman Sardar

September 11, 2013 at 6:39 pm

Nice presentable documentation Karuna.

Keep sharing.

Like(0)

Former Member Post author

September 12, 2013 at 4:18 am

Thank you Suman

Like(0)

Former Member

September 12, 2013 at 4:49 am

Good one…Thanks for your efforts.

Best Regards,

Naresh K.

Like(0)

Former Member Post author

September 12, 2013 at 6:11 am

Thank you Naresh

Like(0)

SAQ MD

September 17, 2013 at 2:01 pm

Dear Karuna,

Thanks for sharing the document  , I have a small doubt regarding status profile how can we control the changes in the document when it is sent for approval from one level to another level.

For Example

I have created a sales order with qty 10 and sent for approval to next level. The person at next level is having authorization to change the document qty from 10 to 15 and approve. As soon as he changes the document qty or any other field then system should default the status to Initial. As this facility is there in MM release strategy and we can control it through characteristics functionality. I am looking for the standard way by which we can achieve the above mentioned requirement.

Thanks and Regards,

Like(0)

Former Member Post author

September 18, 2013 at 5:35 am

Hi SAQ MD,

Thank you  . To reset status to initial on changes to qty, Z-development is required. Discuss with your ABAP counterpart.

Like(0)

SAQ MD

September 18, 2013 at 6:03 am

Hi Karuna,

Thanks for the quick reply, I was thinking of  Z-development initially but awaiting for the  confirmation from Experts before proceeding. Its appreciated  .

Regards,

Like(0)

venu gopal

September 18, 2013 at 4:19 am

Dear Karuna

nice document but i have one doubt plz tell me this process will be applicable only some users only may i know ?

once again thanks a lot ,, keep it up it will help a lot for learners like me ..

Like(0)

Former Member Post author

September 18, 2013 at 5:37 am

Hi Venu,

Thank you  . Use of status profiles is to give certain personnel authorization for certain activities in the document as per business requirement.

Like(0)

Former Member

October 6, 2013 at 11:16 am

Hi Karuna,

Good one

Regards

Ratnamsri

Like(0)

Former Member Post author

October 7, 2013 at 4:35 am

Thank you Ratnamsri

Like(0)

Pradeep Mani

October 18, 2013 at 12:27 pm

Mr Karuna Ravuri,

Good Document.

My requirement is to create Contract and the contract is to be approved by Senior Manager,then only further processing to be done.

BS02-Here if i create one status say APPR,under transaction control ,i have to maintain Create Sales document as Forbidden,by doing so contract will not be released?

Under business transaction create inquiry,create quotation is there.But we dont have option of contract creation,what is the option to choose.

Explanation on Lowest & Highest level would be helpful for beginners.

BS52-Authorization code

What is use of this,here you have assigned one authorization code to 2 status.Why dont you create 2 authorization code,assign each to each status.

Thanks,

Pradeep

Like(0)

Former Member

October 25, 2013 at 6:43 pm

Hello Karuna thanks for the time and effort

I have a query if I require approval from multiple departments how can that be mapped.

Regards

Madan

Like(0)

Former Member Post author

October 26, 2013 at 5:48 pm

Hi Madan,

Create two or more statuses as required and as many authorization keys to allow for multiple authorizations. One status & key per approval level can be created.

Authorization key for status profile & auth object B_USERSTAT has to be assigned to user role. Assign this user role to specific user id.

Like(0)

Former Member

January 13, 2014 at 4:00 am

Nice work Karuna. Excellently presented this scenario. Will helpful for me as always. Keep sharing.

Regards

Abhishek

Like(0)

Former Member Post author

January 13, 2014 at 4:27 am

Thank you & glad you could refer to it, Abhishek

Like(0)

Former Member

May 6, 2015 at 3:22 pm

Hello Karuna,

Very Nice presenation..

But need some information from ABAP side. We have added new status. And for some specfic scenario , i would like to check that new status as default , right now the default status is comign as ‘OK’. How can we do that.

Thanks in advance..

Like(0)

Former Member

December 14, 2015 at 9:44 am

Hi Karuna,

Wonderful post. Nicely explained. Keep the same spirit. Your post of 2013 helped me in 2015.

Thanks A Lot

Vikas

Like(0)

Valdimir Putin

February 21, 2016 at 12:52 pm

Thankyou Sister

Regards

VH

Like(0)

Former Member

May 19, 2016 at 10:54 pm

Thank you. You helped me a lot. The information is very clean and detailed.

Like(0)

Muthukumareshan vijayan

May 30, 2016 at 9:21 am

Good one…Thanks for your efforts.

Thanks

Muthu

Like(0)

Former Member

July 15, 2016 at 8:05 am

Thanks for the documentations, it really helps from the scratch.

However, I have one query regarding the same topic.

Say, if I have 3 statuses in one status profile where requirement is : if status no 3 is selected, all other statuses would be grayed out (others can’t be selected) ..

Is there any way to do so ?

Thanks,

Krishanu.

Like(0)

Former Member

May 3, 2017 at 8:47 pm

thanks for the documentation, very helpful!!

郑德鼎

关于作者:郑德鼎

企业信息化与 SAP 技术顾问,长期专注 SAP ABAP、FI/CO、MM、SD 等模块的技术分享与实战经验总结。查看更多介绍

来源说明:本文内容由「SAP Status Profiles in SAP .docx」整理生成,仅用于内部技术分享与学习交流。