‎2007 May 11 11:17 PM
Hi All,
Can we run module pool program in background? if so how to add execute in back ground in the menu.
can we load upload data from excel into this program? how
Iam creating new program coping tcode- MMAM, need to make material number to range instead of single value(existing ).
Please advice how to add above functionality to the custom program.
Thanks for you inputs
jog
‎2007 May 12 12:01 AM
Hi Jog,
Thats not the correct way to go about.
Firstly, its not a report type program to have a selevt-option in place of the single field.
You have to do a BDC as others have already suggested.
Step 1).
Upload the data from the excel file into an internal table. using GUI_UPLOAD.
Step 2)
Fill the BDCDATA structures and call the transaction MMAM for each record in the internal table.
Regards,
Ravi
‎2007 May 11 11:55 PM
Yes You can run program Background...and you write BDC Custom program normally,it updates the data.
‎2007 May 12 12:01 AM
Hi Jog,
Thats not the correct way to go about.
Firstly, its not a report type program to have a selevt-option in place of the single field.
You have to do a BDC as others have already suggested.
Step 1).
Upload the data from the excel file into an internal table. using GUI_UPLOAD.
Step 2)
Fill the BDCDATA structures and call the transaction MMAM for each record in the internal table.
Regards,
Ravi
‎2007 May 18 6:19 PM
Hi,
Thanks for the reply,
When I fill bdcdata and call the transaction MMAM it says - "LEAVE TO TRANSACTION" is not allowed in batch input.
so, I am trying to create a report type program and submit to this transaction,
1. is this possible? let me know any other approach
2. I need to capture the output of the standard program(MMAM) in case of errors - which is like long test.(Message)
How can I capture in my program if I call this program from my program this long text.
Hope I am clear.
Thanks in advance
Jog
‎2007 Jul 04 1:02 PM
Hi Jog,
Did you manage to solve no. 2?
I'm trying to capture the output as well.
Thanks.
SM
‎2007 Jul 06 1:14 AM
‎2007 Nov 13 11:54 AM
Hi Jog,
I'm writing a Batch Input or Call Transaction program for transaction code MMAM (Changing Material Type). The program was able to run but somehow I was not able to capture the log of the output after running MMAM. The log was not part of the SY-MESSAGE so adding in MESSTAB into call transaction doesn't help while BDC session logs shows only the transaction was processed.
Please help me out .
Thanks in Advance.
Regards,
Ramu.
‎2014 Nov 28 9:51 AM
Hi Jog,
I have the same Problem.
Using the tranaction MMAM in BDC to change the MTART.
When I fill bdcdata and call the transaction MMAM it says - "LEAVE TO TRANSACTION" is not allowed in batch input.
I need to capture the output of the standard program(MMAM) in case of errors.
Can you help me?
Regards
Klaus