Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

Dump Error while creating External number PO via bapi_po_create1

$
0
0

Hi,

     We have a requirement as, while cut over client want to migrate all the PO available in legacy system into SAP. For this, we have created PO document type ZMGR with internal as well as external number range.

     We tried posting PO manually by T-CODE- ME21N.

     As we want to migrate vast no of PO's, We were posting PO using BAPI_PO_CREATE1.

     But while posting BAPI we were getting Exception "NO DATA". If i remove the PO number from bapi it is posting PO (And also generating PO number from internal number range).

     While debugging, we came across one global variable inside bapi as "STATE". this state have value as 0. While debugging, if i go ahed and manually change the value of variable STATE to 1 (i think 1 stands for available, but not sure). PO is posting with external number range also.

     Please ;et us know if we were missing any field to be passed in bapi.

 

Regards,

Chandan


Viewing all articles
Browse latest Browse all 8065

Trending Articles