on 06-18-2009 4:54 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.