‎2010 Jul 13 9:46 AM
Exist a bapi for simulation purchasing order. I'm also interesting to NOT consume a number in number range.
Thanks
‎2010 Jul 13 10:01 AM
Hi,
Have you checked TESTRUN parameter in bapi BAPI_PO_CREATE1. BAPI documentation says
Test Indicator
Description
This parameter is a test switch.
If you activate the switch, the system does not save the document.
Value range
Space = Document should be saved
X = Document should not be saved
Default
SpaceRegards
Vinod
‎2010 Jul 13 10:01 AM
Hi,
Have you checked TESTRUN parameter in bapi BAPI_PO_CREATE1. BAPI documentation says
Test Indicator
Description
This parameter is a test switch.
If you activate the switch, the system does not save the document.
Value range
Space = Document should be saved
X = Document should not be saved
Default
SpaceRegards
Vinod
‎2010 Jul 13 10:46 AM
‎2010 Jul 13 10:56 AM
Hi,
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = HEADER
POHEADERX = HEADERX
POADDRVENDOR =
TESTRUN = 'X'
IMPORTING
EXPPURCHASEORDER = V_EXPPURCHASEORDER
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = RETURN
POITEM = ITEM
POITEMX = ITEMX.