Application Development and Automation 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: 
Read only

BAPI_PO_CREATE1

Former Member
0 Likes
686

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
Read only

Former Member
0 Likes
620

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

Read only

Former Member
0 Likes
620

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

Read only

0 Likes
620

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.

Read only

Former Member
0 Likes
620

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

Read only

Former Member
0 Likes
620

address not maintain .

to assizn correct plant address.

try this table adrc.