Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Upload PO with Configured Material using BAPI_PO_CREATE1

$
0
0

Hi ,

 

Could you please help me to solve this issue.

 

My Requirement.:

Upload PO with configured Material using BAPI_PO_CREATE1.

Class 300.

Material ; Sub contracting Scrap material.

 

I tested and created PO in ME21n. PO was created with Characteristic values  .Config is in place.

 

I tried to create a test program and tested output . PO was created with no characteristic values(blank).

 

Steps which I did.

1. Create config and get Instances using

  BAPI_CFG_CREATE.

2. Assign Characteristics Value using

  BAPI_CFGINST_CHARCS_VALS_SET

3. Set the value to DB.

  CUCB_CONFIGURATION_TO_DB. with Commit work.

 

After this. I checked IBINOWN table, Instance is created in this table.

 

4. Populate the BAPI data and included Instance in Item level,

5.Cal BAPI BAPI_PO_CREATE1.

 

Could you please help me to solve this issues. I am not sure why values not updated in PO eventhough I pass instances.

 

I have attached my sample program with this discussion.

 

Note: I checked lot of discussion .Example below.

http://scn.sap.com/thread/1678314

http://scn.sap.com/thread/66378


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>