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 - LE_SHP_TAB_CUST_HEAD - Message output

g_gugglberger
Discoverer
0 Kudos

Hi

i implemnted the BADI LE_SHP_TAB_CUST_HEAD. Everything is displayed correctly. But my questin ist, where can I do a check on the field contents and output a message?

kr
Gerhard

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor
0 Kudos

Hello g.gugglberger

An implementation of the LE_SHP_TAB_CUST_HEAD BAdI includes a custom subscreen in an additional tab. As per BAdI documentation the subscreen are defined in SAPMV50A program, with 9000 - 9999 numbers:

If you don't need access to SAPMV50A global data, you can use a subscreen defined in your own program.

Either way, whatever fields you put on the custom subscreen, they can be validated with regular techniques of SAP dialog programming.

Do you have any specific problems?

Best regards

Dominik Tylczynski

3 REPLIES 3

DominikTylczyn
Active Contributor
0 Kudos

Hello g.gugglberger

An implementation of the LE_SHP_TAB_CUST_HEAD BAdI includes a custom subscreen in an additional tab. As per BAdI documentation the subscreen are defined in SAPMV50A program, with 9000 - 9999 numbers:

If you don't need access to SAPMV50A global data, you can use a subscreen defined in your own program.

Either way, whatever fields you put on the custom subscreen, they can be validated with regular techniques of SAP dialog programming.

Do you have any specific problems?

Best regards

Dominik Tylczynski

Hi Dominik,

I have the subscreen in an own functiongroup...

is this different??? or can I still use the exit MV50AFZ1?

kr

0 Kudos

Hi g.gugglberger

If you don't need access to SAPMV50A global data, you can use a subscreen defined in your own program. Still any validations of fields in your custom screens should be implemented with the screen logic, just like for any other screen, with ABAP dialog programming techniques.