Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

BAPI_PO_CREATE1 put on hold

$
0
0

Hi Everyone,

 

First of all I know there is a bunch of discussions about putting PO on hold using BAPI_PO_CREATE1 but none of them gave me correct answer to my problem.

 

The problem is I can't put on hold my PO on quite a new system (SAP_APPL 605 SP level 10). Bapi returns errors, for example "please enter tax code" which should not occur because of import parameters:

 

       ls_poheaderx-memory    = 'X'.

      ls_poheaderx-memorytype = 'X'.

 

CALL FUNCTION 'BAPI_PO_CREATE1'

       EXPORTING

         poheader               = ls_poheader

         poheaderx             = ls_poheaderx

         TESTRUN              = space

         MEMORY_UNCOMPLETE    = 'X'

         MEMORY_COMPLETE        = space

         NO_PRICE_FROM_PO        = 'X'

       IMPORTING

         exppurchaseorder       = lv_exppurchaseorder

       TABLES

         return                 = lt_return

         poitem                 = lt_poitem

         poitemx                = lt_poitemx

         poschedule             = lt_poschedule

         poschedulex            = lt_poschedulex.

 

Any suggestions?

 

Best regards,

Marcin


Viewing all articles
Browse latest Browse all 10425

Trending Articles