Printing Attachments Of Work Order Via IW32

...Previous

Coding for Screen exit:

1.       Create a screen ‘0900’ in program ‘SAPLXWOC’, which is called in the program ‘SAPLCOIH’.

Create it as a subscreen type.

2.       Go to layout and create a table control, which will display the list of attachments.

Create a pushbutton to print the selected attachments. Function code for pushbutton should be ‘ENT1’. No other function code works for the pushbutton in the enhancement tab.

3.       Now, go to flow logic tab and in PBO of the screen, write a logic to to fill the table cotrol. We will use the internal table (I_WORK) populated in the function exit.

Loop at the internal table I_WORK and populate the table control (ZATTACHMENT).

In tcode IW32, when we goto enhancement tab, the list of attachment present for that order will be displayed. Then, user can select the attachments to be printed and press ‘Print’ button.

So, we need to check the selected entries and print them, this logic will be written in PAI of the screen.

 

4.       Below is the screenshot of the coding for PAI, Module STATUS_0900. It will fetch the selected attachments.

Click here to continue..

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image