SAP Status Profile – A scenario from Heavy Industries

Scenario : ABC Company manufactures Power Transformers that can be used in Nuclear Power Plants. When a Customer orders the same, a number of validations needs to be performed before the order can be finally delivered. You have been given the task of creating the different SAP User Statuses. Here are the different statuses.

  • Initial
  • Initial Site Inspection Complete
  • Concrete Base Prepared
  • Pillars Erected
  • Structural Integrity Verified
  • Power Cables Verified
  • Final Inspection done.
  • Approved
  • Rejected

Configure the status profile at the sales document header level and assign it to a custom sales document type and ensure the following.

  1. The status can ONLY go from “Initial” to ” Initial Site Inspection Complete”
  2. From “Initial Site Inspection Complete” the status can go up to “Pillars Erected” or “Concrete Base prepared” but cannot go back to “Initial”
  3. From “Concrete Base Prepared”, the status can go to the status can go up to “Structural Integrity Verified” but cannot go below “Initial Site Inspection Complete”
  4. From “Pillars Erected” the status can go up to “Final Inspection done” , but cannot go below “Initial Site Inspection Complete”
  5. From “Structural Integrity Verified” the status can go up to “Final Inspection done”, but cannot go below “Initial Site Inspection Complete”
  6. From “Power Cables Verified”, the status can go up to “Final Inspection done” , but cannot go below itself
  7. From “Final Inspection done” , the status can go up to “Rejected”, but cannot go below ” Initial site inspection complete”
  8. From Approve
  9. Only if the status is “Approved”, then the sales document can be delivered and billed.
  10. If the status is either rejected or in any other status other than “Approved”, the sales document cannot be delivered or billed.

Paste all the different statuses you have created for this scenario like this – An example is shown below. ( Use SAP Multiple Copy function to copy multiple rows/columns in one shot )

Status Profile = ZJANBATC

10    Napp    Not approved    10    20    1    1
20    veri    verificattion    20    50    1    1
30    vali    validation    30    40    1    1
40    appr    approval    40    50    1    1
50    reje    rejected    20    50    1    1

SAP Status Profile Customization for a Legal GSA based workflow

Scenario : A company sells bio-chemical equipment and has entered into an Agreement with the Government ( GSA ) whereby, they will sell to all government enterprises at a reduced price. In return, all government agencies will have to buy that kind of bio-chemical equipment from this company. As part of the GSA agreement, the company is prohibited from selling to other customers at a price lower than quoted for government customers. So, the company has set up a dedicate person in the legal department to ensure that all orders > 100,000 US $ in value should be manually verified for the prices to ensure that they are not being sold at a price that is less than that the GSA price list. The task of creating this has been given to you ( SAP SD Consultant ) . The different statuses are as follows.

  • Initial
  • Legal Dept. Approved
  • Legal Dept. Rejected

Configure a status profile at the sales document header level , assign it to a custom sales document type and ensure the following.

  1. The sales document goes to the Initial status as soon as it is created.
  2. If the document is approved, then deliveries can be performed for the order.
  3. If the document is rejected, then no further steps can be performed on the order.

Relationship between Program an Transaction code in sap

Problem : Some SAP Training students have questions on how to find out the transaction codes for some transactions in SPRO. Some students have asked questions about the direct relationship between the transaction code and abap program associated with it. Also, as part of the SAP Live Project, in order to debug certain user exits the associated program needed to be known.

solution : Typically, very few transactions under SPRO ( Customizing ) are remembered. And most of the times transaction codes do NOT exist for customizing transactions. If you look at the SAP GUI Navigation video, you would have observed that the transaction code and program are available in the bottom right corner. For example, for a Sales Order Create transaction, the program is SAP MV45A and tcode is [VA01] and

AS discussed in the SAP GUI class, a transaction code is just a shortcut to execute an “executable” program. In order to find out the mapping between the transaction code and the program, go to tcode [SE93] and enter the name of the Transaction code to find out the name of the program.

Enter the Transaction code as shown below and click on display.

The associated program will be displayed.

On the contrary if you want to find out the t-code associated with the program, there are a couple of methods ( Like SE80 and then where used etc ). The easiest method is to go to the database table TSTC. Enter the name of the Program and hit execute. ( SAP Data Browser )

The associated transaction code ( if any ) will be displayed. As you can see, there are many transaction codes associated with the program SAP MV45A depending on the screen that is being called and the mode in which it is called.

Some examples in SD configuration transactions that are commonly referred by SAP consultants in real life are as follows.

[VOK0]  – Pricing Overview
[VOPAN] – SAP Partner Determination
[VOK2] – Output Overview
[VOTXN] – SAP Text Determination
[V/05] – Display Pricing Condition Tables
[V/06] – SAP Pricing Condition Types
[V/07] – SAP Pricing Access Sequences
[V/08] – SAP Pricing Procedure
[VKOA] – SAP Account Determination


1. List out the Program associated with Delivery Creation Transaction

2. List out the program associated with PGI Reversal

3. List out the transaction code associated with the program SAPMV80Z

4. List ouf some of the transaction codes associated with the program SAPMV50A

SAP Material Account Determination Error

Problem : While posting stock or while performing PGI, some of our SAP Training students have got the following problem with Material Account Determination.

“Account Determination for entry INT GBB ____ ____ 3100 not possible”

Solution : This is purely an MM Configuration, but since you are not undergoing SAP MM Training, you would have to solve the problem yourself.

Step 1 : Go to Transaction [ OBYC ] and select the Transaction GBB and double click.

Step 2: Enter the Chart of Accounts in the pop-up – In this case INT

Step 3 : The error was related to a missing entry for valuation class 3100. Let’s maintain an entry there and save it.

Now you can finish the transaction.

For more on SAP CRM Training or SAP Basis Training, please visit the respective links.

SAP Item Category Determination – Manual vs Automatic

Problem :  How to do manual SAP item Category Determination in SAP SD  ?

Solution : Both Automatic and Manual Item Category determination are done in the same transaction [ VOV4 ] or Menu path = [ spro -> IMG -> Sales & distribution -> Sales -> Sales Documents -> Sales document Item ]

As shown in the picture above, the column ( DfItC ) Default item Category highlighted in red is the one that is determined based on the combination of Sales Document Type + Item Category Group.

If the business demands that they be able to manually over-ride the automatically determined item category, then you can add more item categories in the (MItCa ) Manual Item category Section.  Here is an example.

SAP has automatically determined an item category of TAN for the line item 10 because, the order type is OR and the item category group of the material M-01 is NORM.

The users can choose to over-ride the SAP determined item category based on the possible list of item categories you have specified in the Manual item categories tab. The user can choose the possible list of manual item categories from the possible list of values in the item category as shown below.

The same logic applies to SAP Schedule Line Categories and its determination as well. For more on SAP Training, please visit our home page. Please visit us at SAP SD Training and register for live instructor led training and one of our Training Co-ordinators will get back to you.