Application Development 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: 

BADI - CUSTOMER_ADD_DATA

Former Member
0 Kudos

Hi,

I've got the tabstrip working and I have a function module with a subscreen.

I intend to populate the subscreen with fields from a bespoke table I have added to the dictionary. I can't seem to populate the screen fields.

Should I be doing this in the subscreen PBO (This is where I currently have it, doesn't work ) or should I be using the interface methods (READ_ADD_ON_DATA).

I've tried putting my code in both places to populate the subscreen but it stays empty.

Has anyone done this before or does anyone have any suggestions.

Many thanks

Simon Farrell

2 REPLIES 2

Former Member
0 Kudos

Hi Simon,

As far as I understood ur problem.

U r working from some Screen Exit. m I rite? and u have created a new table, which data u want to put in sub screen.

Now, I tell the Subscreen processing.

When u do any action on main screen, it means which contain the tabstrip. It calls the PAI of main screen--then PAI of subscreen -- PBO of main screen -- PBO of subscreen -- Final output.

Now at PBO of subscreen. Define the same data type as u have declared in Subscreen through screen painter.

Then populate those data type, ur data will come.

I don't think so for the need of READ_ADD_ON_DATA.

Reg,

Arpit

Former Member
0 Kudos

Hi,

I've currently got my code to populate the subscreen in the subscreens PBO.

When I set a breakpoint on the PBO code it never hits it.

Its all active but it doesn't seem to hit the PBO.

I must be doing something stupid !