Application Development 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: 

SAP Mail Shortcut link with executable command

Former Member
0 Kudos

Hi gurus,

Im doing a program that send a mail with a SAP shortcut to the user mail.

So far so good, and it's sending the mail with the attachment, but one of the requesites was that the link, after the user execute it, went directly to the transaction.

In the Command option i'm sending the parameters values but teh shortcut stops at the first screen of the transaction.

Is there any way to make the command option executable ?

I'm sending the link to transaction SM37, with tha jobname, user and the date parameters filled, but what i want it's with those values the user dont need to click F8 (Execute) to see the job log.

Does anyone has any idea?

Thanks in advance,

Best Regards,

João Martins

1 ACCEPTED SOLUTION

robert_altenstraer
Active Participant
0 Kudos

Hi take this :

Important is the * infront of the transactioncode..

replace +++++++++ by your system name and your login name


[System]
Name=+++++++
Description=
Client=050
[User]
Name=++++++++
Language=DE
[Function]
Title=
Command=*SM37 =;=;
Type=Transaction
[Configuration]
GuiSize=Normal window

bestreg Robert

Edited by: Robert Altenstraßer on Apr 7, 2009 4:32 PM

Edited by: Robert Altenstraßer on Apr 7, 2009 4:33 PM

3 REPLIES 3

Former Member
0 Kudos

Hi João,

maybe you can develop a transaction to submit and skip first screen, instead of calling SM37 directly. Or a batch input to process initial screen only.

regards,

Edgar

robert_altenstraer
Active Participant
0 Kudos

Hi take this :

Important is the * infront of the transactioncode..

replace +++++++++ by your system name and your login name


[System]
Name=+++++++
Description=
Client=050
[User]
Name=++++++++
Language=DE
[Function]
Title=
Command=*SM37 =;=;
Type=Transaction
[Configuration]
GuiSize=Normal window

bestreg Robert

Edited by: Robert Altenstraßer on Apr 7, 2009 4:32 PM

Edited by: Robert Altenstraßer on Apr 7, 2009 4:33 PM

former_member194669
Active Contributor
0 Kudos

Try to give your command line this way


Command=*MM03 RMMG1-MATNR = 00000000000000012;  DYNP_OKCODE=ONLI