‎2006 Oct 17 7:03 AM
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
‎2006 Oct 17 7:08 AM
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
‎2006 Oct 17 7:27 AM
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
‎2006 Oct 17 7:46 AM
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
‎2006 Oct 17 1:14 PM
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
‎2006 Oct 17 7:31 AM
hI ,
PRITEM LIKE BAPIMEREQITEMIMP
iS THE ONLY MANDATORY PARAMETRER UNDER TALES IN THIS BAPI
REGARDS,
‎2006 Oct 17 7:33 AM
‎2006 Oct 17 1:04 PM
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
‎2006 Oct 17 1:43 PM
hi,
the following values are missong in bapi .
PSTYP
mtart
regards,
‎2006 Oct 18 11:34 AM
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
‎2006 Oct 18 11:40 AM
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