cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect Smartform for PO Output Preview

Former Member
0 Kudos

Hi All,

We did a copy of the smartform BBP_PO. We created two versions - for print and for email.

And called these two forms using BBP_OUTPUT_CHANGE_SF BAdI.

On DEV, everything was ok. All smartforms were called correctly.

However on QAS, it's not. When we try to generate the PO output preview, it's calling the PO for email.

Any idea why we are encountering this?

Many thanks,

Kezia

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

Hi Keiza

Can you debug the smartforms please.

just Vishal tried in r/3 but you can try in EBP .

/people/vishal.sharma8/blog/2009/03/17/debug-node-in-smartform

regards

Muthu

Former Member
0 Kudos

Hi Muthu,

Thanks for your reply.

The problem is not on the forms.

It's on the output medium (print and email).

Actually, I have tried debugging the BAdI that calls the two smartforms.

When you try generating the print preview on DEV, it is calling the form for printing (IV_MEDIUM = PRN),

however in QAS it is calling the form for email (IV_MEDIUM = MAI).

Just confused why the two systems behaved differently. Any idea why?

Regards,

Kezia

Former Member
0 Kudos

Hi Kezia,

Can you compare the SPRO settings is both the DEV and QAS systems.

SAP Implementation Guide -> Supplier Relationship Management - SRM Server

-> Cross-Application Basic Settings -> Set Output Actions and Output Format

Thanks,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

Have checked the config in SPRO, everything is the same.

Was just thinking if the send medium defaulted on the business partners affects the generation of output preview.

Thank you,

Kezia

Former Member
0 Kudos

Issue resolved!

The PO output preview depends on the smartform assigned to the Send Medium maintained on each business partner.

What happened is that in QA we defaulted MAIL as the send medium on all business partners. However in Dev, it just happened that the vendors we are using have PRINT as their send medium.

Regards,

Kezia