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

SAP Mail Shortcut link with executable command

Former Member
0 Likes
1,241

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
Read only

robert_altenstraer
Active Participant
0 Likes
645

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
Read only

Former Member
0 Likes
645

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

Read only

robert_altenstraer
Active Participant
0 Likes
646

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

Read only

former_member194669
Active Contributor
0 Likes
645

Try to give your command line this way


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

a®