0% found this document useful (0 votes)
91 views2 pages

Bapi PR

This document contains a report that calls the BAPI_PR_CREATE function to create a purchase requisition. It defines variables for the header, item, and account data required for the function and calls the function, passing the item table.

Uploaded by

Aarif Raza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views2 pages

Bapi PR

This document contains a report that calls the BAPI_PR_CREATE function to create a purchase requisition. It defines variables for the header, item, and account data required for the function and calls the function, passing the item table.

Uploaded by

Aarif Raza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

*&---------------------------------------------------------------------*

*& Report YSD_TEST_PR_BAPI


*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT ysd_test_pr_bapi.

data: lwa_PRHEADER TYPE BAPIMEREQHEADER,


lwa_PRHEADERX TYPE BAPIMEREQHEADER,
lwa_PRITEM TYPE BAPIMEREQITEMIMP,
GT_PRITEM TYPE TABLE OF BAPIMEREQITEMIMP,
lwa_PRITEMX TYPE BAPIMEREQITEMX,
GT_PRITEMX TYPE TABLE OF BAPIMEREQITEMX,
LWA_PRACCOUNT TYPE BAPIMEREQACCOUNT,
LWA_PRACCOUNTX TYPE BAPIMEREQACCOUNTX,

CALL FUNCTION 'BAPI_PR_CREATE'


* EXPORTING
* PRHEADER =
* PRHEADERX =
* TESTRUN =
* IMPORTING
* NUMBER =
* PRHEADEREXP =
TABLES
* RETURN =
pritem =
* PRITEMX =
* PRITEMEXP =
* PRITEMSOURCE =
* PRACCOUNT =
* PRACCOUNTPROITSEGMENT =
* PRACCOUNTX =
* PRADDRDELIVERY =
* PRITEMTEXT =
* PRHEADERTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* PRVERSION =
* PRVERSIONX =
* ALLVERSIONS =
* PRCOMPONENTS =
* PRCOMPONENTSX =
* SERVICEOUTLINE =
* SERVICEOUTLINEX =
* SERVICELINES =
* SERVICELINESX =
* SERVICELIMIT =
* SERVICELIMITX =
* SERVICECONTRACTLIMITS =
* SERVICECONTRACTLIMITSX =
* SERVICEACCOUNT =
* SERVICEACCOUNTX =
* SERVICELONGTEXTS =
* SERIALNUMBER =
* SERIALNUMBERX =
.

You might also like