Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

adding extra tab at Sales order header level

Former Member
0 Likes
2,146

hi Friends,


There is requirement of having extra tab (next to additional tabs) at Sales order header level - for this, i implemented with the help of badi 'BADI_SLS_HEAD_SCR_CUS'.

So, all the code related to this is built in module pool program.


Now, the issue is, data population to that extra tab happening only when User go to that particular tab - i mean, in debugging, i can see the code in mpp triggering only when user picks that tab - but this should not be the case, right...while creating Sales order, data population to happen automatically, not always User goes to that tab ...i'm trying to write the same code in exit, 'move_field_to_vbap' - but no luck and I doubt how any exit recognize the table control (new tab) !!


Please provide me inputs if any, thanks.

Regards,

Suren.



2 REPLIES 2
Read only

Former Member
0 Likes
1,318

Hi Suren,

The BADI triggers only when you click on the new tab on Sales Order header.

When using VA01, were you able to enter values and save those to the table?

When using VA03, were you able to see the values that are saved by the above step?

I am not sure if I had understood your issue correctly. It would be great if you explain bit more.

Thanks,

Sandy

Read only

0 Likes
1,318

hi Sandy,

Yes, through VA01 - values are populating, but issue is population logic to be done automatically like standard sap, where all other tabs how they behave, in similar way, my custom tab to fill by default as my coding there in badi - problem is my custom logic in badi is triggering only when we click that particular custom tab - but this should not be the case, right...Always User can't go Header level and click that tab...

And i can see the data displaying at VA03 - in the case when i click the tab thru VA01..hope you understand the issue i'm facing...

So, anything to link up the sap screen flow while we using this badi 'BADI_SLS_HEAD_SCR_CUS'  OR what might be the alternate way to dealt with?  Please provide inputs if any, thanks.

Regards,

Suren.