cancel
Showing results for 
Search instead for 
Did you mean: 

VA01/VA02/VA03 Overview Screen Enhancement Options

yanlinsun
Participant
0 Kudos

Hi,

I am trying to add new functions to the Sales Order overview screen (VA01/VA02/VA03). I have searched for a long time, no enhancement option to achieve that.

The available options are:

Screen 8309, 8310: They are for the header screen 'Additional Data B'. I need to modify the OVERVIEW screen.

BADI_SLS_HEAD_SCR_CUS_H: Again it is for header screen, not for overview screen.

Please have a look at the picture about what I want.

There are 6 possible places to add my functions. Right now, I found a way to add a new tab at position 4.

But it requires modifying a standard SAP DB table which is not the standard way to do enhancement.

Does anyone know any option to fulfil my requirement by using standard SAP enhancement options? Thanks.

Regards,

Yanlin

former_member183501
Active Contributor

Would you please mind to elaborate the business need which require this much modification?

yanlinsun
Participant
0 Kudos

The business need is we have an external pricing engine. It can calculate the net price of the whole sales order or per sales item. The backend logic will be implemented in a BAdI.

We want the user to be able to manually re-do the price calculation if there are some changes in our pricing engine, so I need to display a button 'Reprice' on the screen. Then the user can see the updated price.

Sandra_Rossi
Active Contributor

Why do you say that adding a tab in the tab strip "requires modifying a standard SAP DB table"? That's wrong. You may just add your own subscreen with one button and one custom ABAP code behind, and that's done.

yanlinsun
Participant
0 Kudos

Hi Sandra,

You may check my answer to Veselina below. If it is that simple as you said, I won't open the question. But I welcome all possible solutions. It is great if you can provide a sample program. Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

yanlinsun
Participant
0 Kudos

It has been two months since I ask this question. Base on the information I get, I think I can conclude the answer.

The short answer to my question is Not Possible (without touching SAP code).

If we decide to modify the standard SAP code, we can achieve the requirements I mentioned in my question as follows:

1. Modify program SAPMV45B, GUI Status 'U'.

2. Same as requirement 1.

3. Modify program SAPMV45A, screen 4021.

4. A special implement of BAdI BADI_SLS_HEAD_SCR_CUS. With some tweak in Screen Sequence Control (VFBS).

5. Modify program SAPMV45A, screen 4440.

6. Modify program SAPMV45A, screen 4050.

Here is the screenshot of sample implementations of requirement 3 and 4.

I am open to any better ideas. Thanks.

srikanthnalluri
Active Participant
0 Kudos

yanlinsun I believe you may have problems or you miss the standard functionalities after upgrading (Support packs or EPH upgrades).

I would suggest to take it down to two steps. one is VA01(without any changes to the standard program unless you have enhancement points) and second step is - create a custom program which will handle all the custom functionalities using the sales BAPI. It is hassle for user but there won't be any problem in feature.

I might completely wrong, Please correct me if i'm.

mynynachau
Community Advocate
Community Advocate
0 Kudos

Your answer was alerted to moderators for being incorrect and not recommended. That's why it was unaccepted as best answer.

pataselano
Active Contributor
0 Kudos

Please read following blog: BADI Add Header Tab Custom Fields in VA01,VA02,VA03 ( Sales Order ) with BAPI Extension.

Hope that blog can answer your question.

yanlinsun
Participant
0 Kudos

Thanks Andy. I aware the solution mentioned in that blog. It is to add a new tab in HEADER screen, not the OVERVIEW screen, so it is not what I want.

pataselano
Active Contributor
0 Kudos

Dear Yanlin,

BAdI for sales screen as follows:

BADI_SLS_HEAD_SCR_CUS Additional Detail Screens on Header Level

BADI_SLS_HEAD_SCR_INT Additional Detail Screens on Header Level (Internal)

BADI_SLS_ITEM_SCR_CUS Additional Detail Screens on Item Level

BADI_SLS_ITEM_SCR_INT Additional Detail Screens on Item Level (Internal)

If the above BAdIs can't meet your requirement then you should create z-program.

anti-matter
Participant
0 Kudos

As per my understanding you want to inject in your SD screens some sort of external pricing logic besides your SAP pricing calculation schema. I believe that this is feasible throughout a screen variant (SHD0)

Create variants for VA01 VA02 VA03 depending on what visible and assign them in VOV8 which will be linked to your sales ordering process.

You can insert your Z* program...

yanlinsun
Participant
0 Kudos

Thanks Franck for introducing me the transaction/screen variants. However, after I look into it, it seems the transaction/screen variants are not suitable for my need.

According to the SAP help document, the transaction/screen variants can do the followings.

  • Inserting default values in fields
  • Hiding and changing the ready-for-input status of fields
  • Hiding and changing the attributes of table control columns
  • Hiding individual menu functions
  • Hiding entire screens.

As you can see, it doesn't mention the ability to add new object/function to a screen. So I guess this approach is not working for me. Or you know how to add new function by using this method please let me know. Thanks.

VeselinaPeykova
Active Contributor
0 Kudos

Some of what you ask might be possible with Screen Personas (I mean placing the fields or buttons that you need in one tab and then showing them in another tab etc.), but you listed a lot of changes, my guess is that the performance will not be great (I am not an expert on the topic though).

I am not a developer, which is probably why I am confused by the statement about BADI_SLS_HEAD_SCR_CUS - "it requires modifying a standard SAP DB table" . I have read a few blogs on the topic and none of the authors mention modification of standard tables as a prerequisite (unless you meant the tables from VBFS).

Of course, there is always the option for extending (in the case of ERP) or creating and extending (S/4HANA) a set of FIORI apps, but this is probably going to cost more than what the client will agree to pay.

yanlinsun
Participant
0 Kudos

Yes, you are right. The tables I mentioned are VFBS tables. The table content might be erased during SAP upgrade. So it is not ideal.