How to keep break point in back ground scheduling Report
Hi,
how to keep break point in back ground scheduling Report?
Regards,
Hai ,
One more way to debug in the back ground is , pur some infinite loop condition and execute the job and in SM50 you can see the job which is running place the cursor on the job and go to the program in the menu and go to debugging from there .
Example code for infinite loop .
i=1 .
loop at itab .
if i > 5 .
end loop .
Regards,
K.Vinaykumar
Similar Messages
-
How to use break point in workflow to check
hi there,
how to use break point to check the values in debug mode.
if i keep one break point in method..can the conttrol will be stop there?
when work flow triggered??hi nag,
thanks for ur fast responce.
this FM will check very begining of the work flow..then it goes to aprover..then status will be updated to active.(for first time mm01 will not allow them to create mat in active status..as i configured user exit..after approving only these mat get active status). but in the case of extending materials they can create the views in active mode itself. after they r saving the material getting inactiv status in db tables...
if u want i can provide the code where mat status is updating to active for new materials.
My Q: i want to exit wf from where fm finds that the material is extending
code is:(checking for both sales and pur views--i guess!)
SELECT * INTO TABLE t_marc
FROM marc
WHERE matnr EQ objkey.
DESCRIBE TABLE t_marc LINES records.
IF records GT 1. "CHECK FOR MATERIAL EXTENSION
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 010 RAISING
check_failed.
ELSE.
LOOP AT t_marc.
IF t_marc-mmsta EQ 'G5'. "CHECK PURCHASING BLOCK
SELECT * FROM moff INTO TABLE t_moff
WHERE matnr EQ objkey AND
( werks EQ plant OR
bwkey EQ plant ).
DESCRIBE TABLE t_moff LINES records.
IF records GT 0.
SELECT SINGLE * FROM zam_mat_wf_conf
WHERE mtart EQ t_mara-mtart.
IF sy-subrc EQ 0.
LOOP AT t_moff.
FIND t_moff-statm IN zam_mat_wf_conf-pstat.
IF sy-subrc EQ 0.
DELETE t_moff.
ENDIF.
ENDLOOP.
DESCRIBE TABLE t_moff LINES records.
IF records GT 0.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 009 RAISING
check_failed.
ENDIF.
ENDIF.
ENDIF.
ELSE.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 013 RAISING
check_failed.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ELSEIF mstatus EQ 'V'. "FOR SALES VIEW
SELECT SINGLE * FROM tvko
WHERE vkorg EQ salesorg AND bukrs IN r_bukrs .
IF sy-subrc NE 0. "CHECK SALES ORG CONFIGURED FOR WORKFLOW
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 005 RAISING
check_failed.
ELSE.
SELECT * INTO TABLE t_mvke
FROM mvke
WHERE matnr EQ objkey.
DESCRIBE TABLE t_mvke LINES records.
IF records GT 1.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 012 RAISING
check_failed.
ELSE.
LOOP AT t_mvke.
IF t_mvke-vmsta EQ '10'.
ELSE.
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 014 RAISING
check_failed.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ELSE. "NO SALES or PURCHASE RELATED VIEW'S CREATED
MESSAGE ID 'ZAM_MWF' TYPE 'E' NUMBER 003 RAISING
check_failed.
ENDIF. -
How to run the program in back ground with out selection screen ?
Hi,
I want to run the program in back ground but don't have selection screen. How to run this program in back ground
as program has no selection screen.
Waiting for quick response.
Best Regards,
Padhy
Moderator message: basic, please search for available information/documentation.
Edited by: Thomas Zloch on Feb 21, 2011 12:43 PMHi,
Go to transaction SE38 --> Execute --> Background.
If your program contains selection screen, you have to pass your input values as variants. -
How can i put out the back ground music???
how can I set off the back ground music??
I'm afraid your question is not clear. If you don't want music playing, close iTunes. If the music is on a web site that you are visiting, mute your sound - System Preferences>Sound>mute.
-
How do you get you`re back ground to show on the hole page?
how do you get you`re back ground to to show the hole pict. not just the top part of it?
If you are referring to a persona then a persona only covers the use interface part with the toolbars and not the browser part that shows the web pages.
* https://support.mozilla.com/kb/Using+themes+with+Firefox
Add extra empty toolbars if you want to see more of the persona.<br />
You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
See http://kb.mozillazine.org/Toolbar_customization -
How can I pull out this calendar to schedule report
Hi expert,
there is no calendars for report scheduling in infoview, please have a look at attached file. how can I pull out this calendar to schedule report.
Many Thanks,Hello Zhang,
You have to create the calendar in the CMC then use it when scheduling.
See KB article https://bosap-support.wdf.sap.corp/sap/support/notes/1651984
Regards,
Monia. -
How to put break point in the update routine
I am trying to create a break point in update routine. I can do that in the start routine but I would like to know how I can include a break point in update routine in Q.
ThanksGo to Monitor Screen of the data load -> Details tab -> data processing -> right click on Data Packets -> select simulation -> select update rules and give no.of records you want to debug and then system will display the code where you can debug by giving break points.
Hope it helps.. -
Hi all,
There is an user exit J_1I7_USEREXIT_CALC_EXC_BASE which has the KONV structure, you may put your logic to derive the excise base and pass it to field EXCITM_BASE which will update the assesable value. For example, you will have the JEXP condition in the KONV structure, you may pass te base values used for the JEXP as the value to the field EXCITM_BASE.
Actually i have to get stop in that FM by using break-point.
I am running J1IIN tcode.but it is not stoping in that FM.
Which T.Code i have to run for to get stop in that FM.
If my break-point will work to stop in that FM means my problem will be solved.
Please help me if any body knows solution?
Thanks & Reagrds,
J.Lokeshwrite a code break-poink. in ur logic and execute the corresponding T.code. If It is Useful give me Reward points.
Regards,
babu -
Back ground job - report, is scheduled 49 hrs ago, still ACTIVE??
Hi Experts,
Pls. clarify one of my simple doubt that, Weather a report(which has only one SELECT statement, with key in WHERE clause) wuld take 49 hours to execute? bcoz, I scheduled a back ground job for my_report, 49 hours ago, its still ACTIVE, OR does it went to infinitive loop?
thanqHi
no one select query won't take that mucj of time
may be that program went in infinite loop
please check with that
reward if useful
<b>below is the best way to write a select query</b>
Ways of Performance Tuning
1. Selection Criteria
2. Select Statements
Select Queries
SQL Interface
Aggregate Functions
For all Entries
Select Over more than one Internal table
Selection Criteria
1. Restrict the data to the selection criteria itself, rather than filtering it out using the ABAP code using CHECK statement.
2. Select with selection list.
Points # 1/2
SELECT * FROM SBOOK INTO SBOOK_WA.
CHECK: SBOOK_WA-CARRID = 'LH' AND
SBOOK_WA-CONNID = '0400'.
ENDSELECT.
The above code can be much more optimized by the code written below which avoids CHECK, selects with selection list
SELECT CARRID CONNID FLDATE BOOKID FROM SBOOK INTO TABLE T_SBOOK
WHERE SBOOK_WA-CARRID = 'LH' AND
SBOOK_WA-CONNID = '0400'.
Select Statements Select Queries
1. Avoid nested selects
2. Select all the records in a single shot using into table clause of select statement rather than to use Append statements.
3. When a base table has multiple indices, the where clause should be in the order of the index, either a primary or a secondary index.
4. For testing existence , use Select.. Up to 1 rows statement instead of a Select-Endselect-loop with an Exit.
5. Use Select Single if all primary key fields are supplied in the Where condition .
Point # 1
SELECT * FROM EKKO INTO EKKO_WA.
SELECT * FROM EKAN INTO EKAN_WA
WHERE EBELN = EKKO_WA-EBELN.
ENDSELECT.
ENDSELECT.
The above code can be much more optimized by the code written below.
SELECT PF1 PF2 FF3 FF4 INTO TABLE ITAB
FROM EKKO AS P INNER JOIN EKAN AS F
ON PEBELN = FEBELN.
Note: A simple SELECT loop is a single database access whose result is passed to the ABAP program line by line. Nested SELECT loops mean that the number of accesses in the inner loop is multiplied by the number of accesses in the outer loop. One should therefore use nested SELECT loops only if the selection in the outer loop contains very few lines or the outer loop is a SELECT SINGLE statement.
Point # 2
SELECT * FROM SBOOK INTO SBOOK_WA.
CHECK: SBOOK_WA-CARRID = 'LH' AND
SBOOK_WA-CONNID = '0400'.
ENDSELECT.
The above code can be much more optimized by the code written below which avoids CHECK, selects with selection list and puts the data in one shot using into table
SELECT CARRID CONNID FLDATE BOOKID FROM SBOOK INTO TABLE T_SBOOK
WHERE SBOOK_WA-CARRID = 'LH' AND
SBOOK_WA-CONNID = '0400'.
Point # 3
To choose an index, the optimizer checks the field names specified in the where clause and then uses an index that has the same order of the fields . In certain scenarios, it is advisable to check whether a new index can speed up the performance of a program. This will come handy in programs that access data from the finance tables.
Point # 4
SELECT * FROM SBOOK INTO SBOOK_WA
UP TO 1 ROWS
WHERE CARRID = 'LH'.
ENDSELECT.
The above code is more optimized as compared to the code mentioned below for testing existence of a record.
SELECT * FROM SBOOK INTO SBOOK_WA
WHERE CARRID = 'LH'.
EXIT.
ENDSELECT.
Point # 5
If all primary key fields are supplied in the Where condition you can even use Select Single.
Select Single requires one communication with the database system, whereas Select-Endselect needs two.
Select Statements contd.. SQL Interface
1. Use column updates instead of single-row updates
to update your database tables.
2. For all frequently used Select statements, try to use an index.
3. Using buffered tables improves the performance considerably.
Point # 1
SELECT * FROM SFLIGHT INTO SFLIGHT_WA.
SFLIGHT_WA-SEATSOCC =
SFLIGHT_WA-SEATSOCC - 1.
UPDATE SFLIGHT FROM SFLIGHT_WA.
ENDSELECT.
The above mentioned code can be more optimized by using the following code
UPDATE SFLIGHT
SET SEATSOCC = SEATSOCC - 1.
Point # 2
SELECT * FROM SBOOK CLIENT SPECIFIED INTO SBOOK_WA
WHERE CARRID = 'LH'
AND CONNID = '0400'.
ENDSELECT.
The above mentioned code can be more optimized by using the following code
SELECT * FROM SBOOK CLIENT SPECIFIED INTO SBOOK_WA
WHERE MANDT IN ( SELECT MANDT FROM T000 )
AND CARRID = 'LH'
AND CONNID = '0400'.
ENDSELECT.
Point # 3
Bypassing the buffer increases the network considerably
SELECT SINGLE * FROM T100 INTO T100_WA
BYPASSING BUFFER
WHERE SPRSL = 'D'
AND ARBGB = '00'
AND MSGNR = '999'.
The above mentioned code can be more optimized by using the following code
SELECT SINGLE * FROM T100 INTO T100_WA
WHERE SPRSL = 'D'
AND ARBGB = '00'
AND MSGNR = '999'.
Select Statements contd Aggregate Functions
If you want to find the maximum, minimum, sum and average value or the count of a database column, use a select list with aggregate functions instead of computing the aggregates yourself.
Some of the Aggregate functions allowed in SAP are MAX, MIN, AVG, SUM, COUNT, COUNT( * )
Consider the following extract.
Maxno = 0.
Select * from zflight where airln = LF and cntry = IN.
Check zflight-fligh > maxno.
Maxno = zflight-fligh.
Endselect.
The above mentioned code can be much more optimized by using the following code.
Select max( fligh ) from zflight into maxno where airln = LF and cntry = IN.
Select Statements contd For All Entries
The for all entries creates a where clause, where all the entries in the driver table are combined with OR. If the number of entries in the driver table is larger than rsdb/max_blocking_factor, several similar SQL statements are executed to limit the length of the WHERE clause.
The plus
Large amount of data
Mixing processing and reading of data
Fast internal reprocessing of data
Fast
The Minus
Difficult to program/understand
Memory could be critical (use FREE or PACKAGE size)
Points to be must considered FOR ALL ENTRIES
Check that data is present in the driver table
Sorting the driver table
Removing duplicates from the driver table
Consider the following piece of extract
Loop at int_cntry.
Select single * from zfligh into int_fligh
where cntry = int_cntry-cntry.
Append int_fligh.
Endloop.
The above mentioned can be more optimized by using the following code.
Sort int_cntry by cntry.
Delete adjacent duplicates from int_cntry.
If NOT int_cntry[] is INITIAL.
Select * from zfligh appending table int_fligh
For all entries in int_cntry
Where cntry = int_cntry-cntry.
Endif.
Select Statements contd Select Over more than one Internal table
1. Its better to use a views instead of nested Select statements.
2. To read data from several logically connected tables use a join instead of nested Select statements. Joins are preferred only if all the primary key are available in WHERE clause for the tables that are joined. If the primary keys are not provided in join the Joining of tables itself takes time.
3. Instead of using nested Select loops it is often better to use subqueries.
Point # 1
SELECT * FROM DD01L INTO DD01L_WA
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
SELECT SINGLE * FROM DD01T INTO DD01T_WA
WHERE DOMNAME = DD01L_WA-DOMNAME
AND AS4LOCAL = 'A'
AND AS4VERS = DD01L_WA-AS4VERS
AND DDLANGUAGE = SY-LANGU.
ENDSELECT.
The above code can be more optimized by extracting all the data from view DD01V_WA
SELECT * FROM DD01V INTO DD01V_WA
WHERE DOMNAME LIKE 'CHAR%'
AND DDLANGUAGE = SY-LANGU.
ENDSELECT
Point # 2
SELECT * FROM EKKO INTO EKKO_WA.
SELECT * FROM EKAN INTO EKAN_WA
WHERE EBELN = EKKO_WA-EBELN.
ENDSELECT.
ENDSELECT.
The above code can be much more optimized by the code written below.
SELECT PF1 PF2 FF3 FF4 INTO TABLE ITAB
FROM EKKO AS P INNER JOIN EKAN AS F
ON PEBELN = FEBELN.
Point # 3
SELECT * FROM SPFLI
INTO TABLE T_SPFLI
WHERE CITYFROM = 'FRANKFURT'
AND CITYTO = 'NEW YORK'.
SELECT * FROM SFLIGHT AS F
INTO SFLIGHT_WA
FOR ALL ENTRIES IN T_SPFLI
WHERE SEATSOCC < F~SEATSMAX
AND CARRID = T_SPFLI-CARRID
AND CONNID = T_SPFLI-CONNID
AND FLDATE BETWEEN '19990101' AND '19990331'.
ENDSELECT.
The above mentioned code can be even more optimized by using subqueries instead of for all entries.
SELECT * FROM SFLIGHT AS F INTO SFLIGHT_WA
WHERE SEATSOCC < F~SEATSMAX
AND EXISTS ( SELECT * FROM SPFLI
WHERE CARRID = F~CARRID
AND CONNID = F~CONNID
AND CITYFROM = 'FRANKFURT'
AND CITYTO = 'NEW YORK' )
AND FLDATE BETWEEN '19990101' AND '19990331'.
ENDSELECT.
1. Table operations should be done using explicit work areas rather than via header lines.
2. Always try to use binary search instead of linear search. But dont forget to sort your internal table before that.
3. A dynamic key access is slower than a static one, since the key specification must be evaluated at runtime.
4. A binary search using secondary index takes considerably less time.
5. LOOP ... WHERE is faster than LOOP/CHECK because LOOP ... WHERE evaluates the specified condition internally.
6. Modifying selected components using MODIFY itab TRANSPORTING f1 f2.. accelerates the task of updating a line of an internal table.
Point # 2
READ TABLE ITAB INTO WA WITH KEY K = 'X BINARY SEARCH.
IS MUCH FASTER THAN USING
READ TABLE ITAB INTO WA WITH KEY K = 'X'.
If TAB has n entries, linear search runs in O( n ) time, whereas binary search takes only O( log2( n ) ).
Point # 3
READ TABLE ITAB INTO WA WITH KEY K = 'X'. IS FASTER THAN USING
READ TABLE ITAB INTO WA WITH KEY (NAME) = 'X'.
Point # 5
LOOP AT ITAB INTO WA WHERE K = 'X'.
ENDLOOP.
The above code is much faster than using
LOOP AT ITAB INTO WA.
CHECK WA-K = 'X'.
ENDLOOP.
Point # 6
WA-DATE = SY-DATUM.
MODIFY ITAB FROM WA INDEX 1 TRANSPORTING DATE.
The above code is more optimized as compared to
WA-DATE = SY-DATUM.
MODIFY ITAB FROM WA INDEX 1.
7. Accessing the table entries directly in a "LOOP ... ASSIGNING ..." accelerates the task of updating a set of lines of an internal table considerably
8. If collect semantics is required, it is always better to use to COLLECT rather than READ BINARY and then ADD.
9. "APPEND LINES OF itab1 TO itab2" accelerates the task of appending a table to another table considerably as compared to LOOP-APPEND-ENDLOOP.
10. DELETE ADJACENT DUPLICATES accelerates the task of deleting duplicate entries considerably as compared to READ-LOOP-DELETE-ENDLOOP.
11. "DELETE itab FROM ... TO ..." accelerates the task of deleting a sequence of lines considerably as compared to DO -DELETE-ENDDO.
Point # 7
Modifying selected components only makes the program faster as compared to Modifying all lines completely.
e.g,
LOOP AT ITAB ASSIGNING <WA>.
I = SY-TABIX MOD 2.
IF I = 0.
<WA>-FLAG = 'X'.
ENDIF.
ENDLOOP.
The above code works faster as compared to
LOOP AT ITAB INTO WA.
I = SY-TABIX MOD 2.
IF I = 0.
WA-FLAG = 'X'.
MODIFY ITAB FROM WA.
ENDIF.
ENDLOOP.
Point # 8
LOOP AT ITAB1 INTO WA1.
READ TABLE ITAB2 INTO WA2 WITH KEY K = WA1-K BINARY SEARCH.
IF SY-SUBRC = 0.
ADD: WA1-VAL1 TO WA2-VAL1,
WA1-VAL2 TO WA2-VAL2.
MODIFY ITAB2 FROM WA2 INDEX SY-TABIX TRANSPORTING VAL1 VAL2.
ELSE.
INSERT WA1 INTO ITAB2 INDEX SY-TABIX.
ENDIF.
ENDLOOP.
The above code uses BINARY SEARCH for collect semantics. READ BINARY runs in O( log2(n) ) time. The above piece of code can be more optimized by
LOOP AT ITAB1 INTO WA.
COLLECT WA INTO ITAB2.
ENDLOOP.
SORT ITAB2 BY K.
COLLECT, however, uses a hash algorithm and is therefore independent
of the number of entries (i.e. O(1)) .
Point # 9
APPEND LINES OF ITAB1 TO ITAB2.
This is more optimized as compared to
LOOP AT ITAB1 INTO WA.
APPEND WA TO ITAB2.
ENDLOOP.
Point # 10
DELETE ADJACENT DUPLICATES FROM ITAB COMPARING K.
This is much more optimized as compared to
READ TABLE ITAB INDEX 1 INTO PREV_LINE.
LOOP AT ITAB FROM 2 INTO WA.
IF WA = PREV_LINE.
DELETE ITAB.
ELSE.
PREV_LINE = WA.
ENDIF.
ENDLOOP.
Point # 11
DELETE ITAB FROM 450 TO 550.
This is much more optimized as compared to
DO 101 TIMES.
DELETE ITAB INDEX 450.
ENDDO.
12. Copying internal tables by using ITAB2[ ] = ITAB1[ ] as compared to LOOP-APPEND-ENDLOOP.
13. Specify the sort key as restrictively as possible to run the program faster.
Point # 12
ITAB2[] = ITAB1[].
This is much more optimized as compared to
REFRESH ITAB2.
LOOP AT ITAB1 INTO WA.
APPEND WA TO ITAB2.
ENDLOOP.
Point # 13
SORT ITAB BY K. makes the program runs faster as compared to SORT ITAB.
Internal Tables contd
Hashed and Sorted tables
1. For single read access hashed tables are more optimized as compared to sorted tables.
2. For partial sequential access sorted tables are more optimized as compared to hashed tables
Hashed And Sorted Tables
Point # 1
Consider the following example where HTAB is a hashed table and STAB is a sorted table
DO 250 TIMES.
N = 4 * SY-INDEX.
READ TABLE HTAB INTO WA WITH TABLE KEY K = N.
IF SY-SUBRC = 0.
ENDIF.
ENDDO.
This runs faster for single read access as compared to the following same code for sorted table
DO 250 TIMES.
N = 4 * SY-INDEX.
READ TABLE STAB INTO WA WITH TABLE KEY K = N.
IF SY-SUBRC = 0.
ENDIF.
ENDDO.
Point # 2
Similarly for Partial Sequential access the STAB runs faster as compared to HTAB
LOOP AT STAB INTO WA WHERE K = SUBKEY.
ENDLOOP.
This runs faster as compared to
LOOP AT HTAB INTO WA WHERE K = SUBKEY.
ENDLOOP. -
HI
I am running Process chain as a Back ground job in my user name, now i have a requirement that we need to extract a report out of my system which contains data about " At what time my process chains are running and how many data are loaded" Is that possible..do we have any TCODE or program for this..?
Regards
ArunkumarYou may have to activate the BI Admin Cockpit to capture all of the statistics for Process Chains. The BI Admin Cockpit is built off of the 0TCT* standard content in your BW environment.
Take a look at the following document:
[BI Admin Cockpit - Technical Content - BI Statistics|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90080703-4331-2a10-cd98-9c1e95acdea0?overridelayout=true] -
Need to fetch updated records by Back ground scheduling
Hi,
I have a report program which fetches the employee details. I have created a back ground job for this report program. When the job executes for the first time it should fetch all the records. But when the job executes for the second time and so on it should retrieve only the updated records.
I will explain in detail.
Suppose I execute the job today for the first time , it should retrieve all the employee records . But tomorrow if the job executes, it should retrieve those records that are inserted or changed in these 24 hrs of time.
Could any body tell me the necessary programming logic.
Reward points are assured.
Best regards
Bhagat.Hi Bhagat,
make an Input-field f. example P_ALL as checkbox.
create to variants first P_ALL = 'X', second P_ALL = space.
Create a job with variant A wich runs only one time.
create a job with variant B which runs every day.
In the Report hande P_ALL as you want.
Hope it Helps.
Regards, Dieter -
hi friends,
i got a issue like this..
i want to make back ground scheulding daily expect saturday.. i saw the option in process chain restriction in its shows only sunday or holiday.. i want to schdeule the chain daily except saturday..
please anyone reply this issue
regards
sivaHi siva,
I think the following link will help you in better.
It having a better code for achieving your requ....
/people/claudio.ciardelli2/blog/2005/09/01/launching-an-apd-analysis-process-from-an-abap-program
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65cfe07211d2acb80000e829fbfe/content.htm -
How to highlight break column data in an interactive report?
Relates to an interactive reports V4.x :
In the break column area in an IR report, the labels and data seem to be very vanilla and hard to distinguish particularly if you break on more than one column. When I move a non-break column with a highlight defined (set on cell) into the break position, the highlighting disappears.
Is it possible to somehow retain the highlight colour on break column data?
Any hints?
thanks in advance
Paul Pbump!
-
How to modify 'Specified File Name' of a scheduled report
I run a daily scheduled report every morning and send it out as an emailed attachment. My problem is, I want the file name of the pdf attachment to include the previous day's date. How can I modify the 'Specified File Name' setting in the destination tab to reflect the previous day's date. I do not want to use %SI_STARTTIME% because that only shows the date&time that the report was actually run....I need the previous date. So far I am unsuccessful.
ThanksHi,
i think this is only possible via the SDK. I would recommend creating a Support Message with SAP to solve this issue.
Maybe there is already Samplecode available from the Support.
Regards
-Seb. -
How to run program without set back ground Job in production Server?
Hi,
I have developed 1smart forms which is takes so much time for execution and sometimes its time out.
I have used BSEG, BKPF, BSET, KONV, VBRK, VBAP, LIPS, LIKP these tables in smartform.
So give me proper solution for this issue?
Thanks
Yatin Mahetaliya.Hi,
You could call from your program the function module called SXPG_COMMAND_EXECUTE where you will call a command already defined in SM59 transaction code. You will maybe control the return code with sy-subrc. Then it will possible for you to extract data...
Don't forget that every time you call GUI_UPLOAD or any method or function from the frontend function group or ABAP object by classes like cl_gui_frontend_services, it will be impossible to run in background.
Try it..
pherasath
Maybe you are looking for
-
How to carry over values differently (aggregated or not), or is it possible
Dear all: In our Account Dimension, we have Beginning Inventory Qty, Ending Inventory Qty, Purchased Amt, Sold Amt, etc. When we run reports with calculated time members, such as 2008.Total, 2008.H2, 2008.Q4, etc, most of our Account displays correct
-
Dynamic attachment - receiver mail adapter
when you have the required access-key in the XML, then you can do it similar as in Michal's blog. If you just want to send the attachmanet without email body, you need not create a new attachment, you can just set the file name with this line: payloa
-
XISOAPAdapter The requested resource does not exist
Hi all, I'm having a problem on a PI 7.1 DEV Server. Until last weekend everything ran OK. The services were working with SOAPAdapter, but these stoped of working and the response to each request was "404 Not Found - The requested resource does not
-
Speck SeeThru case and Zeroshock for 15" Macbook
I'm wondering, does anyone else have this combination of the Speck Seethru case and the Zeroshock sleeve for the 15" Macbook? I'm just making sure that the combination will fit, I wouldn't think it would have a problem, but I'd like to make sure.
-
Needing to run Mountain Lion with Yosemite OS
I'm needing to run Mountain Lion and I've got a new Retina 15" MBP that shipped with Yosemite. I've been told you cannot run it on a partition with Yosemite. What is the best way to go about doing this? I'm needing to have access to Pro Tools 10 as s