cancel
Showing results for 
Search instead for 
Did you mean: 

Skipping Pages in a PWB Smartform

Former Member
0 Kudos

Hi All,

I have created one application form and a related smart form. The name of the Application Form is IS_U_CA_INSTPLAN. This, when run in mass run, is executed for a few number of times based on certain conditions. My associted smart form is printed all the time.

What I need is to print the smart form only for a certain number of times. Is there any way , we can skip the printing of the smart form for some iterations of the loop? I have tried commands like LEAVE list-processing but this brings me out of the loop even if i am not done with all the entries in the loop. Please note that this loop is present in standard SAP and i can't use any loop related statements such as CONTINUE. What I need in short is to go from the top exit to the end exit without going to the smartform.

Can somebody please suggest something?

Regards,

Kirti

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I am trying to use Smartform for Print Workbench object.

I am not able to understand what is 'ISU_CA_DUNNING_STR_DUNN_HEAD'.

(=Type of Import Variable PWB).

Could you help me?

Thanks

Agrim

former_member193831
Active Participant
0 Kudos

hi Kirti,

Sorry for my ignorance; What is application form.

If you have the print program as a Z program then you can control for what iteration the smartForm is called/ not.

Just in the loop where the SmartForm FM is called; based on your condition; skip that call.

*****

Regards

Vivek

**->Reward points if helps.