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 Connect

Former Member
0 Likes
787

Hi,

its very urgent.....

The query is....

Every month the exchange rates in a XL file are send to globalit.sap- [email protected]. for consolidation purpose.

is using via JOB_SUBMIT

they want it replace the XL file by SAP connect

can any body tell me the solution for this problem....

Thanks in advance,

Adarsh

Message was edited by:

Adarsh Yellenki

1 ACCEPTED SOLUTION
Read only

messier31
Active Contributor
0 Likes
751

Check this SAP link..

<b><a href="http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm">SAPCONNECT</a></b>

EnjoySAP.

Pankaj Singh

Check this SAP link..

<b><a href="http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm">SAPCONNECT</a></b>

EnjoySAP.

Pankaj Singh

4 REPLIES 4
Read only

messier31
Active Contributor
0 Likes
752

Check this SAP link..

<b><a href="http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm">SAPCONNECT</a></b>

EnjoySAP.

Pankaj Singh

Read only

Former Member
0 Likes
751

Hi

Check Tx SCOT

Regards

Gregory

Read only

0 Likes
751

Thanks for the answer,

but in program they are using submit job.......

giving the parameters as follows....

in FORM send_mail_file .

SUBMIT ______________________________________________________

  • Nom du Job

CLEAR w_extpgm_name.

CONCATENATE '/home/' sy-sysid 'adm/zrtamail_new_enclosed'
INTO w_extpgm_name.

TRANSLATE w_extpgm_name TO LOWER CASE.

  • Adress mail

MOVE p_sender TO w_sender.

MOVE p_recev TO w_recev.

  • Title

WRITE p_month TO wdate_str.

CONCATENATE text-t03 ' :_' wdate_str+3 INTO w_title.

TRANSLATE w_title USING ' _'.

CONDENSE w_title NO-GAPS.

  • Préparation de la ligne contenant les 6 paramètres

  • Expéditeur Destinataire Titre TexteMail TexteMail PièceJointe

CLEAR w_extpgm_param2.

CONCATENATE w_sender w_recev w_title

w_mailfile w_reportfile w_reportname

INTO w_extpgm_param2 SEPARATED BY space.

  • execute the job

MOVE sy-host TO w_extpgm_system.

CALL FUNCTION 'JOB_SUBMIT'

EXPORTING

authcknam = jobowner

jobcount = jobcount

jobname = jobname

language = sy-langu

extpgm_name = w_extpgm_name

extpgm_param = w_extpgm_param2

extpgm_system = w_extpgm_system

EXCEPTIONS

bad_priparams = 01

bad_xpgflags = 02

invalid_jobdata = 03

jobname_missing = 04

job_notex = 05

job_submit_failed = 06

lock_failed = 07

program_missing = 08

prog_abap_and_extpg_set = 09.

  • CLOSE _____________________________

the letters in the bold are that i didnt understand.......

Adarsh...

Read only

Former Member
0 Likes
751

thanks for information