Lsmw issue plz help its urgent
Hi Experts ,
i need to create a LSMW using batch input .
but the requirement is on the basis of conditions my recording need to be changed .
dat means
3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
for ctr i ill have to post data in screen number 200
and for wbs i ill have to post data in screen number 400 .
can we put some conditions in recording in lsmw ?
i no we can create multiple recording but how can we use them to fullfill my requirement .
plz help its urgent
thanx in advance
Hi,
Within LSMW, there is an option to write our own code wherein this code can be incorporated.
This is in the Field Mapping Option...
Just go to the Menu Extras->Layout
and click on the check box Form Routines
Global Data.
Here you can define Global Variables and also perform your ABAP Coding.
Regards,
Balaji.
Similar Messages
-
Hi all,
i am getting value in format '123-'
i need to display in format '-123'
plz help me.
Thanks ,
GauravHi,
Check this
report ztest_46.
data: val type i value '154633-'.
write (8) val using edit mask '-________'.
aRs -
Goods movement on a mass scale...Plz help, its urgent.
Hi Gurus,
I need to do the goods issue to a cost centre on a mass scale. Is there any way to do it in one hit or do i need to to put all the materials manually (around 3000 materials) and then enter the qty to be transfered?
Kindly help me out, its very urgent...
Thanks,
Swati.Ask your Abaper to write a BDC Program and give all the details in EXCEL sheet
-
hi friends
Here is my query in Workflow
I would like to know when a work item gets triggered.?
I know that its a run time object,but i want to know is there any such condition which must satisfy before any work item gets triggered,or is there any process that helps to triggered a work item.
Thanks in Advance
mrutyun^hai
for a workitem should be triggred, we dont want any thing.
if workflow is triggred using event then, the following steps which is designed below is executed. -
HELP in Generating XML(PLz help its urgent)
Hi,I need to generate XML FIle.Since i m new to XML.
I had toregister the valid schema in my DB now i want to generate the XML file and with the refernce to this schema that xml file should be validated one against that schema.
things i hav done till now
->i hav registered the scehma
and the sample XML file provided by client
<?xml version="1.0"?>
<MEDMLDATA xmlns="PhaseForward-MedML-Inform4">
<!-- Insert Trial/Study Information -->
<STUDYVERSION UUID="id"
STUDYNAME="name"
VERSIONDESCRIPTION="text" />
<!-- Insert Site Personnel Information -->
<USER USERNAME="mmeyer"
USERTYPE = "SITE"
ACTIVESTATE = "TRUE"
DELETESTATE = "FALSE"
FIRSTNAME = "Marianne"
LASTNAME = "Meyer"
DISPLAYNAME = "Marianne Meyer"
TITLE = ""
HOMESCREENURL = "./Custom/HomeDefault.html"
PHONE = "(555) 555-1212"
FAX = "(555) 555-1212"
ALTPHONE = ""
EMAIL = "[email protected]"
ADDRESS = ""
ADDRESS2 = ""
CITY = ""
STATE = ""
ZIPCODE = ""
COUNTRY = ""
BEEPER = ""
USERMUSTRESETPASSWORD = "FALSE"
DESCRIPTION = ""
PASSWORD="changeme"/>
<USER USERNAME="john"
USERTYPE = "SITE"
ACTIVESTATE = "TRUE"
DELETESTATE = "FALSE"
FIRSTNAME = "John"
LASTNAME = "Meyer"
DISPLAYNAME = "John Meyer"
TITLE = ""
HOMESCREENURL = "./Custom/HomeDefault.html"
PHONE = "(555) 555-1212"
FAX = "(555) 555-1212"
ALTPHONE = ""
EMAIL = "[email protected]"
ADDRESS = ""
ADDRESS2 = ""
CITY = ""
STATE = ""
ZIPCODE = ""
COUNTRY = ""
BEEPER = ""
USERMUSTRESETPASSWORD = "FALSE"
DESCRIPTION = ""
PASSWORD="changeme"/>
<!-- Insert Site Information -->
<SITE NAME= "(01) Massachusetts General Hospital" MNEMONIC="01"
ADDRESS = "1 Main Street"
ADDRESS2 = ""
CITY = "Boston"
STATE = "MA"
ZIPCODE = ""
COUNTRY = "USA"
PHONE = "(555) 555-1212"
ALTPHONE = ""
FAX = ""
EMAIL = ""
TIMEZONE="(GMT-05:00) Eastern Time (US & Canada)"
SITEDATEFORMAT = "MONTH_DAY_YEAR"
STARTDATE = "April 1, 2005">
</SITE>
<SITE NAME= "(02) Boston General Hospital" MNEMONIC="01"
ADDRESS = "1 Main Street"
ADDRESS2 = ""
CITY = "Boston"
STATE = "MA"
ZIPCODE = ""
COUNTRY = "USA"
PHONE = "(555) 555-1212"
ALTPHONE = ""
FAX = ""
EMAIL = ""
TIMEZONE="(GMT-05:00) Eastern Time (US & Canada)"
SITEDATEFORMAT = "MONTH_DAY_YEAR"
STARTDATE = "April 1, 2005">
</SITE>
<!-- Insert SITE and User Mapping Information -->
<SITEGROUP SITENAME="(01) Massachusetts General Hospital">
<USERREF USERNAME="mmeyer"/>
</SITEGROUP>
<SITEGROUP SITENAME="(02) Boston General Hospital">
<USERREF USERNAME="John"/>
</SITEGROUP>
<!-- Insert User ROle Information -->
<RIGHTSGROUP GROUPNAME="CRA">
<!-- Insert Rights -->
<RIGHTREF RIGHT="Print"/>
<RIGHTREF RIGHT="Monitor"/>
<RIGHTREF RIGHT="Canned Reports"/>
<RIGHTREF RIGHT="View CRF"/>
<RIGHTREF RIGHT="View Signature History for CRF"/>
<RIGHTREF RIGHT="View Signature History for CRB"/>
<RIGHTREF RIGHT="Data Export Listings"/>
<RIGHTREF RIGHT="Freeze a CRF"/>
<RIGHTREF RIGHT="Unfreeze a CRF"/>
<RIGHTREF RIGHT="Mark and Unmark a CRF as SVed"/>
<RIGHTREF RIGHT="Freeze a CRB"/>
<RIGHTREF RIGHT="Unfreeze a CRB"/>
<RIGHTREF RIGHT="Change Query State from Candidate to Open"/>
<RIGHTREF RIGHT="Change Query State from Candidate to Deleted"/>
<RIGHTREF RIGHT="Change Query State from Answered to Closed"/>
<RIGHTREF RIGHT="Change Query State from Open to Closed"/>
<RIGHTREF RIGHT="Change Query State from Reissued Candidate to Closed"/>
<RIGHTREF RIGHT="Enter Query in Candidate State"/>
<RIGHTREF RIGHT="Enter Query in Open State"/>
<RIGHTREF RIGHT="Re-issue Query in Candidate State"/>
<RIGHTREF RIGHT="Re-issue Query in Open State"/>
<RIGHTREF RIGHT="Navigate by Visit"/>
<RIGHTREF RIGHT="Navigate by Form"/>
<RIGHTREF RIGHT="Reordering of Patients"/>
<!-- Insert Users for role -->
<USERREF USERNAME="mmeyer"/>
<USERREF USERNAME="john"/>
</RIGHTSGROUP>
</MEDMLDATA>
now i need to generate XML based on the above SAMple XML file,can anybody tell me how to generate XML file based on this..and after generating it should be validated against the registerd schema.Maybe I am wrong, but my understanding is that you have to generate the xml from your data source (usually tables) and then you validate it against your schema. I don't know if the schema has a magic that can generate the xml for you. Is that correct? Anyone please? At the beginning, I asked a .Net guy if his tool could "generate" an xml simply using the schema (I thought so). But he said they had to use many style sheets to create the xml.
Ben -
Hi
In Linux/Unix Environment we can pass command line arguments as
java filename arg1 arg2 ....
If I want to pass command line arguments while running Java in Eclipse .How can I do it?
ThanksHi
In Linux/Unix Environment we can pass command line
arguments as
java filename arg1 arg2 ....
If I want to pass command line arguments while
running Java in Eclipse .How can I do it?
ThanksBy reading the documentation / help screens that come with Eclipse, to see where you fill out some part of some screen about your project. -
Routine--- help its urgent.
hai gurus,
Here is the scenario.
I am extracting the data from r/3.There is one field called "ITM_DESCRIPTION" in this i am gettting an # char only for single record and due to this delta loads are getting failed.
we had already wriiten the code for eliminating # for that field but dont know its not working. So i am planning out to skip that particular record for a particular Purchase order number.
Is there any such code to eliminate the particular record.
Many thanks in advance.
any one has the code plz send the code.
Help its urgent.
full points assured
regards
KPhai Oscar,
I had already done this one.
still geting the same problem.
can u send me any code that i can add in SR of TR.
regards
Kp -
When the user Miro Generating:-
1. Give the Ref.No.Business places,
service Sheet No.
and the G/L No.. its take in production server,
But here actual its upated Medical Aid,G/l
But its comes in Rawmaterial exemption,account i.e not relevant account
actual Here its comes in G/L medical account
How its overthe issue plz help for me.
2.In before indevelopment server do that same thing in DEvelopment server, its Give the Error mesage i.e DELIVRY NOT SERIVICE ETNRY SHEET ..............(number) doest not exitHello,
There are several public KB articles that may apply to your situation. But, rather than try and list them all here for you, I suggest you go here:
http://btsc.webapps.blackberry.com/btsc/microsites/microsite.do
Search on the exact error message and see any of the resulting articles are on point to your situation.
Good luck and let us know!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to enable java script in my Firefox browser? help its urgent.
how to enable java script in my Firefox browser? help its urgent.
go to '''about:config''' and search for '''javascript.enabled''' change its value to '''true'''
*[http://kb.mozillazine.org/About:config about:config] -
Migration to an asm instance. plz help me urgent
RMAN> BACKUP AS COPY DATABASE FORMAT '+DGROUP1';
Starting backup at 20-AUG-07
Starting implicit crosscheck backup at 20-AUG-07
using target database controlfile instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=328 devtype=DISK
ORA-19501: read error on file "+DGROUP1/sravan/backupset/2007_08_03/nnsnf0_ora_asm_migration_0.260.1", blockno 1 (blocksize=512)
ORA-17507: I/O request size is not a multiple of logical block size
Crosschecked 7 objects
Finished implicit crosscheck backup at 20-AUG-07
Starting implicit crosscheck copy at 20-AUG-07
using channel ORA_DISK_1
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block size
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/20/2007 16:53:21
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block size> plz help me urgent
Adjective
* S: (adj) pressing, urgent (compelling immediate action) "too pressing to permit of longer delay";So you are saying that your problem is a lot more important than any other person's problem on this forum?
And you're demanding a quick response from professionals that give you and others assistance here in their free time without getting a single cent compensation?
Don't you think that this "it is urgent!" statement severely lacks manners? -
Hi iam using IPHONE4 , when i coonect it to my PC , itunes get hang and don't detect my iphone , how i can sort out this issue plz help me
iPhone, iPad, or iPod touch not appearing in iTunes
-
Experts plz help its very urgent
hi expert
plz help- me
previously i was getting dump in this statement
TRANSFER v_tab TO p_file.
FYI:
here v_tab is a table which hav som records
and p_file contains the path of a file like c:\new\ggg.txt
DATA: v_tab TYPE STANDARD TABLE OF t_line WITH HEADER LINE,
TYPES: BEGIN OF t_line,
pspid(9) TYPE c,
tab1 TYPE x,
post1 TYPE proj-post1,
tab2 TYPE x,
vernr TYPE prps-vernr,
tab3 TYPE x,
END OF t_line.
DUMP I WAS GETTIN :
For the statement
"TRANSFER f TO ..."
only character-type data objects are supported at the argument position
"f".
In this case. the operand "f" has the non-character-type "T_LINE". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
to avoid this dump i used feild symbol
assign V_TAB to <IN> casting.
p_file = <in>.
unassign <IN>.
nw there is no dump
but problem is p_file contains the contents of v_tab not the file path .
plz help me its very urgent
thanx in advanceHey, no probs,
after your initial declaration, do this.
TYPES: BEGIN OF n_line,
pspid(9) TYPE c,
tab1(15) TYPE c, "check the length you want
post1 TYPE proj-post1,
tab2(15) TYPE c, "check the length you want
vernr TYPE prps-vernr,
tab3(15) TYPE c, "check the length you want
END OF t_line.
DATA: n_tab TYPE STANDARD TABLE OF n_line WITH HEADER LINE.
now after you fetch data into v_tab,
move it to n_tab.
using a loop at v_tab and move corresponding fields to n_tab's work area
append to n_tab.
once you have populated n_tab and are ready to TRANSFER.
OPEN your file using
open dataset <file> for output in text mode encoding default.
now
loop at n_tab.
TRANSFER n_tab to p_file.
endloop.
CLOSE DATASET. -
Function group issue in upgrade plz help very urgent
hi gurus,
plz help me
in a big trouble.
deadline is today.
when i activated the function group i found this error in an include
LSVARCLS
and when i clicked to this field it took me to another include
LSVARTOP
here i found
data: f4_params type onf4_event_parameters_type.
FYI:
types: begin of onf4_event_parameters_type.
types: c_fieldname type lvc_fname.
types: cs_row_no type lvc_s_roid.
types: cr_event_data type ref to cl_alv_event_data.
types: ct_bad_cells type lvc_t_modi.
types: c_display type char01.
types: end of onf4_event_parameters_type.
data: f4_params type onf4_event_parameters_type.
error is :
Field "F4_PARAMS-C_FIELDNAME" is unknown. It is neither in one of the
specified tables nor defined by a "DATA" statement . . . . . . . . . .
thanks in advanceFUNCTION-POOL ZVAR MESSAGE-ID DB.
TABLES:
TADIR, " Entwicklungsklasse
TRDIR, " Reportcatalog
LDBD, " logical databases
VARID, " variant properties
RSVAVA, " Variable data in
" variants( sy-datum)
RSVAR, " new RALDB structure
RSVARDESC, " Report, Variante, Dynnr
VARIT, " variants texts
VARIS, " screennr per variant
DD23T, "
DFIES, "DD-Schnittstelle, get_field
TPARAT, "Texte zu Memory-Ids
TVARUVN, "#EC NEEDED
SSCRFIELDS,
t000.
DATA CHOOSE like sy-ucomm value 'PICK'.
DATA G_STATUS like sy-pfkey.
*Includes für Icons
INCLUDE .
Include für Symbole
INCLUDE .
*Equates für SSCR
INCLUDE RSDBCOM2.
*Typen für dynamische Selektionen, verwendet bei RS_REFRESH_...DYNAMICAL
TYPE-POOLS: RSDS, SYLDB, sydb0.
data: GS_TOOLBAR TYPE STB_BUTTON.
include lsvarcls.
Key um unnoetige Datenbankzugriffe zu vermeiden
DATA: BEGIN OF CHECK_KEY,
REPORT LIKE RSVAR-REPORT,
VARIANT LIKE RSVAR-VARIANT.
DATA: END OF CHECK_KEY.
key für get_description
*DATA: old_key LIKE check_key.
CATALOG OF VARIANTS, OLD STRUCTURE. WILL BE DELETED BY FIRST
CALL OF VARIANTS OUT OF FUNCTIONPOOL SVAR.
INFORMATION WILL BE TRANSFERED TO VARID AND VARIT.
DATA: VARCAT LIKE RSVARC OCCURS 20 WITH HEADER LINE.
TEXT (=> VARIT)
DATA: VARCATT LIKE RVART OCCURS 20 WITH HEADER LINE.
SAVE INFORMATION ABOUT VARIANTS
DATA: BEGIN OF SAVEINFO OCCURS 20,
NAME LIKE RVARI-NAME,
NUMB LIKE RVARI-NUMB,
PROTECTED LIKE RVARI-PROTECTED,
FIELDTEXT LIKE RSVAR-FIELDTEXT,
KIND LIKE RVARI-KIND,
TYPE LIKE RVARI-TYPE,
VTYPE LIKE RVARI-VTYPE,
VNAME LIKE RVARI-VNAME,
appendage I= Matchcode, C=Checkbox etc
APPENDAGE LIKE RSVAR-INVISIBLE,
VARIS(1), " TVARV, FUBAU
N= Ausgeblendet von Report,X ausgeblendet in Variante
INVISIBLE,
USER,
MEMORYID LIKE RSSCR-SPAGPA,
nur auf einem Bild vorhanden
GLOBAL,
NO_IMPORT,
SPAGPA,
NOINTERVALS,
OBLIGATORY LIKE RSVAR-OBLIGATORY,
RADIO,
END OF SAVEINFO.
DATA: BEGIN OF SAVEINFO_DYN OCCURS 10,
TABLENAME LIKE RSDSTABS-PRIM_TAB,
FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
FIELDTEXT LIKE RSVAR-FIELDTEXT,
TYPE LIKE RVARI-TYPE,
VTYPE LIKE RVARI-VTYPE,
VNAME LIKE RVARI-VNAME,
VARIS(1),
PROTECTED LIKE RVARI-PROTECTED,
GLOBAL(1).
DATA: END OF SAVEINFO_DYN.
data: saveinfo_sav like saveinfo occurs 0 with header line.
data: saveinfo_dyn_sav like saveinfo_dyn occurs 0 with header line.
key for import of variants from VARI
DATA: BEGIN OF $RKEY,
REPORT LIKE RSVAR-REPORT,
VARIANT LIKE RSVAR-VARIANT,
END OF $RKEY.
vari
DATA: L_VARI LIKE RVARI OCCURS 20 WITH HEADER LINE.
%_SSCR
DATA SELCTAB LIKE RSSCR OCCURS 20 WITH HEADER LINE.
DATA GLOB_SUBMODE(2).
DATA LOC_SUBMODE(2).
screenfields
DATA: XCODE(4).
DATA: FCODE(4) TYPE C,
FUNC(4) TYPE C.
DATA: BEGIN OF INFO OCCURS 20,
FLAG,
OLENGTH TYPE X,
LINE LIKE RSVAR-INFOLINE,
END OF INFO.
DATA: VALUTAB LIKE RSPARAMSL OCCURS 40 WITH HEADER LINE.
Zur allgemeinen Verwendung
FIELD-SYMBOLS: .
DATA ILLEGAL_CHAR. " Wrong sign in variant
copy
DATA: VARIANT2 LIKE RSVAR-VARIANT,
VARIANT1 LIKE RSVAR-VARIANT.
*list of parameters and select-options, screenobjects
DATA: L_SELOP LIKE VANZ OCCURS 20 WITH HEADER LINE.
DATA: L_SELOP_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE."nonv = non visi
DATA: L_PARAMS LIKE VANZ OCCURS 20 WITH HEADER LINE.
DATA: L_PARAMS_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE.
DATA: SCREENOBJECTS LIKE VANZ OCCURS 20 WITH HEADER LINE.
list of all variants concerning one report
DATA: BEGIN OF VARI_LIST OCCURS 40,
MARKFIELD LIKE RSVAR-MARKFIELD,
VARIANT LIKE RSVAR-VARIANT,
TEXT LIKE RVART-VTEXT,
ENAME LIKE RSVARC-ENAME,
AENAME LIKE RSVARC-AENAME,
PROTECTED LIKE RSVARC-PROTECTED,
ENVIRONMT LIKE RSVARC-ENVIRONMT,
XFLAG1 LIKE VARID-XFLAG1.
DATA: END OF VARI_LIST.
*Variablen für das Blättern auf den Dynpros 1303 und 306.
DATA: VARI_LIST_SCROLL LIKE SY-STEPL VALUE '1'.
DATA: SAVE_OKCODE(4).
table for Dynpro 306 (delete variants)
DATA: BEGIN OF H_VARILIST OCCURS 30,
MARKFIELD LIKE RSVAR-MARKFIELD,
FLAG1 LIKE RSVAR-FLAG1,
FLAG2 LIKE RSVAR-FLAG2,
FLAG3 LIKE RSVAR-FLAG3,
VARIANT LIKE RSVAR-VARIANT.
DATA: END OF H_VARILIST.
CONSTANTS: C_PDLIST_WIDTH TYPE I VALUE '24',
C_VARILIST TYPE I VALUE '10'.
DATA: CATTOP LIKE SY-TABIX VALUE '3'. "lines top-of-page in CATALOG.
*data: listtop like sy-tabix value '3'. "lines top-of-page in Delete
"vari
DATA: PRINT_ALL_VAR. "alle Varianten drucken
DATA: PRINT_CAT_VAR. "Katalog drucken
Systemumgebung
DATA ENVIRONMENT. " S: SAP, C: Customer
Dynpro 320
DATA : TEXT0(59).
*Tables and fields for fitting variants
*table of variants which must be fitted
DATA: BEGIN OF FIT_VAR OCCURS 50,
VARIANT LIKE RSVAR-VARIANT,
FLAG(1). " flag = 'X' => Variante can't be
DATA: END OF FIT_VAR. "fitted.
DATA: BEGIN OF SINGLE_OPTIONS OCCURS 8,
OPTION(2),
TEXT(18).
DATA: END OF SINGLE_OPTIONS.
variants which contain variables
internal table, per line select-options and parameters which
use variables
DATA: BEGIN OF VARIVAR OCCURS 20,
SELNAME LIKE RSSCR-NAME,
SELTEXT LIKE RSVAR-FIELDTEXT,
KIND LIKE RVARI-KIND,
TYPE LIKE RVARI-TYPE,
VTYPE LIKE RSVAR-VTYPE,
VTEXT LIKE RSVAVA-VTEXT,
FB,
TVARV,
VNAME LIKE RSVAR-VNAME,
OPTION LIKE RSVAR-OPTION,
SIGN(1),
INFO_TABIX LIKE SY-TABIX,
DATES_TABIX LIKE SY-TABIX,
USER,
MEMORYID LIKE TPARA-PARAMID,
END OF VARIVAR.
DATA: BEGIN OF VARIVAR_DYN OCCURS 20,
TABLENAME LIKE RSDSTABS-PRIM_TAB,
FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
KIND LIKE RVARI-KIND,
TYPE LIKE RVARI-TYPE,
VTYPE LIKE RSVAR-VTYPE,
VTEXT LIKE RSVAVA-VTEXT,
FB,
TVARV,
VNAME LIKE RSVAR-VNAME,
OPTION LIKE RSVAR-OPTION,
SIGN(1),
INFO_TABIX LIKE SY-TABIX,
DATES_TABIX LIKE SY-TABIX,
END OF VARIVAR_DYN.
DATA: VARIDATE_S LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
Tabelle der möglichen Datumsberechnungen für Variablen in Varianten
Parameter
DATA: VARIDATE_P LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
table of possible TVARV-variables (parameters)
DATA: TVARV_P LIKE TVARV OCCURS 20 WITH HEADER LINE.
table of possible TVARV-variables (select-options)
DATA: TVARV_S LIKE TVARV OCCURS 20 WITH HEADER LINE.
description of fields VARIDATES
DATA: FIDESC_DATES LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
description of fields TVARV
DATA: FIDESC_TVARV LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
description of fields OPTION
DATA: FIDESC_OPTION LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
description of fields OPTION
Feldtabelle für DYNP_VALUES_READ/UPDATE
DATA DYNPFIELDS LIKE DYNPREAD OCCURS 50 WITH HEADER LINE.
*desctab
DATA: DESCTAB LIKE RSBREPI OCCURS 20 WITH HEADER LINE.
*Hilfsfelder für Übergabeparameter
DATA:G_SUBRC LIKE SY-SUBRC,
L_RC LIKE SY-SUBRC.
*Hilfsfelder für Sperren
DATA: G_ENQSUB LIKE SY-SUBRC.
*Hilfsfeld für mandantenabhängiges Löschen von Varianten
DATA: DEL_ALL_VAR. "=X alle Mandanten, =' ' nur aktueller Mandant
select variant form list.
DATA: BEGIN OF VARIANT_TABLE OCCURS 30,
VARIANT LIKE RSVAR-VARIANT,
TEXT LIKE VARIT-VTEXT,
ENVIR LIKE VARID-ENVIRONMNT,
ENAME LIKE VARID-ENAME,
AENAME LIKE VARID-AENAME,
aedat like varid-aedat,
MLANGU LIKE VARID-MLANGU,
protected like varid-protected,
SELSCREEN(80). "<= 20 Bilder
DATA: END OF VARIANT_TABLE.
DATA: CALL_FLAG. "screen 305.
DATA: MODE_FLAG.
Print variants screen 308
DATA: PRINT_LIST LIKE RSREPVAR OCCURS 30 WITH HEADER LINE.
parameters in variables
DATA: BEGIN OF VARIVDAT OCCURS 5,
SELNAME LIKE RVARI-NAME.
INCLUDE STRUCTURE RSINTRANGE.
DATA: END OF VARIVDAT.
DATA: VARIVDAT_WORK LIKE VARIVDAT OCCURS 10 WITH HEADER LINE.
DATA:EXC_SUBC LIKE SY-SUBRC.
DATA: BEGIN OF LDB_VARIVAR OCCURS 10,
MARKFIELD LIKE RSVAR-MARKFIELD,
VTEXT LIKE RSVARIVAR-TEXT,
VTYPE LIKE RSVAR-VTYPE.
DATA: END OF LDB_VARIVAR.
*generate subroutinepool
DATA: BEGIN OF REPDAT_TAB OCCURS 40,
LINE(72),
END OF REPDAT_TAB.
*Tabelle zur Übergabe der alten Selektionswerte wenn sich
*Parameter oder Select-Options geändert haben.
*Wird von rs_variant_obsolet benötigt.
DATA: OLD_SELECTIONS LIKE RSPARAMSL OCCURS 20 WITH HEADER LINE.
*Flag für Aufruf aus QUERY und Report-Writer.
*Reportname auf Einstiegsbild nicht sichtbar (not_visible = x)
DATA: NOT_VISIBLE.
*Varianten für Query
DATA: QUERY_SYSVAR.
*Einstiegsbild mit anderem Titel aufrufen.
DATA: N_TITLE(40).
*F4 Hilfe RS_VARIANT_CATALOG mit anderem Titel aufrufen
DATA: G_TITLE like sy-title.
*Unterscheidung auf Listdynpro (hauptsächlich 307)
DATA: CALLER(4).
*sy-subrc Felder für Import und Export.
DATA: EXP_SUBRC LIKE SY-SUBRC,
IMP_SUBRC LIKE SY-SUBRC.
*Tabellen für dynamische Selektionen
DATA: DYNSEL_DESC LIKE RSDYNBREPI OCCURS 5 WITH HEADER LINE.
DATA: DYNS_FIELDS LIKE RSDSFIELDS OCCURS 5 WITH HEADER LINE.
DATA: DYNSEL_VALUE LIKE RSSELDYN OCCURS 5 WITH HEADER LINE.
*tabellen für matchcodeselection
DATA: BEGIN OF MC_DESC OCCURS 5,
NAME LIKE RSSCR-NAME,
ID LIKE MCPARAMS-MCID,
OBJECT(10),
S_STRING LIKE MCPARAMS-STRING,
D_TEXT LIKE DD23T-MCTEXT,
FROM LIKE VANZ-FROM,
TO LIKE VANZ-TO.
DATA: END OF MC_DESC.
*Tabelle für Umsetzung dynamische Selektionen
*flag = space -> umgesetzt
*flag = G -> Variante z.Z gesperrt
*flag = I -> Fehler beim Import
DATA: BEGIN OF CHANGED_VARIANTS OCCURS 10,
NAME LIKE RSVAR-VARIANT,
FLAG.
DATA: END OF CHANGED_VARIANTS.
*Feld für Ikonen auf Dynpros.
DATA: IKON(8).
*Konstanten für Ikonen
CONSTANTS: POP_WARNING(8) VALUE '@1A@',
POP_ERROR(8) VALUE '@1B@',
POP_INFO(8) VALUE '@19@',
POP_COPY(8) VALUE '@14@',
c_icon_enter_more(15) value 'ICON_ENTER_MORE',
C_ICON_DISPLAY_MORE(17) VALUE 'ICON_DISPLAY_MORE'.
DATA: MORE_ICON LIKE RSSELINT-OPTI_PUSH.
*Konstanten für Variante ändern, Werte oder Attribute
CONSTANTS: C_VAL VALUE 'V'.
Interne Tabelle für Transport
DATA: BEGIN OF REP_VAR OCCURS 10,
MARKFIELD.
INCLUDE STRUCTURE $RKEY.
DATA: END OF REP_VAR.
DATA: REP_VAR_CURSOR LIKE SY-INDEX VALUE 0.
Tabelle für RS_SELOPT_INFO -> BBS
DATA: DEFAULTS LIKE RSPARAMSL OCCURS 10 WITH HEADER LINE.
Tabelle für Werteanzeige Tvarv.
DATA: TVARVTAB LIKE TVARV OCCURS 10 WITH HEADER LINE.
SUBTY-Equates
INCLUDE RSDBCSTY.
Textfeld für Dynpro 317.
DATA: TEXT(4).
Konstante für Namenskonvention Systemvariante
CONSTANTS: SYS_VNAME(4) VALUE 'SAP&'.
CONSTANTS: CUS_VNAME(4) VALUE 'CUS&'.
Flag für Systemvariante gewünscht.
DATA: C_SYSVAR.
data vari_mandt like sy-mandt.
data sysvar_mandt like sy-mandt value '000'.
Check für Systemvariante
DATA: SYSVAR_FLAG.
Flag für Entwicklungsklasse , Werte Y oder N (aus get_devcalss)
DATA: NON_LOCAL VALUE 'Y'.
DATA: TABIX LIKE SY-TABIX.
*Strutur für freie Abgrenzungen.
DATA: VARIDYN LIKE RSVARIDYN OCCURS 10 WITH HEADER LINE.
DATA: VDATDYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
DATA: VARIVDAT_DYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
DATA: BEGIN OF VARIVDAT_DYN_WORK OCCURS 10,
TABLENAME LIKE RSVARIDYN-TABLENAME,
FIELDNAME LIKE RSVARIDYN-FIELDNAME.
INCLUDE STRUCTURE RSINTRANGE.
DATA: END OF VARIVDAT_DYN_WORK.
CONSTANTS: NO_IMPORT VALUE SPACE.
Teilt IM/EXPORT_VARIANT_STATIC mit, welche übergebeneb Objekte
im/exportiert werden sollen.
DATA: BEGIN OF IMEX,
VARI,
DYNS,
END OF IMEX.
Tabelle für Selektionsbildnummern
DATA: DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
DATA: BEGIN OF CHOOSE_DYNNR OCCURS 10,
MARKFIELD.
INCLUDE STRUCTURE RSDYNNR.
DATA: END OF CHOOSE_DYNNR.
Sichern vom Selektionsbild, RSVAR_VARIANTT zurücksetzen
DATA: FLAG_FIRST. "#EC NEEDED
DATA: FLAG_PROTECTED. "#EC NEEDED
Daten für CALL SELECTION SCREEN Varianten
DATA: HIDE_FLAG.
DATA: LINE_NUMBER LIKE SY-TABIX.
DATA: VARISCREENS LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
data: variscreens_sav like rsdynnr occurs 10 with header line.
DATA: FLAG_1000.
DATA: DYNNR_TFILL LIKE SY-TFILL.
DATA: VARISCREENS_TFILL LIKE SY-TFILL.
DATA: DMORE_ICON(40).
DATA: BEGIN OF GLOBAL_OBJECTS OCCURS 10,
NAME LIKE RSSCR-NAME,
END OF GLOBAL_OBJECTS.
DATA: BEGIN OF DYN_TAB OCCURS 10,
DBFIELD LIKE RSSCR-DBFIELD,
END OF DYN_TAB.
CONSTANTS: C_P_COLUMN TYPE I VALUE 38,
C_I_COLUMN TYPE I VALUE 41,
C_N_COLUMN TYPE I VALUE 44,
C_S_COLUMN TYPE I VALUE 47,
C_W_COLUMN TYPE I VALUE 50,
C_M_COLUMN TYPE I VALUE 53,
C_O_COLUMN TYPE I VALUE 56,
MAX_WIDTH_ATTR TYPE I VALUE 77.
CONSTANTS: MAX_WIDTH_SELVAR TYPE I VALUE 57.
DATA: FLAG_NOIMPORT.
DATA: CURR_STATUS(4).
DATA: SCREEN_TITLES LIKE RSSCRITLE OCCURS 10 WITH HEADER LINE.
RANGES V_RANGE FOR VARID-VARIANT OCCURS 10.
DATA: FLAG_ALL_SCREENS.
CONSTANTS: C_LOW TYPE I VALUE 34,
C_HIGH TYPE I VALUE 58,
C_TO TYPE I VALUE 54,
C_OUTPUT_LENGTH TYPE I VALUE 26,
C_DISPLAY_LENGTH TYPE I VALUE 87,
C_DISPLAY_LENGTH_ATTR TYPE I VALUE 104,
C_DISPLAY_LENGTH_CAT TYPE I VALUE 118,
C_NO VALUE '0',
C_DYNNR LIKE SCREEN-NAME VALUE 'RSVAR-DYNNR',
C_ICON_MORE LIKE SCREEN-NAME VALUE 'DMORE_ICON',
C_SCREEN_1000 LIKE SY-DYNNR VALUE '1000'.
DATA: BELONGING_DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
DATA: PREFIX(20).
DATA: D_320_TEXT(35).
DATA: OLD_VARI LIKE RSVAR-VARIANT.
DATA: L_SUBMODE LIKE GLOB_SUBMODE.
DATA: ICON_1(40), ICON_2(40), ICON_3(40).
DATA: FLAG_ICON_1, FLAG_ICON_2, FLAG_ICON_3.
DATA: FLAG_CALLED_FROM_SELSCREEN.
DATA: VARIVAR_TEXT LIKE RSVAVA-VTEXT.
DATA: VARIVAR_KIND LIKE RSSCR-KIND.
DATA: LIST_LINE LIKE SY-LILLI.
DATA: MOD_LINE LIKE SY-LILLI.
DATA: G_SP TYPE SYLDB_SP.
DATA: G_RANGE TYPE RSDS_RANGE,
G_FRANGE TYPE RSDS_FRANGE,
G_RSDSSELOPT LIKE RSDSSELOPT.
DATA: G_ILL_CHAR.
DATA: FLAG_CHANGE_VARIANT.
DATA: EXIT_FLAG.
DATA: COMP_NODI_NAME LIKE RSSCR-NAME.
DATA: EXCLUDE LIKE RSEXFCODE OCCURS 0 WITH HEADER LINE.
hidefelder für Attributebild.
DATA: HIDE(10).
Feldbeschreibung aufgeklappt oder zugeklappt
DATA: STATE(4).
DATA: NO_DISPLAY_VISIBLE TYPE BOOLEAN VALUE 'F'.
DATA: READ_LINE LIKE SY-INDEX.
CONSTANTS: C_COLLAPSE(4) VALUE 'COLL',
C_EXPAND(4) VALUE 'EXPA',
C_TRUE VALUE 'T',
C_FALSE VALUE 'F'.
CONSTANTS: CAT_LINE_SIZE TYPE I VALUE '127'.
DATA: G_EXPOREP TYPE SY-REPID.
DATA: SUBSCREENPROG LIKE SY-REPID,
SUBSCREENDYNNR LIKE SY-DYNNR.
data: g_subc like trdir-subc.
data: status_for_subscreens.
Data for subscreen processing
data: begin of g_subscreen,
ucomm type syucomm,
submode(2),
total type i,
current type i,
exclude type rsexfcode occurs 0,
rkey type rsvarkey,
variscreens type rsdynnr occurs 0,
sscr type rsscr occurs 0,
end of g_subscreen.
INCLUDE SVARSELO.
Daten für ALV-GRID
data:
GT_TOOLBAR_EXCLUDING TYPE UI_FUNCTIONS,
GRID1 TYPE REF TO CL_GUI_ALV_GRID,
GRID2 TYPE REF TO CL_GUI_ALV_GRID,
alv_fieldcat TYPE LVC_T_FCAT WITH HEADER LINE,
EVENT_RECEIVER1 TYPE REF TO CL_EVENT_RECEIVEr1,
selected value 'X',
alv_layout TYPE LVC_S_LAYO,
alv_STABLE type LVC_S_STBL,
ROW_TABLE TYPE LVC_T_ROW WITH HEADER LINE,
alv_container_1 type REF TO CL_GUI_CUSTOM_CONTAINER,
alv_container_2 type REF TO CL_GUI_CUSTOM_CONTAINER.
constants: c_search value 'S'. -
PLEASE HELP ITS URGENT (PROBLEM IN INCLUDE)
IF I EXECUTE IN 4.6C ITS NOT GIVIN NY ERROR BUT THE SAME CODE IN 6.0 IS GIVING ERROR
IF NOT ( ( text_flag = 'X' AND tcode_level > 0 ) OR
( text_flag_level0 = 'X' AND
tcode_level = 0 AND ) ).
ERROR IS:
Incorrect logical expression: "AND" or "OR" must be preceded by an
expression (e.g. a comparison).
PLZ HELP ME AS IT IS VERY URGENT.
THANX IN ADVANCEHi anit,
1. minor mistake
2. remove this AND in bold.
IF NOT ( ( text_flag = 'X' AND tcode_level > 0 ) OR
( text_flag_level0 = 'X' AND
tcode_level = 0 <b>AND</b> ) ).
regards,
amit m. -
Hi,
I have attached my simulation loop.In the model attached i hav eone main pump with constant rpm which drives the 5 smaller pumps and fills the tank at the same time.As soon as the tanks reach their 90% level,the valves of the five pumps close(SP1,SP2,SP3,Sp4,Sp5).After that the recirculating pumps opens for 5 secs of the first tank.As soon as the recirculation finishes,the drain valve(SV1) for tank 1 open and the volume goes to interim storage.This happens for all the remaining tanks.
My simulation works the first time,but when the second time the loop starts,it skips the recirculation pump even though i gave a time delay for 5 secs.Plz help ..I have attached the simulation.
Thanks,
Rami
Attachments:
Spatial Logic_2_Final.vi 223 KBRami,
I suspect that you have a race condition. The widespread use of local variables frequently leads to race conditions. Your subVI (Spatial Logic Sub_2.vi was not included) so I cannot run the VI. You have no way of knowing whether the subVI or the inner case structure will execute first, because there is no data dependency between them.
I think a shift register or a few and some dataflow thinking would allow you to eliminate the inner case structure, the local variables, and, probably, most of your problems.
Some of the SPi are indicators and some are controls. How are they used?
The last case of the inner loop retursn to Case 1. Would case 0 be better?
As for the second time through issue, it may be related to the Elapsed time function Auto Reset. From the help file: "Resets the start time to the value in Present (s) when the Express VI reaches the Time Target (s)." If more than 5 seconds elapses between the first time you use this and the next, it will exit immediately on the subsequent calls.
Lynn
Maybe you are looking for
-
Remote Desktop Connection Not Going To Full Screen on EIZO MX340 Monitor 1536x2048 Resolution
I am using a EIZO Rx-340 as a secondary monitor. So far I am only able to get into full screen by using Ctrl-Alt-Fn-Pause but it does not change the resolution. It does not help to move the slider to large. There is a black space at the top and botto
-
A question for the knowledgable processor crowd
Ok - so as I write this from my 20" imac core duo from work (which, I love some of the time but hate others - especially with Entourage) - I'm contemplating my home system and if I want to switch to the iMac 24". My main question is: at home I have d
-
Target=_blank is not working in XML code
Hi Experts, I have very basic question I am passing an extenal URL in XML code but target=_blank is getting ignored. <a href="http://localhost:8080/VikasSSO/Test.jsp" target="_blank">Click vikas</a> I done some research on it and found we can achieve
-
Spotlight doesn't open images in preview but in iphoto
After I upgraded to Snow Leopard, whenever I search for a photo file in spotlight that it is inside the iphoto library, and I select it from the spotlight menu search results, it will open iphoto instead of preview. How can I make spotlight to open a
-
URGENT SUGGESTIONS- j2ee WEB FRAMEWORK
Hi All, As a part of our part time project me and my friends are exploring on development of a j2ee web framework. For this we are exploring the behaviours of some famous frameworks such as STRUTS. We are looking at the normal Controller model, The a