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

Mandatory Field for BAPI_PR_CREATE

Former Member
0 Likes
3,737

Hi,

I am using BAPI BAPI_PR_CREATE to create Purchase Requisition. I fill the parameter PRITEM and PRACCOUNT with required field in BAPI. But when i execute the BAPI its giving DUMP with following message.

"A RAISE statement in the program "SAPLMEXF" raised the exception condition "NOT_FOUND".

Since the exception was not intercepted by a superior program in the hierarchy, processing was terminated."

Might of because i am passing worng parameters.

PLease help to sove this problem.

Thanks is advance.

Piyush

10 REPLIES 10
Read only

Former Member
0 Likes
2,521

Please check you are passing the below parameters for the BAPI for ITEM:

Document Type

Purchasing Group

Material Number

Plant

Quantity

Delivery Date

Kind Regards

Eswar

Read only

0 Likes
2,521

Hi ESWAR,

Thanks,

Well i am passing all the required details to 'PRITEM' except Material Number.

I think without passing Material No. we can create Purchase requisition.

I am passing 'DUMMY' to material Group.

I also filled PRACCOUNT for Unloading Point , Cost Center and G\L Account No.

Still its giving dump.

Please help me solve this problem.

Thanks

Read only

0 Likes
2,521

Hi Piyush

Yes we can create PR with out giving material number. For that we have to provide the Account Assignment Category in PRITEM and Other mandatory details in PRACCOUNT.

Please check if you are passing the accounting assignment category in PRITEM.

Maybe it will help if you can post your code.

Kind Regards

Eswar

Read only

0 Likes
2,521

Hi Eswar,

I am passing the following information in PRITEM.

PREQ_ITEM 0010

PUR_GROUP 602

SHORT_TEXT TEST

PLANT WERK

MATL_GROUP DUMMY

QUANTITY 10.000

UNIT EA

DEL_DATCAT_EX D

DELIV_DATE 01/08/2006

PREQ_PRICE 20.000000000

ACCTASSCAT K

and folling data in PRACCOUNT

GL_ACCOUNT 99426

COSTCENTER 690

GR_RCPT TEST

UNLOAD_PT JIM CAREY 376-3036

But its howing the dump when i execute the BAPI.

ShrtText

"Exception condition "NOT_FOUND" raised. "

Please help me to solve this problem and klet me know where i am passing wrong parameter.

Thanks

Piyush

Read only

shishupalreddy
Active Contributor
0 Likes
2,521

hI ,

PRITEM LIKE BAPIMEREQITEMIMP

iS THE ONLY MANDATORY PARAMETRER UNDER TALES IN THIS BAPI

REGARDS,

Read only

shishupalreddy
Active Contributor
0 Likes
2,521

Hi,

Can you please provide the DUMP information here

Read only

0 Likes
2,521

HI shishu,

please find out the details of DUMP below.

ShrtText Exception condition "NOT_FOUND" raised.

Error analysis

A RAISE statement in the program "SAPLMEXF" raised the exception

condition "NOT_FOUND".

Since the exception was not intercepted by a superior program in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

- Thanks

Piyush

Read only

shishupalreddy
Active Contributor
0 Likes
2,521

hi,

the following values are missong in bapi .

PSTYP

mtart

regards,

Read only

0 Likes
2,521

Hi Shish,

I am passing any materila to BAPI, so is it required to fill mtart.

I pass the value 2 and K to BAPI. but still its giving dump.

Please check this and let me know if you find any solution for this.

Thanks

Piyush

Read only

0 Likes
2,521

Hi Shish,

Sorry for wrong Previous post, please check the correction

I am not passing any material to BAPI, so is it required to fill mtart.

I pass the value 2 and K to BAPI. but still its giving dump.

Please check this and let me know if you find any solution for this.

Thanks

Piyush