Batch jobs getting delayed
Dear all
We are running batch job for autamatic invoice after Post goods issue..
It was working till y'day and suddenly it is not getting executed .It shows a huge delay..
Batch job program was SDBILLDL
Can u please tell us what could be problem for delay in batch job execution...
Batch job status is released...But not getting executed every 15mts
How to find out which has caused delay...for batch job running...
Regards
Sudha
There can be two reasons.
1. If the data or the number of documents being processed is huge.
2. If there is an error or wrong data being picked up in any one of the document can lead to batch job being slow.
Regards
Similar Messages
-
ERS Batch job time delay.
Hi Team,
one of my user requirement is they need a 30 days time delay between service entry creation and evaluvated reciept settlement also they are running the process through Batch jobs.is there any standard variant where i can make the changes for the time delay or abap coding has to be done,kindly help me to proceed.
ThanksSAve your selection variant after you have entered todays date in Posting Date of Goods Receipt.
you get a new screen where you enter variant name and description. Below is a field list.
find there the field "Posting Date of Goods Receipt"
scroll to the right, there is a column "selection variable", press F4 and select "dynamic calculation"
then do a F4 in column "name of variable" and enter EQ in front of "Current date +/- ??? days"
hiit continue button then enter -30 and continue -
BATCH JOB GETTING FAILED DUE TO WARNING MESSAGE
Hi,
Our background job is getting failed if we are having warning meesage , why it is happening , could any one provide inputs .
In bacground it's considering Warning message as Error message .Hi Garima,
CHange the code as follows:
if sy-batch = 'X'.
Message 'Error updating data !' type 'I'.
else.
Message 'Error updating data !' type 'W'.
endif.
i..e When executed in bckground display INFORMATION Message & in Foreground display WARNING message.
Best regards,
Prashant -
Dear Scripting Guys,
I am working in an AD migration project (Migration from old legacy AD domains to single AD domain) and in the transition phase. Our infrastructure contains lots
of Users, Servers and Workstations. Authentication is being done through AD only. Many UNIX and LINUX based box are being authenticated through AD bridge to AD.
We have lot of applications in our environment. Many applications are configured to use Managed Service Accounts. Many Workstations and servers are running batch
jobs with AD user credentials. Many applications are using AD user accounts to carry out their processes.
We need to find out all those AD Users, which are configured as MSA, Which are configured for batch jobs and which are being used for different applications on
our network (Need to find out for every machine on network).
These identified AD Users will be migrated to the new Domain with top priority. I get stuck with this requirement and your support will be deeply appreciated.
I hope a well designed PS script can achieve this.
Thanks in advance...
Thanks & Regards Bedanta S MishraHey Satyajit,
Thank you for your valuable reply. It is really a great notion to enable account logon audit and collect those events for the analysis. But you know it is also a tedious job when thousand of Users come in to picture. You can imagine how complex it will be
for this analysis, where more than 200000 users getting logged in through AD. It is the fact that when a batch / MS or an application uses a Domain Users credential with successful process, automatically a successful logon event will be triggered in associated
DC. But there are also too many users which are not part of these accounts like MSA/Batch jobs or not linked to any application. In that case we have to get through unwanted events.
Recently jrv, provided me a beautiful script to find out all MSA from a machine or from a list of machines in an AD environment. (Covers MSA part.)
$Report= 'Audit_Report.html'
$Computers= Get-ADComputer -Filter 'Enabled -eq $True' | Select -Expand Name
$head=@'
<title>Non-Standard Service Accounts</title>
<style>
BODY{background-color :#FFFFF}
TABLE{Border-width:thin;border-style: solid;border-color:Black;border-collapse: collapse;}
TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: ThreeDShadow}
TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: Transparent}
</style>
$sections=@()
foreach($computer in $Computers){
$sections+=Get-WmiObject -ComputerName $Computer -class Win32_Service -ErrorAction SilentlyContinue |
Select-Object -Property StartName,Name,DisplayName |
ConvertTo-Html -PreContent "<H2>Non-Standard Service Accounts on '$Computer'</H2>" -Fragment
$body=$sections | out-string
ConvertTo-Html -Body $body -Head $head | Out-File $report
Invoke-Item $report
A script can be designed to get all scheduled back ground batch jobs in a machine, from which the author / the Owner of that scheduled job can be extracted. like below one...
Function Get-ScheduledTasks
Param
[Alias("Computer","ComputerName")]
[Parameter(Position=1,ValuefromPipeline=$true,ValuefromPipelineByPropertyName=$true)]
[string[]]$Name = $env:COMPUTERNAME
[switch]$RootOnly = $false
Begin
$tasks = @()
$schedule = New-Object -ComObject "Schedule.Service"
Process
Function Get-Tasks
Param($path)
$out = @()
$schedule.GetFolder($path).GetTasks(0) | % {
$xml = [xml]$_.xml
$out += New-Object psobject -Property @{
"ComputerName" = $Computer
"Name" = $_.Name
"Path" = $_.Path
"LastRunTime" = $_.LastRunTime
"NextRunTime" = $_.NextRunTime
"Actions" = ($xml.Task.Actions.Exec | % { "$($_.Command) $($_.Arguments)" }) -join "`n"
"Triggers" = $(If($xml.task.triggers){ForEach($task in ($xml.task.triggers | gm | Where{$_.membertype -eq "Property"})){$xml.task.triggers.$($task.name)}})
"Enabled" = $xml.task.settings.enabled
"Author" = $xml.task.principals.Principal.UserID
"Description" = $xml.task.registrationInfo.Description
"LastTaskResult" = $_.LastTaskResult
"RunAs" = $xml.task.principals.principal.userid
If(!$RootOnly)
$schedule.GetFolder($path).GetFolders(0) | % {
$out += get-Tasks($_.Path)
$out
ForEach($Computer in $Name)
If(Test-Connection $computer -count 1 -quiet)
$schedule.connect($Computer)
$tasks += Get-Tasks "\"
Else
Write-Error "Cannot connect to $Computer. Please check it's network connectivity."
Break
$tasks
End
[System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
Remove-Variable schedule
Get-ScheduledTasks -RootOnly | Format-Table -Wrap -Autosize -Property RunAs,ComputerName,Actions
So I think, can a PS script be designed to get the report of all running applications which use domain accounts for their authentication to carry out their process. So from that result we can filter out the AD accounts being used for those
applications. After that these three individual modules can be compacted in to a single script to provide the desired output as per the requirement in a single report.
Thanks & Regards Bedanta S Mishra -
Duplicate deliveries getting created by batch job against STO
Hi Experts,
I am facing one issue where duplicate deliveries are getting created by batch job against Intercopmany STO.
Scenario is PO having one line item with ordered qty of 8000kg.
Through batch job, two deliveries got created on same day for PO line item.
One delivery got created for 8000kg and another delivery has got created for 7000Kg. So user has deleted second delivery of 7000kg.
Next day again the delivery got created for 8000kg for the same PO line item through batch job.
I am wondering how the duplicate deliveries are getting created by batch job for PO even though it has no open items.
All deliveries got created through batch job only as cross checked the user name in delivery.
Kindly help to fix the issue.Hi Amit
I assume you are talking about outbound deliveries. In this case it would be worth checking the customer master record for the receiving plant. In the sales area data there is a shipping tab which contains several settings used to control delivery creation for customers.
It is possible to control how the system behaves when you have a stock shortage and restrict the number of partial deliveries. This might help you control this situation and might be the cause.
Regards
Robyn -
How to get the list of batch jobs running in a specific application server
Hi Team,
I am trying to check in SM37 if there is any specific condition to get the list of batch jobs assigned to a specific target server but cant find any.
Is there is way to find the list of batch jobs assigned to run in one specific application server.( Target server specified in SM36 while job creation)Hello,
This is what you can do in SM37.
Execute the list of batch jobs, when the result appears on the screen edit the ALV grid via CTRL+F7.
Now add the following columns "TargetServ" and "Executing server".
You will now have two extra columns in your result list.
TargetServr contains the value of the application server where the job should run when you have explicitely filled it in.
Often this is empty, this means that at runtime SAP will determine itself on which application server the job will run (depending of course where the BGD processes are defined).
Executing server is filled in always for all executed jobs, this is the actual application server where the job has run.
You can also add these two fields in your initial selection screen of SM37 by using the "Extended job selection" button.
I hope this isusefull.
Wim -
Routine not getting called during Batch job posting of Shipment costs
Hi,
We have a routine created and attached to the condition type in the condition base type of shipment cost procedure.When the shipment cost is created by running a batch job (VI06) , the value posted is the initial value determined withourt routine.
The routine is getting activated only when we go in u201CCondition tabu201D in shipment cost.
Because of this, correct values are getting calculated only when we click on u201Ccondition tabu201D,& getting wrong value in initial screen, which is not possible in batch job.
Need your views / suggestions to fix this issue.We need to use batch job and enable rouitne before batch job posts the cost to the Service PO.
Thanks in advance.
Regards,
Ameya K.Modified the routine program
-
How to get batch job o/p in PDF format and automatically saved to xyz loc
Hi Experts,
Our requirement is we want output of background job in PDF format and this PDF generated should be saved in some xyz path at OS level.
Why doing this?: Business don't want hard copy o/p of some batch jobs but only want to save this output in pdf format to some OS location for future use.
We could achieve above objective by archiving method (but for some reason we cant adopt it).
So guys please propose solution in detail regarding above problem "how to get o/p in PDF format and automatically get saved to xyz location"
System : 4.0B
OS : Windows NT
Database : Oracle
Thanks in advanceHi guys,
Thanks guys for your invaluable advise.I asked abaper to use the above report for pdf conversion. But I have another problem that o/p of batch job should come in japanese language but when i check spool or hard copy o/p its not coming in readable form (seems something like machine language) . I dont what is the reason there must be some basis setting to get the batch job o/p in japanese language.
Please help me.
thank you -
Why am getting this ME083 error in BATCH JOB, where as ONLINE not getting?
Hi Experts,
Am creating Purchse Requisation by using BAPI ---> BAPI_PR_CREATE.
If I run ONLINE, Purchse Requisations are creating in EBAN table, with out any erorr messages, fine.
If the same prog. is scheduled as BATCH JOB in production, the Purchse Requisations are creating, fine, but, there is a ERROR MESSAGE in JOB LOG, saying that " ENTER PLANT " of M essage ID& # is "ME 083 "
So, let me know that,
1 - Why am not getting this error message, If I run it ONLINE?
2 - Even though there r error message in JOB LOG (as I mentione din the above), Why the Purc. requisations are creating?
3 - How to track that, from Where this error is coming in BATCH JOB, How to debug the BATCH JOB, after its scheduling?
4 - How to fix it?It is not uncommon for informational/warning messages to appear when a BAPI is run in batch.
Such messages do not prevent the completion of a job, but may provide information about the status of processing.
When you run the job online the message may just flash briefly on the bottom of the screen, and you might not even notice it.
I get similar messages when I run other BAPIs, where the message is logged but the process continues to run.
To address the question of the message itself, if you look at the code underlying the BAPI, for example, include L2105I01, which contains the methods, you can see the place where the message is issued.
The message is issued if field PR_TYPE in the header structure is initial.
This is fairly easy to find just by examining the source behind the BAPI and the methods that it uses.
You can navigate to include L2105I01 just by clicking on Method process in BAPI_PR_CREATE, just as you can with any other navigable object in ABAP.
You should see this in BAPI_PR_CREATE around line 108.
CALL METHOD l_ref_bapi->process( ).
Double click on process.
Method renumbering is then called by Method process if the actyp = hin (a constant meaning add/create which is set in BAPI_PR_CREATE), and if ITEM_INTVL (Item number interval) is not initial.
Double click on Method renumbering.
Method renumbering then checks if field PR_TYPE is initial, and if it is, then the message 083 that you are getting will be issued. You will also see that the message is issued as a warning only, which is why the document is still created.
You can drill down through the code by double clicking, as usual with navigation.
I found this initially by clicking method set_header, which brought up the include with the method code. I then searched for 083, which is the message id. I then backtracked to find out what the path to Method renumbering was.
Always do a little digging in the source, the message has to come from somewhere. If the first search does not get a hit, try the next one until you exhaust the possibilities. I chose set_header, since it appeared to be specific to the function of the BAPI, and something like that will usually be the best place to start. In this case, it took me right to it.
Brian -
Spool not getting created in batch job
Hello experts,
We have a requirement of printing BA00, BA01 and LD00 from different application.
We have done same code for all BA00, BA01, and LD00.
Normally the code is working fine except in few cases, when batch job is created but spool is not created.
DATA: job_name TYPE tbtcjob-jobname,
number TYPE tbtcjob-jobcount,
print_parameters TYPE pri_params,
wv_pripar TYPE pri_params,
wv_arcpar TYPE arc_params,
wv_val TYPE c VALUE 'X',
wv_false TYPE c VALUE 'X',
gv_mandt TYPE tsp01-rqclient,
gv_user TYPE tsp01-rqowner.
CLEAR: gv_mandt, gv_user, number.
gv_mandt = sy-mandt.
gv_user = sy-uname.
job_name = 'DELIVERY_PRINTING'.
CLEAR: range1.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = 'LD00'.
CLEAR: range1-high.
APPEND range1 TO range.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT sd70av2a WITH rg_kschl IN range
WITH rg_vbeln IN deli_tab
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB job_name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = job_name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
WAIT UP TO 10 SECONDS.
** to give the data to the printer***
* CLEAR gv_rqident.
SELECT SINGLE listident INTO gv_listident FROM tbtcp
WHERE jobname = job_name
AND jobcount = number.
IF sy-subrc = 0.
MOVE gv_listident to gv_rqident.
CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
EXPORTING
spool_request_id = gv_rqident.
ENDIF.
The same code is for all the output BA00, BA01 and LD00.
The issue is that for few batch jobs (which is created in the above code) , spool is not getting created.
Thanks and Regards,
Paritosh PandeyHi,
The code starting from WAIT UP TO 10 SECONDS. - not only does it look attrocious, is error prone (if no free process for executing batch job is available for 10 seconds, or if the job runs for more than 10 seconds, what will happen...?), but seems utterly unnecessary... Is there any reason immediate spool output can not be handled by simply setting PRINT_PARAMETERS-PRIMM = 'X'?
cheers,
Janis
Edit in:
Ok, i just read Document in spool but not printed... Do not use an output device relying on frontend access methods to do printing from background processing. Frontend is not available during background processing, period. To my knowledge there is no easy, clean solution to this problem other than defining and assigning, per user, output devices not relying on frontend printing. What if the dialog user has logged off by the time batch job finishes..? May the spool remain unprinted?
Has the SAP Basis refused to define output devices (I have hard time believing this...)? Well, tell them one time to stop being silly and if they do not cooperate, tell the owner of the requirement that it can not be implemented due to uncooperative Basis then... and that the users will have to keep going to SP01 and manualy start the output!
Message was edited by: Jānis B -
Batch Job for ME59N getting error SE133 - Net value could not be determined
HI,
We can convert the PO automatically when run manually tcode ME59N successfully.
But when We schedule a batch job to run ME59N (RM06BB30) to create AUTO Purchase order for services item Purchase requistion.
Getting error message SE133 "Net value could not be determined". PO canot be converted automatically.Hi,
Price/ Net value not picking!
Check info record based on Material Group for your service PR which need to be converted to PO.
Also check activation of Automatic Purchase order creation for Service requisitions in t.code: ML91.
Check vendor master , schema group of vendor and check MM pricing procedure, the availability of condition type for service master for service PO.
For more please read note 635511
Regards,
Biju K -
Jobs are getting delayed.
Hi All,
We are monitoring many jobs daily. But now some of the jobs are getting delayed (2 to 3days). We have deleted that job and rescheduled to solve that issue. But we are unable to find the reason why it was happening suddenly.
Any suggestions will be awarded.
Thanks,
Praveen.hi
jus have a look at this function BP_JOBLOG_READ
hope it helps
regards'
Aakash Banga -
How to get a graphical display of spool request after a batch job?
Hi all,
I have scheduled a bunch of batch jobs. When I run sm37 to look at the finished jobs, I can see that there is a "papirus like ikon" in the second column, Ln, (the one on the right from the job names) for some of the jobs, but not for the most of them.
Now when I, in sm37, mark this job for which I have an "papirus like ikon", press a "Spool" icon on top of the screen, then mark one step and press the "google icon" I get an output of what job performed in that step. That output usually gives a quite good information of what the program did (e.g. Nr of lines deleted, OP released).
Now my question is how do I get that spol output for the rest of the jobs as well?
Thanks and Kind Regards,
ArminHi Thomas,
As you said, the OTF is stored as is in the spool file, and you can read it using the C calls, or use RSPO_RETURN_SPOOLJOB function module for example.
Note that using SP01, you can send a spool via a menu entry, which corresponds to function module RSPO_SPOOLJOB_TO_OFFICE.
Best regards
Sandra -
Job SAP_COLLECTOR_FOR_PERFMONITOR getting delay.
Hi Friends,
In one of my customer system, the job SAP_COLLECTOR_FOR_PERFMONITOR is getting delay on particular time.
Normally every hour it is getting finished with 5 to 40 secs.
But at a particular the job starts at i.e. 02:26am is finishing successfully but taking much time. It's nearly taking 37,000 secs.
Job log:
Job started
Step 001 started (program RSCOLL00, variant , user ID DDIC)
Job finished
My system details are:
Comp version :BBPCRM 4.0
Database system: ORACLE , 10.2.0.4.0.
Kernel release : 640
SAP_BASIS:SAPKB62063
I can submit if any information required. Earlier solution is much aspirated.
Regards
SudhakarSorry Guys I was not well to answer your replies.
Thanks for your replies.
Still the issues persists. Here are some more information which would help you to help me.
I have checked BTC are available.
In SM51 one BTC is running for long time for this with a entry of u201CSAPLSTUW 000 DDICu201D
& Daily BTC process is Disconnecting from oracle at 2 Ou2019clk then this job is taking that BTC. Is there any relation between this?
Wed Oct 6 01:50:01 2010
got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
Client NLS settings:
Logon as OPS$-user to get SAPCRM's password
Connecting as /@SID on connection 1 (nls_hdl 0) ... (dbsl 640 070308)
Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
0 UTF8 1 0x114876050 0x114888db0 0x114888668
Starting user session (con_hdl=1,svchp=0x1160b89c8,srvhp=0x11488bd68,usrhp=0x1160b85b0)
Now '/@SID' is connected: con_hdl=1, nls_hdl=0, session_id=687.
Got SAPCRM's password from OPS$-user
Disconnecting from connection 1 ...
Close user session (con_hdl=1,svchp=0x1160b89c8,usrhp=0x1160b85b0)
Now I'm disconnected from ORACLE
Connecting as SAPCRM/<pwd>@SID on connection 1 (nls_hdl 0) ... (dbsl 640 070308)
Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
0 UTF8 1 0x114876050 0x114888db0 0x114888668
Starting user session (con_hdl=1,svchp=0x1160b89c8,srvhp=0x11488bd68,usrhp=0x1160b85b0)
Now 'SAPCRM/<pwd>@SID' is connected: con_hdl=1, nls_hdl=0, session_id=687.
Connection 1 opened (DBSL handle 1)
Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
134 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20100930 152615 host05
134 001 R/3*WORKFLOWTRAC 134000057 ACTIVE NO NO NO 004 255 255 20101006 015001 host05
ERROR => EmActiveData: Invalid Context Handle -1 [emxx.c 2220]
ERROR => EmActiveData: Invalid Context Handle -1 [emxx.c 2220]
ERROR => EmActiveData: Invalid Context Handle -1 [emxx.c 2220]
Wed Oct 6 02:08:47 2010
Disconnecting from connection 1 ...
Close user session (con_hdl=1,svchp=0x1160b89c8,usrhp=0x1160b85b0)
Now I'm disconnected from ORACLE
Disconnected from connection con_da={R/3*WORKFLOWTRACE,134000057,1}
Job is taking much time to finish at 02:26 with a lock entry in MONI table. In ST03n sometimes 3:26 job is showing error but it is not failing.
Error log:
System name Host name Report Date End time
Error message
Host05_SID_00 Host05 RSCUECRM 06.10.2010 03:26:01
Host05_SID_00 Host05 RSHOSTDB 06.10.2010 03:26:01
Host05_SID_00 Host05 RSORACOL 06.10.2010 03:26:01
Host05_SID_00 Host05 RSORAHCL 06.10.2010 03:26:01
Host05_SID_00 Host05 RSRFCDLT 06.10.2010 03:26:01
Host05_SID_00 Host05 RSRFCDMN 06.10.2010 03:26:01
Host05_SID_00 Host05 RSSTAT60 06.10.2010 03:26:06
Table MONI is locked by user DDIC
Host05_SID_00 Host05 RSSTAT87 06.10.2010 03:26:06
Host05a_SID_01 Host05a RSHOSTDB 06.10.2010 03:26:07
Host05a_SID_01 Host05a RSRFCDMN 06.10.2010 03:26:07
Host05_SID_00 Host05 RSSTAT83 06.10.2010 03:26:11
Begin error recovery:
Host05_SID_00 Host05 RSSTAT60 06.10.2010 03:27:16
Table MONI is locked by user DDIC
Contents of TCOLL
Report Days of Week Hours of Day Repe- System
titions
Mo We Fr Su 0 2 4 6 8 10 12 14 16 18 20 22
RSCUECRM X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSDBPREV X X X X X X X X X X X X X X X X X X X X 1 C
RSDB_PAR X X X X X X X X X X 1 C
RSDB_TDB X X X X X X X X X 1 C
RSDB_WDB X X 1 C
RSHOSTDB X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 *
RSHOSTDC X X X X X X X X X X X X X X X X X X X 1 C
RSHOSTPH X X X X X X X X X X 1 *
RSORA811 X X X X X X X X X 1 C
RSORACOL X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSORAHCL X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSRFCDLT X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSRFCDMN X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 *
RSSDBDLY X X X X X X X X 1 C
RSSTAT60 X X X X X X X X X X X X X X X 1 C
RSSTAT83 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSSTAT87 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 1 C
RSSTAT90 X X X X X X X X X 1 *
RSSTAT98 X X X X X X X X X X X X X 1 *
RSSTATPH X X X X X X X X X X 1 *
RSTUNE80 X X X X X X X X X X 1 *
RSXRPM X X 1 C -
Program or function module to get active Batch jobs
Hi Experts,
I need a program or a FM that would give me the list of active batch jobs and also the time they were running
for.
Plz help me outYou Just follow the below code, It is exactly same as your requirement.
TYPES: BEGIN OF ty_itbl,
jobname TYPE tbtcp-jobname,
jobcount TYPE tbtcp-jobcount,
stepcount TYPE i,"tbtcp-stepcount,
sdldate TYPE tbtcp-sdldate,
sdltime TYPE tbtcp-sdltime,
sdluname TYPE tbtcp-sdluname,
status TYPE tbtco-status,
END OF ty_itbl.
DATA : wt_itbl TYPE TABLE OF ty_itbl,
wa_itbl TYPE ty_itbl.
SELECT a~jobname
a~jobcount
a~stepcount
a~sdldate
a~sdltime
a~sdluname
b~status
INTO CORRESPONDING FIELDS OF TABLE wt_itbl
FROM tbtcp AS a
INNER JOIN tbtco AS b
ON b~jobname EQ a~jobname
AND b~jobcount EQ a~jobcount
WHERE a~progname IN wp_prog
AND a~sdldate IN wp_date
AND b~status eq <STATUS>. "<-Give the Active Status here
Maybe you are looking for
-
Hello everyone, I need some help on a query for a Stacked Bar Chart. I copied the following query from the "How To" Pages for a Stacked Bar (HTML DB 2 Day Developer) and adjusted it according to my tables: SELECT NULL l, sales_month, revenue FROM ( S
-
Help, I am trying to make an if formula, but can't get it to work. So what I need to do is - I'm using numbers to keep details of booking for an event, and I have set up a second table for people who said they would like to volunteer. On my booking t
-
Use the DMA to transfer a array data from the RT system to the FPGA,and indicate the array data in the FGPA. Now,If the array data in the RT is a array including one element ,Ican recevie well in the FPGA VI,bcause in the FPGA VI the function of DMA
-
Is there any way of hiding the default Lightroom presets? I never use them and they take up a lot of panel space. I have a feeling we can't and it would be nice to be able to.
-
Upgrading Operating System Mac Pro 2008
I'm currently running 10.5.8 on my Mac Pro which I bought in September of 2008. Can I upgrade to any of the latest versions?