cancel
Showing results for 
Search instead for 
Did you mean: 

Creating SRM PO with Smartforms BBP_PO

Former Member
0 Kudos

I am creating a new smartform for displaying PO using copy of SF BBP_PO.

i have below doubts, could anyone plz clarify

1) can i write all the logic like select queries in the smartform?(I have different tables to select data). if i write select queries here, is it require to develop a print program or BADI again?

2) if not Where exactly i have to write the print program code?

is it in creating a zclass and zmethod like

Class = CL_PD_PO_PROCESSING_BBP

Method = PROCESS_BBP_PO_PRN ?

(or)

BADI - BBP_OUTPUT_CHANGE_SF(ZChange_Smartform)

Plz provide some inputs on this...

Useful answers get full points.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1) Yes, you can create a programming node into your smartform in this you can select all the needed data that isn't already provided for you. There are a lot of fields already available for use. A function module is automatically generated from your smartform when you activate it.

2) You can easily select your Z version in customising, no real need for the BADI if you only use one z version in your company and don't need any other functionality of the badi.

Regards,

Robin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I think you have to check out the Function module generated by the smartform.

choose "Environment / Function module name " from the menu, and there you see the

generated FM name. Go to SE37 and check this FM. You can try to do your changes here.

Regards,

Daniel