Ansicht
Dokumentation

BBP_SUS_DOWNLD_FILES - Download Documents

BBP_SUS_DOWNLD_FILES - Download Documents

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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

  • File name for:
  • Purchase order: PO_

  • Confirmation: CONF_

  • Shipping notification: ASN_

  • Invoice: INV_

  • XSLT program for:
  • Purchase order: BBP_SUS_XML2CSV_ORDER

  • Confirmation: BBP_SUS_XML2CSV_CONF

  • Shipping notification: BBP_SUS_XML2CSV_ASN

  • Invoice: BBP_SUS_XML2CSV_INV

  • Output form for:
  • Purchase order: BBP_SUSPO

  • Confirmation: BBP_SUSCONF

  • Shipping notification: BBP_SUSASN

  • 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

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

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.






Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3110 Date: 20240523 Time: 235931     sap01-206 ( 41 ms )