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

Runtime Error for the Picking List Smartform

Former Member
0 Likes
613

Hi All,

I am working on the smartform, used for GI Scrapping for 551 Movement type. The requirement is they need DEA number for the Plant. I have written code for getting the DEA number. Iacivated the form and I want to print it using the TCODE MB02.

I get the runtime error saying UPDATE TERMINATED.I saw Dump Analysis it says CALL_FUNCTION_PARM_MISSING. It says IS_ADRC is the parameter. The ABAP program is the include program /SMB40/M07DRSON. This show the function module lf_fname with out passing the parameter IS_ADRC. How can I change the program. This is Standard program.

Thanks,

4 REPLIES 4
Read only

Former Member
0 Likes
568

Hi,

I think when you are calling the smart form function module you are missing the parameter IS_ADRC.

Thanks,

Naren

Read only

0 Likes
568

Thats correct, but the program that calls the FM of smartform is a standard SAP Include program

Read only

Former Member
0 Likes
568

Then the smart form interface in the transaction SMARTFORMS you have to remove the parameter IS_ADRC. As the calling program will not automatically add the parameters if you add it in the smartforms...

If you want the values from the table ADRC..you can write subroutines in the INITIALIZATION to get the values...

Thanks,

Naren

Read only

Former Member
0 Likes
568

Which FM is returning the error?

Rob