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

Re : how to Uncomment exception handling part in a standard functionmodule

Former Member
0 Likes
1,290

Hi all ,

in the standard function module 'CJWB_CALL_FROM_EXTERN' there is another function module call named 'CJDW_PRPS_UP' after this function module exception handling is commented .

when i am trying to create a project through CJ27 transaction  in CJDW_PRPS_UP function call 'Not found exception' is raised as the handling part is commented it is throwing dump " Exception condition "NOT_FOUND" raised. "

ABAP Program           SAPLCJDW

Application Component  PS-ST-OPR

please help in this issue how to uncomment it .no sap note found for this..

5 REPLIES 5
Read only

kesarikatakam
Explorer
0 Likes
1,201

Hello Rajesh,

Since its standard, you may not be changing it, Check if any OSS exists with any correction note..

Probably there is an issue with the data you are sending, so check your config..

If the creation tcode is being called in a  custom program, then can you do the validation upfront before calling the tcode within the custom program so that you can cover this case and do the necessary error handling ?

Regards

Kesari Katakam

Read only

0 Likes
1,201

Hi Kesari Katakam ,

Thanks for the reply . i am not able to find any sap note regarding this issue .

Following are the search terms referred by sap

"RAISE_EXCEPTION" " "

"SAPLCJDW" or "FCJDWF00_SET_PSTAB_EX" "SET_PSTAB_EX"  or "SAPLCJDW" "NOT_FOUND" or "SAPLCJTR " "NOT_FOUND" .

if not able to find the note with those search terms what will be your suggestion and why sap has commented those exception handling will there be any specific reason.

please provide your suggestions .

Regards ,

Rajesh .

Read only

0 Likes
1,201

Hi Rajesh,

As your are trying to uncomment in standard function module it does not allow to make modification.You have to raise the OSS or need to find any SAP notes .

Regards

Khaleel

Read only

0 Likes
1,201

SAP probably expects a positive response from that function module always in your transaction context. So they dont want handle the exceptions in a message .

So you can check if this exception comes for every scenario / every data . If so then thats a major issue which you need to raise.

But if it happens for one particular set of data, then you need to see what is missing in the configuration etc.

Are you calling this transaction manually or within a program using CALL TRANSACTION ?

Read only

0 Likes
1,201

Hi Thanks for the reply .

The transaction CJ27 is called manually not within a program . It is giving dump for every data .

As we are not able to find any Sap notes We Raised OSS message. Thanks for the help .