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

Issue while calling program having submit program inside submit program

0 Likes
1,052

Hi Experts,

I have created a program A which call another program B (using submit) & update the cumulative numbers in some Z table. The program B which is being called is having submit statement inside it which calls standard program rfitemar. When I execute the program B separately I get the output properly, but when I execute program A, it doesn't give me any output. In program rfitemar i have done enhancement to export the list to memory ID & importing the same in program B.

Can you help me with any suggestion, what could be the reason & with some solution to handle such scenario?

Thanks,

Amar

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
965
  • Did you use SUBMIT ... AND RETURN in both case
  • Why did you Enhance RFITEMAR, as this report can display data in an ALV grid list, you could wrap its call with class CL_SALV_BS_RUNTIME_INFO and get the data back, preventing the display
Read only

0 Likes
965

Thanks for revert. I have done enhancement to get FLB5N internal table data in my another Z program in which I do some processing based on this data & generate PDF.

Anyway will try the method you suggested using a wrapper class.

Read only

Sandra_Rossi
Active Contributor
0 Likes
965

After the debug, can't you see why it doesn't work?