cancel
Showing results for 
Search instead for 
Did you mean: 

Use ZBBP_PO smartform for PO printing in SUS

Former Member
0 Kudos

Hi Gurus,

Is it possible to use the SRM PO smartform for output in SUS?

That is, if the vendor prints the PO form in SUS, is it possible to call the smartform ZBBP_PO instead of ZBBP_SUSPO?

Would really appreciate any help.

Regards,

Kezia

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Kezia Layug ,

I have few doubts in SUS po smartform . Is there a way where i can get the Shopping carts no in the SUS po.

Please reply.

Thanks in Advance.

Neelima

Former Member
0 Kudos

hi neelima,

check []

regards,

kezia

Former Member
0 Kudos

Hi,

For SUS for any Output you can use the BADI BBP_SUS_DOWNLD_FILES for printing.

Just check following help

Use

You can use this Business Add-in (BAdI) to specify file names and folders that differ from those used in the standard system for downloading documents. You can also specify the XSLT program the system uses for converting from XML to CSV, as well as the form the system uses for printing documents.

Standard settings

SAP does not deliver a standard implementation for this BAdI. If there is no active implementation, the system uses the following:

• File name for:

o Purchase order: PO_<purchase order number>

o Confirmation: CONF_<Confirmation number>

o Shipping notification: ASN_<shipping notification number>

o Invoice: INV_<invoice number>

• XSLT program for:

o Purchase order: BBP_SUS_XML2CSV_ORDER

o Confirmation: BBP_SUS_XML2CSV_CONF

o Shipping notification: BBP_SUS_XML2CSV_ASN

o Invoice: BBP_SUS_XML2CSV_INV

• Output form for:

o Purchase order: BBP_SUSPO

o Confirmation: BBP_SUSCONF

o Shipping notification: BBP_SUSASN

o Invoice: BBP_SUSINV

The BAdI provides the FILES_MODIFY method with the following parameters:

Importing

IV_OBJTYPE Document type (purchase order or invoice)

IV_OBJID Document number

Changing

EV_XML_FNAME XML file name

EV_CSV_FNAME CSV file name

EV_PDF_FNAME PDF file name

EV_REL_DIR relative folder

EV_XSLT_PNAME XSLT program

EV_SMARTFORM output form

Activities

If you want to use file names or forms that differ from the standard system, implement the BAdI and activate the implementation.

Example

include BBP_PD_CON_CL.

CASE iv_objtype.

  • Order

WHEN c_suspo.

ev_xslt_pname = 'YOUR_ENTRY'.

ev_xml_fname = 'YOUR_ENTRY'.

  • ASN

WHEN c_susasn.

ev_xslt_pname = 'YOUR_ENTRY'

  • INVOICE

WHEN c_susinv.

ev_smartform = 'YOUR_ENTRY'.

  • CONFIRMATION

WHEN c_suscf.

ev_xslt_pname = 'YOUR_ENTRY'.

ENDCASE.

See these related threads:

You need to implement the above mentioned BADI to call another Form(other then the std ).

BR,

Deepti..

Former Member
0 Kudos

Hi Deepti,

Thanks for your quick reply.

We already implemented BBP_SUS_DOWNLD_FILES BAdI using ZBBP_SUSPO.

Since BBP_SUSPO contains limited PO details, we would like the vendors to print in SUS the same PO smartform that we print in SRM. This is because BBP_PO smartform for SRM PO is more detailed.

Regards,

Kezia

Former Member
0 Kudos

Hi,

You just need to change the smartform name in the BADI .

Former Member
0 Kudos

Hi Deepti,

We cannot just call ZBBP_PO in the BAdI since is is using different structures inside the smartform. Though we have tried calling it in the BAdI and it was not successful.

Thanks,

Kezia