Thursday, August 25, 2011

Release strategy for sales document using status profile

Applies to: Module SD

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


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.

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)


Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive