‎2007 Jun 01 3:07 PM
How to call a module pool program in a report program...? I also need to pass parameters to the module pool program.......
‎2007 Jun 01 3:11 PM
You could setup some parameter ids and SET them in your calling program, and then use the CALL TRANSACTION statement to call the module pool program, in this module pool program you would then GET the parameter ids and the values.
You could also use the EXPORT IMPORT functionality to achieve the same result.
An outdated technology is the use of CALL DIALOG. Not sure you want to go there.
Regards,
RIch Heilman
‎2007 Jun 01 3:10 PM
‎2007 Jun 01 3:11 PM
You could setup some parameter ids and SET them in your calling program, and then use the CALL TRANSACTION statement to call the module pool program, in this module pool program you would then GET the parameter ids and the values.
You could also use the EXPORT IMPORT functionality to achieve the same result.
An outdated technology is the use of CALL DIALOG. Not sure you want to go there.
Regards,
RIch Heilman
‎2007 Jun 01 3:15 PM
>>An outdated technology is the use of CALL DIALOG. Not sure you want to go there.
SAP still uses it in HR_INFOTYPE_OPERATION & HR_MAINTAIN_MASTERDATA.. at least on 47.. don't know if they changed the approach in the newer versions.. SAP7.0?
~Suresh
‎2007 Jun 01 3:21 PM
‎2007 Jun 01 3:24 PM
Check the section under "Using Dialog Modules". It simply says that they are obselete.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9db635c111d1829f0000e829fbfe/frameset.htm
Regards,
RIch Heilman
‎2007 Jun 01 3:14 PM
‎2007 Jun 01 3:28 PM
I think i will explain my problem more clearly... for example if i want to execute so10 withour bdc.. i am calling the program of the first screen of the transaction namely sapmssce..... now i need to pass values to the program and retrieve results from this program... this output i may pass it to the next screen( program for the next screen.) can u get my flow??
I just wanna know how do i call the program and how to pass parameters..
‎2007 Jun 01 3:34 PM
‎2007 Jun 01 3:35 PM
‎2007 Jun 01 3:45 PM
Hi Sowmya
If u want to call a module pool program, then u should use CALL Transaction with Set parameter id...
Every module pool programs has been associated with a transaction. So instead of calling a module pool u can call transaction.
I assume u can use CALL SCREEN statement.
Need ur reward points if u feel its useful.
Regards
Ravi
‎2007 Jun 01 3:45 PM
Hi I think i didnt communicate it yet the right way it wanted it to be done..... i dont want for so10... i gave an example...how to pass parameters to the module pool program....... i don want to record a bdc or do call transaction...... i want to operate on the transaction screen wise rather program wise..... so i am calling the transaction associated to the first screen manually and then i am passing it to teh program associated with the second screen and so on.......
i just want to know how to pass parameters to the program.... for example sapmssce... how to pass parameters to this program using abap reporting...... how to call this program in the first place..??
i heard SUBMIT solves this purpose... can u explain it??
‎2007 Jun 01 3:55 PM
You can't do that with a module pool program without using BDC. You can use the SUBMIT statement and pass parameters when it is a report program(executable program) only. You can also get the report results back from a SUBMIT.
So with what you are saying the only resolution is a BDC over the transaction, and you would not be able to get the results except for any messages that come back thru the MESSAGES into MESSTAB extension of the CALL TRANSACTION statement.
Regards,
Rich HEilman
‎2007 Jun 01 4:01 PM
Hi Rich...
thanks for ur concern towards my issue... the porblem we are facing is with ck40n transaction... where in one of the OSSNotes we read that bdc rather batch job in background cannot be done for that transaction... so in this case we need to call the programs of that transaction.. screen by screen and pass values and retrieve values..... so can u help me with that...
‎2007 Jun 01 4:28 PM
‎2007 Jun 01 4:32 PM
That was avery useful suggestion but some of the functionalities of ck40n was not found in ck42... it had only the general data part..... it was not having processing data options... i need to generate the costing estimate...
the processing data has 4 steps to perform.... it ends with analysis where a report will be generated for the cost estimate.......
can u look into the transaction and help me with this issue???
‎2007 Jun 01 4:39 PM