cancel
Showing results for 
Search instead for 
Did you mean: 

BADI to call SMARTFORM

Former Member
0 Kudos

This is related to previous post regarding changing the print data that appears on Smartforms.

Christophe provided some very helpful responses which have gotten me to this point.

I have copied smartform bbp_sc and made the required changes. I also copied BADI bbp_change_sf_sc.

Can someone please tell me the code that needs to be added in the method to call my new custom form zbbp_sc.

I have tried the following which did not work:

method IF_EX_BBP_CHANGE_SF_SC~CHANGE_SMARTFORM.

TDSFNAME = 'ZBBP_SC'.

endmethod.

Thank you,

jolee

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Try :

method IF_EX_BBP_CHANGE_SF_SC~CHANGE_SMARTFORM.

SMARTFORM = 'ZBBP_SC'.

endmethod.

You have to use parameter in your implementation and not the associate type.

Bertrand

Former Member
0 Kudos

Bertran,

Thank you so much for helpful response. It Worked!!! Points awarded.

Have a great day.

jolee

Former Member
0 Kudos

Your welcome _

Answers (0)