cancel
Showing results for 
Search instead for 
Did you mean: 

Debug SRM Rfx Print preview

Former Member
0 Kudos

Hi

Trying to debug the SRM Rfx Print preview method and class.

In SRM Portal, when i click print preview in Rfx document, break point is not stopping at

Processing method PROCESS_BBP_BID_PRN. i could not debug the corresponding method and know

what smartform is passed over there.

SPRO->Action profile

Smart Forms Print is checked as default.

Can you please tell me where the Smartform BBP_BID_INVITATION is called inside the code

Regards

Chandra

Accepted Solutions (1)

Accepted Solutions (1)

yeushengteo
Advisor
Advisor
0 Kudos

Hi,

Please try class CL_PD_BID_PROCESSING_BBP~PROCESS_BBP_BID_PRN instead?

Regards.

YS

Former Member
0 Kudos

Hi

Thanks for your reply.

Yes i have already made breakpoint over CL_PD_BID_PROCESSING_BBP~PROCESS_BBP_BID_PRN method.

when i click print preview button at SRM portal...why debug is not going to above method.

SRM portal user and ABAP user should be same?

Regards

Chandra

yeushengteo
Advisor
Advisor
0 Kudos

Hi,

If you have set external breakpoint, the code should be broken at the designated line.

If nothing works, try to activate the BADI BBP_OUTPUT_CHANGE_SF and set breakpoint inside the BADI. This BADI must be called somehow. Then you can know the smartform which is being used at runtime.

Regards.

YS

Former Member
0 Kudos

Hi

Thanks for your reply.

Yes its usefull..i get the contents in BADI

but i want to know which method is called in current case. Eventhough output definition says class, method is assigned to smartform, but where exactly we can confirm the correspondng method PROCESS_BBP_BID_PRN/PROCESS_BBP_BID_MAI_BCS is called when i click print preview.

Regards

chandra

yeushengteo
Advisor
Advisor
0 Kudos

Hi,

it should be method PROCESS_BBP_BID_MAI_BCS.

Regards.

YS

Former Member
0 Kudos

Hi

Can you tell me how you found this

Does the debug break point stops there?

In my case its not stopped at above PRN or Mail Method.

Pls hint me how to make sure method is called?

Regards

Chandra

yeushengteo
Advisor
Advisor
0 Kudos

Hi,

The reason is because that is the method which is calling to the FM BBP_OUTPUT_BID_PREVIEW_SMART for preview. Hence it was suggested.

Hope is correct.. YS

Answers (1)

Answers (1)

former_member653066
Participant
0 Kudos

hi folks,

i am new to SRM and am trying to debug the srm smartforms bid response BBP_QUOTATIOIN.

i have tried the function module    BBP_OUTPUT_BID_PREVIEW_SMART.

but when i am trying to see the output it is not stopping,

kindly help me .

its very urgent.

regards:

maehsh

former_member219695
Participant
0 Kudos

Hello Mahesh,

Please see the below blog.

https://wiki.scn.sap.com/wiki/display/SRM/How+to+test+Smart+Forms+from+SAP+GUI

Thanks

Shuvrajyoti