How to schedule another program by giving report name and variant name?
I want to create a program for Scheduling another program using function 'FASU_V_CREATE_VARIANT_RFC'
(FASU_V_CREATE_VARIANT_RFC : This function used for creating the variant ) by giving
1) Report name
2) varaint name
Could anybody please help me.??
Scheduling Background Jobs
Use
You can define and schedule background jobs in two ways from the Job Overview:
Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
Procedure
Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
Set the jobs priority, or "Job Class":
High priority: Class A
Medium priority: Class B
Low priority: Class C
In the Target server field, indicate whether to use system load balancing.
For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
To use a particular application server to run the job, enter a specific target server.
If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
Define the jobs steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
Save the fully defined job to submit it to the background processing system.
When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
Note: Release the job so that it can run. No job, even those scheduled for immediate processing, can run without first being released.
For a simple job scheduling procedure, see the R/3 Getting Started Guide.
Similar Messages
-
How to schedule macros to open a report , refresh and update database?
Hi,
We have the below set of steps that work on a deski environment. It works fine on XI R3.1 Fix pack 1.5, but I am unable to schedule and get the macros to run although i've included the entire macros code in - Private Sub DocumentAfterRefresh()
Refresh of report
Step 1 : Report is Refreshed. Refreshed data contains 10 Report Names to be opened by the Macros and the prompt values that these reports need to be refreshed with.
Macros Functionality:
Step 1 : Opens 1st report of the 10 reports from the repository in deski thick client, updates the database by setting a flag on the processing to Y or N for the report being processed.
Step 2 : Refreshes the report with the prompt values obtained from the first refresh in the report, saves the refreshed data to a CSV or PDF at a location.
Step 3 : Updates the database if the report has been genrated or not and then deletes the local copy of the output csv and pdf.
The above steps repeat over and over again until all 10 reports open up, get refreshed and update the database.
Now all of this works on Deski thick client/refresh and macros.
However, when i schedule it, the macros doesnot seem to be running.
Is the above scenario even possible to replicate via a schedule process..?
Note : The reports need to be retained in Deski itself.
PLz help...!Scheduling Background Jobs
Use
You can define and schedule background jobs in two ways from the Job Overview:
Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
Procedure
Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
Set the jobs priority, or "Job Class":
High priority: Class A
Medium priority: Class B
Low priority: Class C
In the Target server field, indicate whether to use system load balancing.
For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
To use a particular application server to run the job, enter a specific target server.
If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
Define the jobs steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
Save the fully defined job to submit it to the background processing system.
When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
Note: Release the job so that it can run. No job, even those scheduled for immediate processing, can run without first being released.
For a simple job scheduling procedure, see the R/3 Getting Started Guide. -
How to schedule a program in background after 5 or 10 sec
Hi All,
Can anyone tell me how to schedule a program after 5 or 10 sec in background after the transaction is completed.
It is not a custom transaction. I want to execute a Z program in background in a BADI
Regards
Yathish
Message was edited by:
Yathish GundlupetProgramattically? You can add this code to the end of your transaction(if it is custom, of course).
report zrich_0004 .
data: sdate type sy-datum,
stime type sy-uzeit,
l_valid,
ls_params like pri_params,
l_jobcount like tbtcjob-jobcount,
l_jobname like tbtcjob-jobname.
start-of-selection.
* Get Print Parameters
call function 'GET_PRINT_PARAMETERS'
exporting
no_dialog = 'X'
importing
valid = l_valid
out_parameters = ls_params.
* Open Job
l_jobname = 'THIS_JOB'.
call function 'JOB_OPEN'
exporting
jobname = l_jobname
importing
jobcount = l_jobcount.
* Submit report to job
submit <your_program_name
via job l_jobname
number l_jobcount
to sap-spool without spool dynpro
spool parameters ls_params
and return.
* Kick job off 10 seconds from now.
sdate = sy-datum.
stime = sy-uzeit + 10.
* Schedule and close job.
call function 'JOB_CLOSE'
exporting
jobcount = l_jobcount
jobname = l_jobname
sdlstrtdt = sdate
sdlstrttm = stime
Regards,
RIch Heilman -
How to schedule BDC program in background when we use GUI_UPLOAD
Hi,
I need to run the BDC program in the back ground. But my flat file is in presentation server and i am using GUI_UPLOAD F.M to upload data into I.T. How to schedule BDC program in background.
Will anybody help me in this regards.
Thanks in advance,
MythilyYou will either have to put your data file on the application server or make the directory of the presentation server available as part of the file system so that the background job will have access to it via OPEN DATASET... TRANSFER... CLOSE DATASET.
-
Write a program that would schedule another program in background multipul
Hi All,
I need to write a program that would schedule another program in background multipul times according to input we provided on different application servers.
For ex:- In table FKKVKP, i am having 2.1 millons contract accounts. I need to write a program(A) that should take 5000 contract accounts at a time as a input and schedule another program(B) in background with input of 5000 contract accounts. And program A ,again schedule program B on differrent application servers , till 2.1 millions contract accounts get used.
Thanx in advance.
Regards,
Dilip Kushwahhi,
1) Carry out the recording for the required transaction using SHDB.
2) Use batch input method to create session this is done by three FMs
bdc: open_group, bdc_insert, close_group.
3) A session is created , which can be seen in transaction SM 35.
4) Use the standard program RSBDCSUB to configure the session created in SM35.
This way you can achieve your requirement.
Check this links too for more information
Batch input [http://help.sap.com/saphelp_nw04/helpdata/en/fa/097015543b11d1898e0000e8322d00/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/content.htm]
Thanks
Sharath -
I sign in to hotmail. I send an e mail. I go to another program. I come back and have to sign in all over again. My other computer doesn't have this problem. It upset my wife. How do I get hotmail to stay on. I never have to sign in to get right into my other MacBook Pro.
Try going to Applications/Utilities/Keychain Access. Delete the Hotmail password. While there run Keychain Fist Aid.
Keychain Reset
Keychain Issues - Resolve see post by Kappy -
How to print OS User name and PC Name in report writer 3.0
Hi,
I want to display OS User name and PC name in the reports
using report writer 3.0.
How to this, please help me...
CypThis is the wrong forum for reports issues - particularly for such an old version :-) However, you'll have to write a user exit to do that kind of stuff. And no don't ask me how, it was all too long ago, but there should be a section on that in your manual.
-
How to track frequency of usage and variant name
Hi experts,
Our team currently involved in Kaizen project. One of the enhancement we are looking at is tracking frequency of usage and variant name created. For example, for the payroll transaction, we created a few variant (a,b,c,d). Is there any standard report we can check-which variant we use most; who created the variant, last change, last access,how many time we use the variant.
Thanks in advanceThere is a table VARID where you can see who created the variant plus the date and time. This table also has the changed by details again with date and time.
If the payroll transaction is run with a job i.e. sm37 then from there you can click on "step" and get the variant name.
Please mark helpful or correct answers.
If you can give me more detail of what it is you required then let me know. -
Table names to find Program names and Table names
Hi All,
I want to find Program names and Tables names where Transaction codes are not been created.
If TCodes are created I can find from TSTC.
But programs and tables which does not have tcodes.
How can I find them?Hi Praveen Kumar
You know the program name go to se38 and find out if u know table name go to se11 and find out .if you want to see both where there are used in which program go to se80 it would be easy.
How to trace in se80 . select programe and down give programe name you will gte it. -
Report painter name and librery name
Hi,
Please provide me report painter name and librery name for the output list generated by MC10 transaction.the list is a EXCHANGE BALANE.Please provide me urgently and also its funtionality for breifly.
Thanks & Regards,
Radhakrishna.Hi RadhaKrishna,
Report painter/Report Writer
for designing the reports without programming.
see the links
report painter/writer
Report Writer functions can be accessed from within the Report Painter.
The difference lies in the GUI of the report painter.
For Report Painter
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
For Report Writer
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/content.htm
Refer the following links :
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-other/accessing-tables-using-report-painterwriter-98766
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
Kindly Reward Points If You Found The Reply Helpful,
Cheers,
Chaitanya. -
How to get the class name and field name dynamically
Hi
I have a class (ex: Contract) the fields (ex : a,b,c) .i need to get the class name and field name dynamically
ex
if( validation file for the field Contract.a){
return contract.a;
}else if(validation file for the field Contract.b){
return contract.b;
how to pass the field name and object dynamically
Please help me .............
Thanks in Advance..
Edited by: 849614 on Aug 11, 2011 6:49 AMYoungWinston wrote:
maheshguruswamy wrote:
Agreed, but IMO, i still feel its best if there is no tie in between consumer class level details and the database it talks to. A service layer is needed in between them.Sounds like you've done a bit of this before. Me, I've either been a modeller/DBA, doling out data, or a nuts and bolts programmer (and actually more toolmaker than apps, but did a bit of that too).
Do you know of a good book about the "middle ground" (ie, these service layers)? I understand it empirically, but haven't had a lot of exposure to it.
Winston
Edited by: YoungWinston on Aug 11, 2011 10:34 PM
PS: Apologies. Edited my previous post, presumably while you were composing your reply, when I finally realized what '.filed' meant.Most of my work is in web development, never been a DBA :) . The biggest 'concern' in my shop is 'separation of concerns'. The UI group reports up to a different IT head, the DB group reports up to a different IT head and so on. The looser the coupling between these systems, the lesser the project costs (Integration, QA etc) are. Martin Fowler's books contain good information about separation of concerns in an enterprise environment. The two books which i recommend are
[url http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420]Enterprise Application Architecture and
[url http://www.amazon.com/Enterprise-Integration-Patterns-Designing-Deploying/dp/0321200683/ref=pd_sim_b_1]Enterprise Integration Patterns -
Display First Name and Last Name of generating user in Siebel BIP Report
Hello,
My client has a requirement to display First Name and Last Name of user who generated the report. I need some help to resolve this requirement. Thanks
Eg: Generated by <First Name> <Last Name>
Generated by Siebel Administrator
Regards,
Hari Venkat.Hey Rob,
Is this search help something that you have developed? Can you explain a little more to how the funcitonality works? Is this triggering an operation in your BAdI?
Cheers,
Kevin -
How to add a service account in SQL Server to display the "Service Account Name" and "Display Name"
Can someone
help with steps on how to add the following in SQL Server 2012 environments?<o:p></o:p>
"Service Account Name" and "Display Name"<o:p></o:p>
Your help will be greatly appreciated.<o:p></o:p>
leonie6214Hello,
Is the following article what you are looking for?
http://msdn.microsoft.com/en-us/library/ms345578.aspx
If not, could you explain a little bit more what you want to accomplish?
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How to get the column name and table name from xml file
I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?
Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
begin
dbms_xmlschema.registerSchema(
schemaURL => 'my_schema.xsd'
, schemaDoc => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
, local => true
, genTypes => false
, genTables => true
, enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
, options => dbms_xmlschema.REGISTER_BINARYXML
end;
genTables => true : means that a default schema-based XMLType table will be created during registration.
enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
SQL> select table_name
2 from user_xml_tables
3 where xmlschema = 'my_schema.xsd'
4 and element_name = 'employee';
TABLE_NAME
employee1121_TAB
(warning : the name is case-sensitive)
To annotate the schema and control the naming, modify the content to :
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
<xs:complexType>
Next step : create a resource, or just directly insert an XML document into the table.
Example of creating a resource :
declare
res boolean;
doc xmltype := xmltype(
'<employee>
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>'
begin
res := dbms_xdb.CreateResource(
abspath => '/public/test.xml'
, data => doc
, schemaurl => 'my_schema.xsd'
, elem => 'employee'
end;
The resource has to be schema-based so that the default storage mechanism is triggered.
It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
SQL> declare
2
3 res boolean;
4 doc xmltype := xmltype(
5 '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:noNamespaceSchemaLocation="my_schema.xsd">
7 <details>
8 <emp_id>1</emp_id>
9 <emp_name>SMITH</emp_name>
10 <emp_age>40</emp_age>
11 <emp_dept>10</emp_dept>
12 </details>
13 </employee>'
14 );
15
16 begin
17 res := dbms_xdb.CreateResource(
18 abspath => '/public/test.xml'
19 , data => doc
20 );
21 end;
22 /
PL/SQL procedure successfully completed
SQL> set long 5000
SQL> select * from "employee1121_TAB";
SYS_NC_ROWINFO$
<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>
Then use XMLTABLE to shred the XML into relational format :
SQL> select x.*
2 from "employee1121_TAB" t
3 , xmltable('/employee/details'
4 passing t.object_value
5 columns emp_id integer path 'emp_id'
6 , emp_name varchar2(30) path 'emp_name'
7 ) x
8 ;
EMP_ID EMP_NAME
1 SMITH -
How to change host name and domain name in installed Cisco Meeting Place Express 2.0?
Hi
I have Cisco Meeting Place Express 2.0 installed on server. Meting Place uses Linux (Red Hat) as base operation system. Please tell me how I can change host name and domain name for Meeting Place Express application to integrate it into corporate domain infrastructure.
Thanks in advance!!!
Sincerely yours
Sergey BondarenkoHi
Thanks for your attention for my humble problem.
I have performed Meeting Place Express configuration through the “net” command.
But now unfortunately I can't connect to meeting place through web browser. I just get blank page.
Though I can reach the server with help of ssh. I think my DNS works properly because I can resolve the ip address of cumpxvoice .uclab.com and cumpxweb. uclab.com with help of dig command.
Have you any idea?
A lot of thanks in advance!!
Sincerely yours Sergey Bondarenko
Here I have printed the net configuration output of Cisco meeting Place Express:
[root@cumpxvoice root]# net
This is the MeetingPlace Express network configuration utility.
Up to the point where you save changes, it is safe to hit ^C to get
out at any time, in which case nothing will have changed.
1) List current configuration
2) Configure Ethernet port 1
3) Configure Ethernet port 2
4) Configure service bindings
5) Set host names
6) Set domain name
7) Configure DNS service
8) Configure NTP service
9) Configure routing
10) Done
Select: 1
Primary/audio host name: cumpxvoice
HTTP host name: cumpxvoice
RTMP host name: cumpxweb
Domain name: uclab.com
Service bindings:
Audio: port 1 (eth0)
Web browsing (HTTP): port 1 (eth0)
Web conferencing (RTMP): port 2 (eth1)
Port 1 (device eth0):
IP Address: 10.62.60.116
Network mask: 255.255.255.0
Default gateway: 10.62.60.1
Link setting: autoneg on
Port 2 (device eth1):
IP Address: 10.62.60.117
Network mask: 255.255.255.0
Default gateway: 10.62.60.1
Link setting: autoneg on
Static routes:
Destination Gateway Network mask Port
0.0.0.0 10.62.60.1 0.0.0.0 1
DNS Servers:
10.62.60.115
10.0.1.4
Maybe you are looking for
-
I've told you the problem and I'm getting pretty irritated that it came on all of a sudden and I can't figure out why. HELP!
-
Sender Mail Adapter ASMA issue - due to limitation of length upto 200 only.
Hi, I have a scenario where i have to pull the emails from the mail server using sender mail adpater with XIPAYLOAD as message protocol. Also i am setting the "Set Adapter Setting Messgae Attributes" for retrieving values form header such as SHeaderC
-
CD/DVD reader is not working, please help.
My cd/dvd reader is not working at all, when I put any cd or dvd on it, the led of the reader starts blinkin but then it stops and nothing happens. I'm using a hp pavilion dv7-1025nr, windows vista 64-bit. Maybe there are some drivers that i should d
-
I can't view my iTunes screens the library, store or playlists anymore. Can't download or install anything.
-
Execute in Back ground when push button clicked on alv output
Hi Friends, I have a alv list display report with check boxes and a 'Detail' Push button in output when i check the check boxes and click on the 'Detail' Push button detail report is displayed using 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'. My requirement is