You are on page 1of 4

Text

Authorization key

Definition
The authorization key is the basis for status-dependent authorization verification.

Example
Whenever a user status is set or deleted, the user's authorization to do so is checked. The status profile,
the object type and the authorization key for the user status concerned are checked.

If, for example, you want to ensure that certain user statuses can be changed only by people in a particular
group, you assign all those user statuses an authorization key.

Then use authorization object B_USERSTAT to give authorizations for those authorization keys.

Changed Status Management: Set/Delete User Status B_USERSTAT

Changed Status Management: Set/Delete User Status T-R128322700

Activity 01 ACTVT

Authorization key BERSL

Object Category OBTYP

Status Profile STSMA

Release strategy for sales document using status profile


By BVDVPrasad, Yash Technologies

Applies to: Module SD

This Article applies to SAP User Status Profile for Sales Documents process.

Overview:

In SAP we have release strategy for Purchasing Document, in the same way we can keep release
strategy by using status profile to Sales Documents.

Define and Assign Status Profile:

Now we will see how to define and assign our own status profile to sales documents, customization at
Sales and Distribution> Sales >Sales documents > Define and Assign Status Profile > Define Status
Profile (Transaction code: BS02) Press Create icon give your own define status profile name ex:
ZSALEDOC with description and Language

After clicking of continue system will show your status profile in list and select profile and click on
details icon and maintain as follows

Individual status Objects: CRTD:-This is initial status and REAL:- next release status. Give Lowest
Highest status numbers, Position, Priority and authorization code.

Lowest Status No: Sale Document can have several statuses at the same time. However, only one of
the statuses may have a status number. If another status with a status number is activated; the old
status with status number is deactivated. This is only valid under certain conditions. The system
makes a note of the status with the highest status number that has been reached up to the present.
The "lowest number" of this status number determines which status number a new status must have.

Highest Status No: Sales Document can have several statuses at the same time. However, only one
of the statuses may have a status number. If another status with a status number is activated, the old
status with a status number is deactivated, provided the new status number does not exceed the
'highest number' defined for the old status number.

Position: The position specifies at which place in the status line a status should be displayed.
Priority: If several active statuses should be displayed at the same position, only the status with the
highest "priority" is displayed. If not all positions of the status line are used, the used positions are
moved to the left.

Authorization Code: The authorization key is the basis for status-dependent authorization verification.
Use authorization object B_USERSTAT to give authorizations for those authorization keys. If you add
this object to a particular user role you can able to restrict by assigning value interval (authorization
code or key) .

Now click on Object Key system will show all Allowed Objects here select Sales order Header & come
back to user status screen keep cursor on Individual status objects click on Details icon system will
show you Transaction Control screen .

Now go for new entries from Transaction control screen

To do not create Delivery and Billing keep influence radio button in forbidden. It means whenever the
document is having in CRTD mode system will not accept you to do Delivery and Billing. Select the
radio button as per your business requirement. For REAL no need keep any Influence (if user sales
order user status changed to REAL system will allow creating delivery and billing).
Now Save the Settings Go to Assign order types / status profiles

Assign Status profile to sales document types in transaction flow > Status profile field & Save it.

Sales order process with user status profile:

Whenever you create a sale document using by using the status profile assigned document type
initially system will keep under CRTD user status mode & if you change to CRTD then only system
will allow you create delivery or billing.

This you can able to see in Sale Document > Header > Status and click push button Object Status

Conclusion: Sales order user status profile can be used for item level and header lever also and you
can restrict various steps like creating Picking Packing PGI etc., as per your business requirement.