Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_PO_CREATE1

Former Member
0 Kudos
178

Hi all,

after giving all the header and item values including the plant data in this bapi (BAPI_PO_CREATE1) which is used in program to create purchase order it is showing an error message "Address doesn't exist T001W4005". where as purchase order is manually created succesfully using the same plant from the T.code me21n.

Can any one help me in this regard.

ThanX in Advance.

Pavani

5 REPLIES 5

Former Member
0 Kudos
112

Hi

It seems that the address for the Plant was not maintained in T001W table

hence it is giving the error. May be the plant address is checked in BAPI, hence it is giving the error.

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos
112

while using this FM, ur passing a address number data to a variable which is been checked against T001W table and it is unable to find the corresponding data in this check table due to which it is throwing the error... try to pass correct address number data to the correct field.

send an email to rameshc@intelligroup.com and i will send u a sample code which u can analyze and accordingly write ur code....

Award Points

Message was edited by:

Ramesh Babu Chirumamilla

0 Kudos
112

Ramesh,thanx for that ,but we r passing plant data which is there in t001w table and it contains relevance address for that,still its trigerring error "address doesnot exist" from bapi.

Former Member
0 Kudos
112

HI PAVANI,

i think the address value in the flat file is not exsisted in customer master ,try to give a valid address,which is in customer master

Former Member
0 Kudos
112

address not maintain .

to assizn correct plant address.

try this table adrc.