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

module programming

Former Member
0 Likes
1,068

hi,

i want some sample code for getting report in module

programming.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,051

Hi ganesh,

define One screen (Example : 1000).

In that Create 2-3 Fields like MATNR, MAKTX, QUANTITY etc.

Create one Pushbutton with F-Code = 'PUSH'.

In the PAI of the screen wrtite code :

CASE OK_CODE.

WHEN 'PUSH'

LEAVE TO LIST-PROCESSING.

Write : /05 MATNR,

MAKTX,

QUANTITY.

Now ones you run ur transaction it will generate screen wth ur defined fields and pushbutton.

Enter MatNR, MAKTX and Quantity and press PUSHBUTTON and it will generate ur normal report output.

Thanks,

Kinjal.

9 REPLIES 9
Read only

Former Member
0 Likes
1,051

Hi,

Pls Go through the Following link you will hav clear idea about Dialog(Module Pool Programming).

http://sap.mis.cmich.edu/sap-abap/abap09/index.htm

Regards,

Sujit

Read only

Former Member
0 Likes
1,051

Hi,

try tcode ABAPDOCU.

Regards, Dieter

Read only

Former Member
0 Likes
1,051

hi,

Plz Refer to this link.

http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9cdc35c111d1829f0000e829fbfe/content.htm

Hope this will help.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
1,051

Hiii!

Check out this link

http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html

<removed_by_moderator_together_with_points>

Regards

Abhijeet Kulshreshtha

Edited by: Julius Bussche on Jul 8, 2008 4:38 PM

Read only

Former Member
0 Likes
1,051

hi,

i know basic concept in module pool but i dont know how to get report in the module pool.

the requirment is when the client click a push button in the

window it will genrate a report.

can u give some example coding or some nice document on it

Read only

Former Member
0 Likes
1,051

Hi,

I hope you are talking about List processing Through Module Pool.

If this then go to the link.

http://www.sapmaterial.com/dialog_programming.html

Basically you have to write the Processing in PAI Module

You can find demo code.

Regards,

Sujit

Read only

Former Member
Read only

Former Member
0 Likes
1,053

Hi ganesh,

define One screen (Example : 1000).

In that Create 2-3 Fields like MATNR, MAKTX, QUANTITY etc.

Create one Pushbutton with F-Code = 'PUSH'.

In the PAI of the screen wrtite code :

CASE OK_CODE.

WHEN 'PUSH'

LEAVE TO LIST-PROCESSING.

Write : /05 MATNR,

MAKTX,

QUANTITY.

Now ones you run ur transaction it will generate screen wth ur defined fields and pushbutton.

Enter MatNR, MAKTX and Quantity and press PUSHBUTTON and it will generate ur normal report output.

Thanks,

Kinjal.

Read only

Former Member
0 Likes
1,051

the requirment is when the client click a push button in the

window it will genrate a report. i am using push button in sub screen.

can u give some example coding or some nice document on it