Field is unknown. it is neither in one of specified tables nor defined by data statement
Hello,
I'm doing enhancement to filter the data for the input parameters. Also I've coded implicit enhancement for the selection parameters to be displayed on standard IE05 selection screen.
Defined a block as follows in standard program RIHEQUI20
selection selectio begin of block b1 with frame title text-099.
select-options:
cre_date for equi-zzcreate_date,
lp_pdate for equi-zzprint_date.
selection selectio end of block b1.
now to filter the data corresponding to the input in selection parameters i've explicit enhancement point in which added coded in where condition
as
zzcreate_date IN cre_date
AND zzprint_date IN lp_pdate
but error message showing the above heading
Solution for that....PLZ help!!
Hello,
below is code for pragram RIHEQUI20...
ENHANCEMENT-POINT RIEQUI20_G6 SPOTS ES_RIEQUI20 STATIC.
*$*$-Start: RIEQUI20_G6-------------------------------------------------------------------------$*$*
ENHANCEMENT 5 MGV_GENERATED_RIEQUI20. "active version
START-OF-SELECTION.
ENDENHANCEMENT.
*$*$-End: RIEQUI20_G6-------------------------------------------------------------------------$*$*
ENHANCEMENT-POINT RIEQUI20_G7 SPOTS ES_RIEQUI20.
*$*$-Start: RIEQUI20_G7-------------------------------------------------------------------------$*$*
ENHANCEMENT 6 MGV_GENERATED_RIEQUI20. "active version
LOOP AT mgv_matnr_selopt_tab.
CONCATENATE mgv_matnr_selopt_tab-name'[]' INTO
mgv_matnr_selopt_tab-name.
ASSIGN (mgv_matnr_selopt_tab-name) TO <mgv_matnr_selopt_conv>.
IF sy-subrc IS INITIAL.
CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL'
EXPORTING
SELOPT_NAME = mgv_matnr_selopt_tab-name
TABLES
RANGE = <mgv_matnr_selopt_conv>.
ENDIF.
ENDLOOP.
ENDENHANCEMENT.
ENHANCEMENT 1 ZPM_BARCODE_SCREEN_EHNANCMENT1. "active version
* SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
* PARAMETERS: pa type equi-zzcreate_date.
* SELECTION-SCREEN end of BLOCK b1.
ENDENHANCEMENT.
*$*$-End: RIEQUI20_G7-------------------------------------------------------------------------$*$*
INCLUDE miequi20.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Include RIEQUI20, End S
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 2 ZPM_BARCODE_SCREEN_EHNANCMENT1. "active version
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-099.
select-OPTIONS:
Cre_Date for equi-zzcreate_date,
lp_pdate for equi-zzprint_date,
lp_tdate for equi-zztag_date,
lp_sdate for equi-zzscan_date,
lp_count for equi-zzprint_no.
SELECTION-SCREEN end of BLOCK b1.
ENDENHANCEMENT.
*$*$-End: (1)---------------------------------------------------------------------------------$*$*
And for data to filter according to select-option , implemented an explicit enhancement in section.
code for that is in include miequi20
Similar Messages
-
Field "VAL6" is unknown. It is neither in one of the specified tables nor
Hello
In following report:
"REPORT ZRSETESTD.
data: val1 type t value '000000',
val2 type t value '240000',
val3 type d value '20000101',
val4 type d value '20080415',
va15(30) type c value '/CWM/STPPOD',
va16(30) type c value 'ZRHRMD_ABA'.
SUBMIT RSETESTD
WITH gs_creti BETWEEN val1 AND val2 SIGN 'I' "assuming CREATED_AT is select option in RSETESTD program
WITH gs_creda BETWEEN val3 AND val4 SIGN 'I' "assuming CREATED_ON is select option too
WITH gs_mesty BETWEEN val5 AND val6 SIGN 'I'."
I get error:
"Program ZRSETESTD
Field "VAL6" is unknown. It is neither in one of the specified tables
nor defined by a "DATA" statement . . . . . . . . . ."You have declared "va16" change it to VAL6.
-
Update a field in view, based on change in one of it's tables.
Hi,
I have created a Maintenance view based on three DB tables.
My requirement is if i change data in one the database tables the view should get automatically updated with the new data.
Could anyone please soleve my issue, points are definite.
Thanks and regards,
raghavendra goutham p.Hi,
any changes to the database field value will
automatically gets reflected in view .
please check it.
Regards
Amole -
I keep getting "An unknown error occurred (-50)" on one of my downloads, was wondering how to fix this?
Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
iTunes: Advanced iTunes Store troubleshooting -
HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g can not define a custom size paper.
HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g can not define a custom size paper. I would like to have a custom size to work with a card making program.
Can you help me out?
I have an HP Officejet Pro 8600 N911a
When I try to print to a custom print size (2.75" x 6" in my case), I get the same error everyone else is reporting: "Paper detected does not match paper size or type selected. Make sure the paper size or type is correct to continue the job."
I am currently trying to print using Microsoft Word for Mac 2011 version 14.4.5, but I have the same problem with printing from Adobe Reader 9.8.5 or Preview 8.0.
I am running OS X Yosemite 10.10.
My printer's firmware is "up to date" as of 28-Aug-2014.
This is what I did:
1. Open System Preferences from the Apple menu.
2. Click on the Printers & Scanners icon.
3. Click on the + sign under the list of printers to add a printer
4. Click on IP
5. Enter my IP address in the Address field (verified as "valid and complete host name or address")
6. Ignore Protocol field (default is Line Printer Daemon - LPD)
7. Ignore Queue field (default is blank for default queue)
8. Ignore Name field (default is IP address)
9. Ignore Location field (default is blank)
10. Under the Use dropdown menu, I select "Select Software"
11. HP Deskjet 9800 is not an option.
I searched for 9800, but there is no HP printer with that number in the options.
I tried selecting "HP DeskJet 980C - Gutenprint v5.2.3" to see if that would work, but I received the same error message as above. I tried selecting other random HP printers, but so far I've had no luck.
I've been googling about for a way to manually add a printer driver to this "Select Software" list, but I've found nothing (apparently, no one else wants to do this). I did not find a driver download for the HP DeskJet 9800 for OS X Yosemite 10.10 on the Drivers & Software section of the hp.com website.
Additional details on settings for Microsoft Word for Mac 2011 version 14.4.5:
Selected File > Page Setup from menu
Under the Paper Size drop down menu, I selected manage custom size.
- Click + to add a paper size
- Enter "2.75" in width and "6 in" height in the paper size fields.
- Enter "0 in" as the User Defined Non-Printable Area for top, left, right and bottom.
- Double-clicked Untiled in the custom size list and rename the size as Receipt
- Click OK to return to the Page Setup dialog box
Under Settings: Page Attributes:
- Format for "HP Officejet Pro 8600"
- Paper size: Receipt
- Orientation: "tall/portrait"
- Scale: 100%
- Click OK
Select Format > Document and set all page margins to 0.25"
Thank you. -
Can set the cursor in next line when user inputted one record?table control
For Dnypro Table control
I just know when data check error, we can set the cursor to the error field of current line.
Now user hope that after they inputted the data of one record, he enter the [ENTER], the cursor can be set to the next new line's first field.
I tried to use such as
[SET CURSOR FIELD 'WA_XXXX-XXXXX' LINES 5.].
But if no any error , the cursor will be automatically setted to the field which setted at Cursor position in Dnypro's attribution
Can it be realized?
Thanks.try to use same procedure as when you program page down:
DATA: ITAB_LINES LIKE SY-TABIX,
FIRST_LINE LIKE SY-TABIX,
J LIKE SY-TABIX.
GET CURSOR FIELD CURSOR_FIELD. "to see what Loop is selected
DESCRIBE TABLE IRE05 LINES ITAB_LINES.
RE05-LINES = ITAB_LINES.
WHEN 'P+'.
FIRST_LINE = RE05-TOP_LINE + LOOPLINE_IRE05.
-> FIRST_LINE = RE05-TOP_LINE + 1.
J = RE05-LINES - LOOPLINE_IRE05 + 1.
IF J LE 0.
J = 1.
ENDIF.
IF FIRST_LINE LE J.
RE05-TOP_LINE = FIRST_LINE.
ELSE.
RE05-TOP_LINE = J.
ENDIF.
Edited by: Andreas Mann on Feb 28, 2008 11:46 AM -
Integration of one or more tables into a single database alias name
Hi Experts,
Hi Experts,
I got some problem while working with the crystal reports in VB.NET. How to combine one or more table fields
with in the single database alias name?
--roselinePlease provide more info.
-
How to define the DATE fields in itab for uploading the data?
Hi Experts,
Am uploading the data from Excel sheet to Z table via my_itab.
So, there r 3 Date fields in Z table, which are defined as DATS(8).
So, pls. let me know that, How I hv to define the itab-date_one, itab-date_second, itab-date_three, weather CHAR(10) or sy-datum or concatenation??
thanqHi Sri, follow like this.
First Move that Excel Sheet Data to Internal Table Using Function Module ALSM_EXCEL_TO_INTERNAL_TABLE.
And you can insert that internal table data to Database Table Using INSERT Command.
First upload Data From Excel Sheet to ITAB with Required Structure. Once the Data Comes...
And Declare another Internal Table (ITAB1) Type Database Table name.
And Use Insert Database Table From ITAB1.
Check this Example.
TABLES:MARA.
DATA:BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARA-MATNR,
MBRSH LIKE MARA-MBRSH,
MTART LIKE MARA-MTART,
MEINS LIKE MARA-MEINS,
END OF ITAB.
DATA:ITAB1 LIKE MARA OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
ITAB-MATNR = '123ABCDA'. .
ITAB-MBRSH = 'C'.
ITAB-MTART = 'FERT' .
ITAB-MEINS = 'KG' .
APPEND ITAB.
ITAB-MATNR = '123ABCDB'. .
ITAB-MBRSH = 'C'.
ITAB-MTART = 'FERT' .
ITAB-MEINS = 'KG' .
APPEND ITAB.
LOOP AT ITAB.
MOVE-CORRESPONDING ITAB TO ITAB1.
APPEND ITAB1.
ENDLOOP.
LOOP AT ITAB1.
INSERT MARA FROM ITAB1.
MODIFY MARA .
ENDLOOP.
or,
By using type pools TRUXS our problem my be solve.
Take one internal table like your standard data base table and
one internal table for truxs like
DATA: it_raw TYPE truxs_t_text_data.
DATA: itab like mara occurs 0 with header line.
Use FM
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
Now looping that and updated to data base table.
hope this helps.
kindly reward if found helpful.
cheers,
Hema. -
One to many table insert in JDBC
hi all, I have an online form when it submit the value will get into three table, one child table is one to many relation to parent , like
parent table have( UserId int Not null, UniversityN varchar(10) Not null, ... PRIMARY KEY (UserId) PaymentId int Not null auto_increment , UserId int Not null, ) child Table( PaymentId int Not null auto_increment , UserId int Not null, UniversityN varchar(10) Not null, record1 varchar(50) Not null, record2 varchar(50) Not null, record13 varchar(50) Not null, PRIMARY KEY (PaymentId), FOREIGN Key(UserId) REFERENCES Parent(UserId) on Delete Cascade on update cascade)Type=InnoDB DEFAULT CHARSET=utf8; )
then I have
conn.setAutoCommit(false); calstat1 = (CallableStatement) conn.prepareCall( "{ call Insert_Parent(?,?,?,?,?,?,?,?,?,?,?,? )}"); calstat2 = (CallableStatement) conn.prepareCall( "{ call Insert_ChildRecords(?,?,?,?,?,?,?,?,?,?,?,? )}");
and the UniversityN , recored1, record2, record3 all come from the input form, how can i handle this one to many insert? for each submit the parent table always one row, and the child table is a lease one up to five rows the if the did have five the userId , and UniversityN is same, but the recore 1. record2... is different
thank youI think you have a problem with your database table definitions that you need to fix before coding java.
In the above, I dont think you need the first PaymentId (in the 'have' table). I also dont think your tables are normalized since I see 'UniversityN' in both the parent and child record. Also, you should rename your tables to something meaningfull rather than 'have' and 'table'. Also, rename the fields better. Ideally get your friendly neighborhood DBA to review your tables. Only when they are well defined should you start to work on java.
Here's an example:
parent table:
Customer(
id number, not null, primary key, must be unique, auto increment
userId number, not null, natural key, must be unique
universityN varchar(10), Not null
child Table:
Payment(
id number, not null, primary key, must be unique, auto increment
customer_id number, not null, foreign key to the customer table's id field
record1 varchar(50), not null,
record2 varchar(50), not null,
record3 varchar(50), not null,
Cascade on delete record when parent is deleted
dont cascase update record
)Note: in the above, record1,record2, record3 should probably be put in its own table, with a foreign key back to the payment table.
Note: each table in your database has its own id that is auto generated. Some have a natural key (like userID) that can be used to look up records independent of the auto generated key.
Note the customer_id (foreign key) has the name of table it refers to (customer) and the key its refering to in that table (id).
Note: when you insert a new customer, you need to get the newly generated id. Use the natural key to retreive the id in order to put it in the new payment table's customer_id field.
I suggest you dont cascade delete any child table. Do it programmatically so you can better learn the issues that come up as you insert, update, and delete various parent and child combinations. -
How to find table that store real data for field 'BETRG' ?
1) datasource 0HR_PY_1 include field 'BETRG' in R/3 source system; extract structure HRMS_BIW_PY1 for datasource 0HR_PY_1, however structure is not used for stroing data. Question: how can we find table which store real data for the field 'BETRG'?
2) If I want to add one type call department leader type which already defined in one enhanced HR table, to calculate the total amount using field 'BETRG' according to department leader type. Should I enhance datasource 0HR_PY_1 by adding department leader type or create new view based on enhanced HR table and another table that include 'BETRG' data, also create new datasource based on this view later on?
Thanks!Hi,
Check this for Payroll Data (Transaction Data) 0HR_PY_1
http://help.sap.com/saphelp_nw70/helpdata/EN/a5/94e8288eec11d4b2fb00010220c65f/frameset.htm
The extractor for payroll results reads data from payroll cluster PCL2, not from standard tables.
thanks,
JituK -
Hy!
How can I find if there's at least one entry into table ?
ThanksHi,
Ok..Check the example for the database table..
SELECT SINGLE * FROM MARA.
For internal table..
You can also use..
READ TABLE ITAB TRANSPORTING NO FIELDS INDEX 1.
IF SY-SUBRC = 0.
WRITE: / 'ONE RECORD FOUND'.
ELSE.
WRITE: / 'NO RECORD FOUND'.
ENDIF.
Thanks
Naren -
Report with two Command is empty if one of the two commands returns no data
Hi all,
I have a report with two Commands not linked together.
If ONLY one of the two Commands returns no data, the full report is empty (although the other Command returns data).
I'm using Crystal Report 2008 and the CRJ 12.2.205
Have an idea?Hi Ted,
how can I solve the problem, please? It is important.
If I can help yourself, the problem is appeared in many reports since I updated the library (the old library version 11.8.4.1094 works fine with all). I'm waiting for your answer, please.
Thank you very much. -
Hi all,
I'm trying to write a report with multiple one-to-many table links. The issue is I only want a single record from the linked tables. The main table is an item table and the linked tables are issue and receipt. I want to display information from the last issue record and the last receipt record along with the item information. Not sure how to restrict the joins to just a single record (also need to sort desc on dates in the linked tables). Does this require the use of a view? or a custom sp?
Thanks for taking your time to help.
KevinTo bring back a single record then you will probably need to use a View , command or SP.
However, in Crystal you can bring back multiple records and only display the record you want. The easiest way will be to group
Data on Date and then Item code.
Place the data you want to see in in Item group footer and suppress details and all other Group headers and footers.
To get receipt date just use a maximum summary of receipt date in item group footer
Ian -
Using one user account table across multiple databases but account used as a foreign key
I want to use one user account table from one database and use it across a couple other databases. The problem is that I want some tables to use the primary key from the user account table as a foreign key to access the data when the user logs in. Is this
the right way of going about it? Do I have to create a user account table in all my databases? What is the best practice to handle this problem? Thanks in advance.You can use Triggers or using replication.
more info:
Add Foreign Key relationship between two Databases
SQL Server Replication
Saeid Hasani [sqldevelop] -
I am getting only one record from table data
Hi Experts,
I am using interacive forms to bring the table data i used GET_STATIC_ATTRIBUTES_TABLE
method. initially the table is empty when i fill some records more than one it is giving me only one record.
where as i fill the table in wddoinit more than one record and try to retreived it, showing all the records more than one. waht is the reason.. if i fill manually why it is not bringing all the reocrds.
i have used the cardinatly as follows
1. parent node(no tables/structure used)
Dictionary structure empty not used
Cardinality 1..1
Selection 0..1
Initialization Lead Selection Checked
Singleton Not checked
Supply Function not used
2. table node(i used table type)
Dictionary structure SFLIGHT_LIGHT
Cardinality 1..n
Selection 0..n
Initialization Lead Selection Checked
Singleton Not checked
Supply Function not used
Pleae help me out...
Thanks,
Mahesh.Gattuhi,
Use the following code for making the rows editable for a table UI element.
DATA lo_nd_cn_try TYPE REF TO if_wd_context_node.
DATA lo_el_cn_try TYPE REF TO if_wd_context_element.
DATA ls_cn_try TYPE wd_this->element_cn_try.
DATA ls_cn_try1 TYPE wd_this->elements_cn_try.
navigate from <CONTEXT> to <CN_TRY> via lead selection
lo_nd_cn_try = wd_context->get_child_node( name = wd_this->wdctx_cn_try ).
do 5 times.
clear ls_cn_try.
append ls_cn_try to ls_cn_try1.
lo_nd_cn_try->bind_table( ls_cn_try1 ).
enddo.
-> cn_try is the node which is binded with the Table UI element.
What all this is called as initialization of table. This code will make 5 rows editable, If u want more rows editable then run the loop according to the requirement.
U can write this code in the WDDOINIT.
Thanks,
Pankaj Aggarwal.
Maybe you are looking for
-
How to select specific rows in rtf template for complex calculation
Hi, I want custom calculation in my rtf template and for this i need to select specific cell's value OR specific row's value. Any one please suggest how can I get this. Below is the example i have plotted using excel. My target is to get field 8 and
-
Migration of Work Items from one system to another
Dear Experts, We are migrating an application from one system to other and it involves BI, Webdynpro, BSP and workflow. This is mainly a portal application which involves BI as the backend. While migrating the application with the existing data we al
-
[Solved]Alsa funkiness (sound breaking)
(Note: I originally thought this was a steam issue, but turns out it's not only steam that can break my sound (see the update on the bottom)) I get an issue with Steam where I get a short (less than 1s) sound on repeat/loop (usually it's some part of
-
Finding the images used in my Forest Screensaver to use as a Desktop
I guess the question is fairly self explanatory from the subject. Is it possibe for someone to tell me the location of the images used in the Forest Screensaver that comes with OSX so that I can use the images a desktop images, because I like them. I
-
Hi all, I have a requirement to create a report the compares a current year date range to the previous year - same date range. Does anyone have a code on how this can be done using an exit. Any Ideas will be welcome. Thank, PN