How do I see values of global variables in a SAP system
Hi Guys
How do I get to see the values of global variables DIR_GLOBAL etc.
Actually I wanted to run an archive for some IDOCs, and I configured a filepath for the same and gave it an address to my local system, now when I use SARA and after customising the logical path it gives me an error stating that "Logical file path is not completely maintained".
So I resorted to one of the predefined paths ARCHIVE_DATA_FILE and it archived successfully but I am not able to figure out the exact path of the archived file can you please help??
Best regards
Sujoy
Hello Sujoy,
Execute transaction FILE, double click on Logical File Name Definition, then, scroll down to find ARCHIVE_DATA_FILE - double click on ARCHIVE_DATA_FILE. Note what is entered in the Logical path field and then, go to Logical File Path Definition. Look for the path name from previous step and highlight/select it and click on Assignment of Physical Paths to Logical Path. From there, you can double click on the relevant Syntax group. This will give you the path for where the archive file has been written to.
I hope this explanation is not too confusing :-).
Best Regards,
Karin Tillotson
Similar Messages
-
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
How to get the value of a variable defined in javascript in JSP
how to get the value of a variable defined in javascript in/through JSP????
In Javascript you can use the DOM to access the input element and set it's value before submitting the form. Then it's value will just be passed.
-
How to get the value of a variable in FOX?
Hi,
In the FOX program how to get the value of a variable defined in planning area?
can anyone give me some sample code?
thanksAdding to the last reply,
you can use VARI(variable) to get the count of the values.
In the latest version of BPS, you may also use the following new foreach construct:
FOREACH var IN VARIABLE variable_id.
Regards - Ravi -
How to Set and Use a global variable within a session?
Dear All,
I'm new to jsp, and would like to ask how to set and use a global variable within a session?
Thanks in advance.
Regards,
CecilWith session.setAttribute("name",object) you can store a Attribute in the session object.
with session.getAttribute("name") you can get it.
That's it.
Regards,
Geri -
Passing values to global variables while running job via management console
Hi All,
I have a requirement, where I have to use HANA view with input parameters as source. I am doing the same by placing the HANA query for view with input parameters, in SQL transform and assigning values to placeholders using global variables. This is working fine at the designer level.
But where I am stuck is, it possible to pass values to global variables while running job in Management console or in a third party scheduler. Should I do any changes in the batch job to achieve the same ?
Please help me with the same and also let me know whether my approach of using Global variables to assign values to input parameter of HANA view is right?
Thanks,
DeepaSelect Batch > Batch Job Configuration > Add Schedule and Expand the Global Variables section in the Schedule Batch Job tab. You can then specify a value for all your global variables.
Alternatively, work with control tables and assign values to the global variables in an initialisation script. -
How do I edit value of PATH variable in AIX?
How do I edit value of PATH variable in AIX?
Hi Sandy,
You need to edit .profile file from the users home directory...
(Please note DOT before filename, which make the file hidden...)
use "ls -a" command to list hidden files.
its a basic question, why don't you search google for such issues.
It will also help you to understand the system better...
Regards.
Rajesh Narkhede -
How to see the log that the account logons sap system?
hi, all
I want to know that how many times does the account(eg,sapuser) log on sap system in one month.
and, when did log on in every time?
thanks and Regards.To Deepak Agrawal:
thanks very much for your answer.
SM04 will show current users who are logged into system , i know it.
but now i don't want to get the current logon information.
I want to get the logon information of the account(eg.sap*) at yesterday , or at the day before yesterday. ............
Thanks and regards -
How To send DMS(Documents cv01,cv03n,cv04n) from one sap system to othersap
Hello Experts,
I am working Document management system(CV01,cv02n,cv03n,cv04n)...
I want to send the documents from one SAP system to Other SAP system
Using ALE/Idocs....
Please Help on this any sample programs....or function module....
Thanks
PreethiHello,
Please refer to the thread:
How To send DMS(Documents cv01,cv03n,cv04n) from one sap system to othersap
Best Regards, Murugesh AS -
How do I pass local final variable value to global variable.
Hi,
In my code, I need to pass the local final string varibale value to the global variable for further usage. I know final is constant and inside the braces it can't be modified or assigned to other. Help needed in this regard or how do I re-modify the code according to my requirement i.e assigning the final string variable value to the outside of that block.I need the value of final String variable to be available in the process method outside of the specified block.
class HostConnection{
public module process(){
HostKeyVerification hkv = new HostKeyVerification() {
public boolean verifyHost(String hostname,SshPublicKey key) {
final String keyfingerprint = key.getFingerprint(); return true;
Thanks
SriSriRaj wrote:
It seems to be by-default all varibales in the inner calss method are Final.This is not true. Try this:
class SomeClass {
public void method() {
Runnable runnable = new Runnable() {
public void run() {
int i = 0; // new inner-class variable
i = i + 1;
System.out.println(i); //prints "1"
}But you obviously can't do this:
class SomeClass {
public void method() {
Runnable runnable = new Runnable() {
public void run() {
int i = 0; // new inner-class variable
i = i + 1;
System.out.println(i); //prints "1"
System.out.println(i); //compiler error: "i" is undefined
}Because you are declaring i in an inner class. If you want to access the value of i outside that inner class, you'd have to do this:
class SomeClass {
private int i;
public void method() {
Runnable runnable = new Runnable() {
public void run() {
int i = 0; // new inner-class variable
i = i + 1;
System.out.println(i); //prints "1"
SomeClass.this.i = i;
System.out.println(i); //no compiler error
}If this doesn't answer your question, please try to post an actual question, along with your real code, and any compiler errors you are getting, word for word. -
Timeline. How does (or does not) update global variables?
Hello All,
I am having problems to understand how a timeline updates values. In my case the timeline is supposed to change an index within a second always by incrementing it by one or decrementing by one. Basically I am trying to create a mosaic of images that when I press left key all the columns move to left and when I press right key all the columns move to right.
To do this I have a deltaX constant that defines the translation.
Then I have a global tracker initialized to 0 and then udated +1 if move to right, -1 if move to left.
The Timeline is:
public var tracker: Number = 0;
var thumbnails: ImageView[] = bind for (column in [0..appModel.CATALOG_COLUMNS + 1]) {
for (row in [1..appModel.CATALOG_ROWS]) {
def imageView: ImageView = ImageView {
image: bind catalogData.dataAt(row, column)
x: bind (column - 1)*catalogData.maxThumbnailWidth + column*xSpacing
y: bind ySpacing + (row - 1) * (catalogData.maxThumbnailHeight + ySpacing)
translateX: bind tracker*deltaX
transforms: bind [
Rotate {
angle: bind direction * rotation
pivotX: bind imageView.x + imageView.boundsInLocal.width / 2
pivotY: bind imageView.y + imageView.boundsInLocal.height / 2
override public function create(): Node {
return Group {
content: bind thumbnails
public function rotateAndTranslateToRight(): Void {
direction = 1;
translateAndRotateTimeline.stop();
translateAndRotateTimeline.play();
public function rotateAndTranslateToLeft(): Void {
direction = -1;
translateAndRotateTimeline.stop();
translateAndRotateTimeline.play();
var translateAndRotateTimeline = Timeline {
def initialValueTracker = tracker;
keyFrames: [
KeyFrame {
time: 0s
values: [
rotation => 0,
tracker => initialValueTracker
KeyFrame {
time: 1s
values: [
rotation => 360 tween Interpolator.LINEAR,
tracker => initialValueTracker + direction tween Interpolator.LINEAR
}The problem is that if I first move to right the Timeline works correctly and tracker goes from 0 to 1 in one second, therefore I see a translation to right of tracker*deltaX pixels. So far so good.
Then if I move to left, I am expecting the Timeline to change tracker from 1 to 0 in one second, but really it is changing tracker from 0 to -1... which of course messes up my translation to left.
I thought Timeline updates global variables (define outside the Timeline in the context of the class the Timeline is defined) during the transition, but apparently from my observation it doesn't.
Or maybe I am not defining correctly the Timeline itself and/or the tracker variables?
Thanks.
Edited by: sacchett88 on Jun 4, 2010 1:03 PMThanks for the reply... but it didn't help me that much in finding the workaround. I wrote a simpler example to prove the point that can be easily copied and pasted and run. The example draw a circle and for every right key it should move the circle to right of a deltaX number of pixel. If left key is pressed then the circle should move to left of a deltaX number of pixels. The code is:
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.KeyCode;
import javafx.animation.Timeline;
import javafx.animation.KeyFrame;
import javafx.animation.Interpolator;
var deltaX: Number = 70;
var direction: Number = 1;
var tracker: Number = 0;
var circle: Circle;
var translate = Timeline {
def initialValueTracker = tracker;
keyFrames: [
KeyFrame {
time: 0s
values: [
tracker => initialValueTracker
KeyFrame {
time: 1s
values: [
tracker => initialValueTracker + direction tween Interpolator.LINEAR
Stage {
title: "Application title"
scene: Scene {
width: 900
height:500
content: [
circle = Circle {
centerX: 100,
centerY: 100,
translateX: bind tracker*deltaX
radius: 40
fill: Color.BLACK
onKeyPressed: function (e: KeyEvent): Void {
if (e.code == KeyCode.VK_RIGHT) {
direction = 1;
translate.stop();
translate.play();
} else if (e.code == KeyCode.VK_LEFT) {
direction = -1;
translate.stop();
translate.play();
circle.requestFocus();I understand how KeyFrame works. However the final value I'd like to be the initial value for next key press. I also tried to assign explicitely the final value to the tracker variable at the end of the timeline, but next time timeline still picks up the initial value 0 of tracker.
Thanks. -
How do you reference a created global variable in a report text field?
I have created a parameter using the Globaldim statement in a script file. when I reference this parameter in any other script file during the current DIAdem session the value is passed without any issue. Call the variable parmxyz where I assign it a value of 25.3
The help section under Globaldim mentions that global variables can be referenced in all panels, scripts, and dialogue boxes. When I try to insert a text box on a report page using the @@parmxyz@@ it returns NOVALUE where I expect to see 25.3 (for example).
When I substitute @@CurrDate@@ I do get the date, so I know the text box is valid. What am I doing wrong?
Steve MHello Steve!
It should work the way you did it. But their are some circumstances wich might prevent it:
You have reseted the global script engine. All variables will be lost.
You have a Sub with the same name in a command extension script. There is no warning ;-)
One Test you can make is to put in '@@TypeName(paramxy)@@' as the expression to see the variable type. You can also try a realy unique variable name. The last option is to use ItemInfoGet to get detailed infos about your variable.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater? -
How to view few values in F4 Variable screen?
Hi All,
According to the requirement user needs to see only few values in the variable screen.
for example if the characterstic info object "ZPRODUCT" contains 100 values, but in the variable screen user needs to see only required 10 values, So that user can select 1 or multiple values from the list of 10 possible values.
Could you please suggest me, how can i implement this scenario?
Regards,
RaviHello,
Will this variant valid if we assign the report to a role and integrated into portal?
The variant is working fine when i execute the report directly, but is dissappearing when i call it in portal via Role.
Do you have any ideas on this problem?
Regards,
Ravi -
Selection screen values in global variable user exit
Hi all,
I made a project report global variable of type 3 (User Exit) and I develop the related code in enhancement KKDR0001 component EXIT_SAPLKYP1_003. In this code I need the value of project definition that user entered on selection screen.
Does anybody know how can I get this data?
Thanks!Hi,
You can do the following for getting project in Earlier screen
Data: l_string(20) type c
Field-symbols: <fs> type any.
l_string = '(Screen)variable name'.
assign l_string to <FS>.
Just try above... -
How can we give values to the variable
Oracle Forms6i
Hai All
I am generating an daily attendance regarding shift basis.In that i have written an ifelse condition it work successfull and but it fetches only 350 row out of 800.
I have declared a variable and i need to know how to assign values to the variable Pls tell the steps to do.I have done correctly but there is an logic error in my coding.Let give me some steps to solve the problem
My coding is
declare
t_in varchar2(25);
t_out varchar2(25);
cursor cur_test is
select * from dail_att where intime=t_in and outtime =t_out;
--into t_in,t_out from dail_att;
begin
loop
go_block('TEST_SRI');
FIRST_RECORD;
if :bartime between 0145 and 0630 then
update dail_att set outtime = :bartime where barcode= :barcode
and ATTEND_DATE = :bardate-1 and intime is null and outtime is not null;
elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
:bartime between 1700 and 1800 and t_in is null then
insert into dail_att(barcode,intime,attend_date)
values(:barcode,:bartime,:bardate);
elsif :bartime > 1645 and t_in is not null and t_out is null then
update dail_att set outtime = :bartime where barcode= :barcode
and ATTEND_DATE = :BARDATE and intime is not null and outtime is null;
end if;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
NEXT_RECORD;
END LOOP;
forms_ddl('commit');
exception
when others then
forms_ddl('rollback');
message(sqlerrm||dbms_error_Text);
message(sqlerrm||dbms_error_Text);
end;
Regards
Srikkanth.MHai man
I have generated a daily attendance roll in oracle forms and it executed correctly but while fetching it fetch some of the records. So i have declared a variable in a block and in my coding.
For those variable i need to pass values from select statement or using cursor.According to that i can use in my ifelse statement.
If It is clear Or else see the coding
declare
bar_code varchar2(25);
in_time varchar2(25);-------------------------- these are the variable i going to use in select statement to pass values
out_time varchar2(25); so that i can use in if else statement.
begin
loop
go_block('TEST_SRI');
FIRST_RECORD;
select BARCODE,INTIME,OUTTIME into bar_code,in_time,out_time from dail_att where BARCODE= :Barcode
and ATTEND_DATE = :bardate;
if :bartime between 0100 and 0630 then
update dail_att set outtime = :bartime where barcode= :barcode
and ATTEND_DATE = :bardate-1 and in_time is null and out_time is not null;
elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
:bartime between 1700 and 1800 and in_time is null then
insert into dail_att(barcode,intime,attend_date)
values(:barcode,:bartime,:bardate);
elsif :bartime > 1645 then
update dail_att set outtime = :bartime where barcode= :barcode
and ATTEND_DATE = :BARDATE and in_time is not null and out_time is null;
end if;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
NEXT_RECORD;
message(:barcode);
END LOOP;
Maybe you are looking for
-
Just a week ago I worked on my documents with no problem. Today, I can't open the documents anymore. I keep getting an error message requiring a newer version of pages. I have removed and re-installed pages - no luck there. I have only 1 version inst
-
Activate button not working in Site Collection features
I just created a new web application and then Site Collection with "Team Site" template. Now when I want to activate "Publishing infrastructure" the "ACTIVATE" button is not working ..even not any button is working..whenever click on any button the p
-
Apple Care price for oow replacement
Now that the Iphone 3g will be under $100 on June 19, will the price of the out of warranty replacement price also go down?
-
ITunes 11 - can't figure out how to authorise computer
I need to authorise my computer so I can get songs from my laptop (Windows) to my iPod touch (4th gen) but I can't figure out how. I have searched and evey answer is the same but doesn't work.
-
Can I run OS lion and snow leopard on two partitions? thanks.
My hard drive has two partitions, 300- active and 200 Gigs. The active partition has the snow leopard OSX10.6.8. is it possible to have two OS on one drive, but on two partitions? thanks