Problem with field LOEKZ
Hi all,
I have a select statements:
SELECT SINGLE * FROM mapl WHERE matnr EQ marc-matnr AND
loekz NE 'X' and
werks EQ marc-werks AND
plnty EQ 'N'.
SELECT SINGLE * FROM plko WHERE plnty EQ mapl-plnty AND
plnnr EQ mapl-plnnr AND
loekz NE 'X' and
plnal EQ mapl-plnal AND
zaehl EQ mapl-zaehl.
and ehen i run with debugger the field LOEKZ ne 'X' in where condition is disappearing.
and that loekz is a nonkeyfield and remaining are key fields.
Could you please help me regarding this issue
regards
Chandu
Hi Sai,
What Exactly do you mean by disappearing?
Are you getting sy-subrc = 0(Success) or not?
Can you be a bit more clear?
Regards,
Ravi
Similar Messages
-
Very urgent : Problem with field attributes in Datasource
Hi
I am getting a problem with field attributes in the datasource.
The issue came up after i modified the extract structure-i modified one field and
added one field to the structure.Now those two fields are not visible in BW.
When i checked with transaction rsa2, i could find that for those two fields , the
field attribute is <b>'A'</b> which is <b>'Field in OLTP and BW Hidden by SAP'</b>.
I tried to modify the field attribute to make it visible.Now the issue is that it is not getting reflected after transport in the Q system.What can be the issue.In the Q system its still the old value 'A' ,which makes the fields invisible.
Please let me know what can be the issue.
Regards
LeonHi,
did you change this attribute via RSA2?
you need to change your datasource via postprocessing (RSA6); then transport your DS to your Q source system.
Replicate your datasources in your BW.
Finally modifiy your Transfer Structure by editing your TRules ( tab Datasource/Tran structure), move your new fields from the right frame to the left frame)
Maintain your TRules
Activate
hope this helps...
Olivier. -
Problem with field GL Account is that it shows concatenated Chart of Accoun
Hello . Please help me. We have sap BI olap universe . problem with field GL Account is that it shows concatenated Chart of Accounts. But user want to trim the chart of account and show only account in list of values in webi report.
So What code I can put in Universe to remove this " 9000/" WHICH IS Chart of acct from GL Account
example List of values shows
9000/99030
9000/99070
I want to show as below
99030
99070
I tried replace function in universe it does not work. Pls help.
Thanks
soniyaHi,
You can do it in Web Intelligence using the function Right().
Depending on the SAP BW version you have it is possible to build such calculated expression in universe on uniquename or name:
<EXPRESSION>RIGHT[0CALMONTH].currentmember.uniquename,5)</EXPRESSION>
OR
<EXPRESSION>RIGHT([0CALMONTH].currentmember.name,5)</EXPRESSION>
You have to replace 0CALMONTH by the unique definition of GL Accounts and you also need to use the object referencing GL Accounts in your query in addtion to the calculated expression.
Regatds
Didier -
Hello All,
I am having a strange problem with field label? I have created a table with three fields one is MANDT and and the remaining fields as PATID and PATNA.
I am maintaining the field label for these fields, but still i am not getting the names of the fields while i am calling the structure in my alv tree.
I d'nt know what is the problem here?
can any one tell me how can i solve this issue?
Regards,
LisaHi lisa,
This is not the problem with Data Dictionary,
While declaring the fieldcatalogue for thr GRID.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'ZTABLE'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
CHANGING
ct_fieldcat = gt_fieldcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
If gt_fieldcat-fieldname = 'PATID'.
gs_fieldcat-ref_field = 'ZTABLE'.
modify gt_fieldcat from gs_fieldcat.
clear gs_fieldcat.
endif.
Because while calling the FM it is populatinh the fieldname
so you need to modify the fieldcatalogue with fieldname then it will pick the field labels from the Dictionary.
Hope this will solve your problem.
Regards, -
Problem with field KONWA-Rate Unit(Currency or Percentage) of table KONP
Hi Gurus,
I m facing problem with field 'KONWA -Rate Unit (Currency or Percentage)' of table KONP. This field is showing Currency and '%' both in table KONP. For some materials its showing currency value and for some its showing '%'. Due to which its creating load problems. My question is how this '%' is coming (means is there any calculation behind that or something else) in table KONP and how can I identify this.
I am sure u will have the answer for this question so Thanks in advance.
Message was edited by:
Amit Rajput
Message was edited by:
Amit Rajput
nullHi,
take the following example: you sell liquor to customers; in your country, when you sell liquor your company is entitled to pay customs and excise fees to governamental authorities.
These excises and duties are a percentage of the retail price. You'll then create such a condition record with this rate so that you calculation schema will post the correct value during the processing of billing documents...
hope this shed light
Olivier.
Message was edited by:
Olivier Cora -
Problem with field catalog after upgrade from 4.0
Hi experts,
We have recently upgraded from CRM 4.0 to 5.2.
I am now experiencing a problem with generation of a transport request for field catalog in transaction CTFC_CRM. I can generate the field catalog without errors.
The problem is that when I want to create the transport request in our dev system a pop up appears saying "Create object directory entry". Here I have to enter a package for some of the fields in the field catalog. The special thing is that the fields are not custom fields but rather SAP standard fields (using standard data elements). For example field BZIRK.
These are SAP standard fields but they are not standard in the field catalog. In 4.0 I did not get this prompt but this has apparently changed from 5.0.
What do I do? I guess if I need to create the objects I will need to use an SAP standard package. But how do I know what package to use?
Any comments or suggestions will be highly appreciated.
Best regards,
AndersHi,
If you did just install database, then you use Embed PL/SQL Gateway.
See this guide
Upgrading Oracle Application Express in Oracle Database Express Edition
I think you have not run step 5 script apxldimg.sql
Regards,
Jari -
Problem with field symbols in ecc 6.0
i have the following code written in 4.6 version now i am executing the old report in 6.0 but i am facing with some unicode error.
FIELD-SYMBOLS:
<line_of_bs_table> LIKE tbl1024,
READ TABLE bs_table INDEX row_bst ASSIGNING <line_of_bs_table> .
buffer_bsbuffer_ptr(aux) = <line_of_bs_table> >col_bst.
tb1024 is standard sap structure for storing buffer contents
i have the following error in ecc 6.0
structure type '<line_of_bs_table> >+col_bst' does not start with a charecter type field in unicode programs in such cases
offset/ length declarations are not allowed.
can any one tell how can a field symbol structure is changed to charecter type.Hi elinuk,
you have already posted this thread in the ABAP general forum under problem in field symbols in ecc6.0 and I think that this forum is more related to this issue than the DMS forum. So please close this thread and investigate this issue further in the ABAP general forum.
Best regards,
Christoph -
Problem with field type STRING in table
Hi Experts,
I am new to ABAP. I have created a new transparent table which hold error info. One of the field has to store data of size about 1500 char.
Since CHAR type is not acceptable for this field So I gave STRING type. Now when I try to create a TABLE parameter in a RFC enabled functional module using "LIKE YERROR" Then I get a error:
"YERROR must be a flat structure. You cannot use internal tables, strings, references, or structure as component"
Why is this error? How to resolve it? Is it because I have used a field of type STRING in the table? If this is the problem then what other type can I use?
What are other know problems with using STRING type?
Please help!
Thanks
GopalHi,
Try to declare it as type LCHR , it can hold up to 32000 chars.
Regards
vijay -
Problem with field-symbols in UNICODE conversion
Hi all.
I'm in a UNICODE conversion project and I have a problem with a program that uses field-symbols.
DATA: BEGIN OF wa_data_aux,
mandt LIKE zindices-mandt,
kschl LIKE zindices-kschl,
datab LIKE zindices-datab,
valor LIKE zindices-valor,
descripcion LIKE zindices-descripcion,
ernam LIKE zindices-ernam,
erdat LIKE zindices-erdat,
waers LIKE zindices-waers,
END OF wa_data_aux.
FIELD-SYMBOLS:
<fs2> TYPE ANY,
<fs3> LIKE wa_data_aux.
<fs2> = <fs3>.
This assignment results in a DUMP.
Can anybody help me to solve this problem?
Thanks!!TYPES: BEGIN OF wa_data_aux,
mandt TYPE mandt,
kschl TYPE kschl,
erdat TYPE d,
waers TYPE waers,
END OF wa_data_aux.
DATA: w_aux TYPE wa_data_aux.
FIELD-SYMBOLS:
<fs2> TYPE ANY,
<fs3> TYPE wa_data_aux.
w_aux-mandt = '300'.
ASSIGN w_aux TO <fs3>.
ASSIGN <fs3> TO <fs2>.
WRITE : / <fs2>.
GBY. -
Problem with field-length in sql-loader
Hello,
(sorry I see it's the wrong forum -> SQL-Developer, I searched for SQL-Loader, is there a possibility to change the forum ?)
I can't find an answer for my question at google, so I hope there is someone in this forum who can help me.
I have a dat-File that contains 12 500 000 records and want to laod it via sql-loader. The first field contains the ID and there were numbers from 1 to 12 500 000 stored.
When I run the sql-loader, the ID run up to 9 999 999 and then, for the last 2 500 001 records, ist starts at 1 again.
I noticed a few things :
1. Numbers < 10 000 000 don't make Problems
2. Numbers >= 10 000 000 make Problems, the first digit ( in this example "1") is cut, so the number "10 000 001" ist stored as "1". It comes to double entries (IDs 1 to 2 500 000).
3. The same field-definition, I have for the third field of the record -> there is no Problem. THERE I can store any number.
4. I tried to store a number > 100 000 000 -> the first digit was cut too, but ONLY the first digit.
5. I'm able to store any number manually in the Database.
So, I have a problem with the first field. If the number is greater then 10 000 000, the first Number is cut. It doesn't make any differance, if the number is 10 000 000 or 999 999 999, just the first digit, in the first field, is cut.
Any idea ??????????
Here some infos :
Database :
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
SQL-PLUS :
SQL*Plus: Release 10.2.0.4.0 - Production
Script sqlldr :
sqlplus ${schema}/$2 <<EOF >>LOAD.LOG
set timing on
set echo on
set heading off
set heading on
!sqlldr userid=${schema}/$2 control=surface_geometry.ctl log=surface_geometry.log
exit
EOF
ctl-File :
LOAD DATA
INFILE imp_surface_geometry_test2
TRUNCATE
CONTINUEIF NEXT(1:1) = '#'
INTO TABLE SURFACE_GEOMETRY
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS (
ID INTEGER EXTERNAL ,
GMLID,
GMLID_CODESPACE,
PARENT_ID NULLIF PARENT_ID = BLANKS,
ROOT_ID NULLIF ROOT_ID = BLANKS,
IS_SOLID,
IS_COMPOSITE,
IS_TRIANGULATED,
IS_XLINK,
IS_REVERSE,
GEB_ID,
GEOMETRY COLUMN OBJECT
SDO_GTYPE INTEGER EXTERNAL,
SDO_SRID CONSTANT 31468,
SDO_ELEM_INFO VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL),
SDO_ORDINATES VARRAY TERMINATED BY '|/'
(X FLOAT EXTERNAL)
Table-Definition (sql-File) :
CREATE TABLE SURFACE_GEOMETRY (
ID NUMBER,
GMLID VARCHAR2(256),
GMLID_CODESPACE VARCHAR2(1000),
PARENT_ID NUMBER,
ROOT_ID NUMBER,
IS_SOLID NUMBER(1,0),
IS_COMPOSITE NUMBER(1,0),
IS_TRIANGULATED NUMBER(1,0),
IS_XLINK NUMBER(1,0),
IS_REVERSE NUMBER(1,0),
GEB_ID CHAR(7),
GEOMETRY MDSYS.SDO_GEOMETRY,
CONSTRAINT c_unique_id UNIQUE (ID))
storage (initial 1M next 1M maxextents 1024) ;
Some Entries in the dat-File :
12556067| |XXX|12556066|12556066|0|0|0|0|0| |
#3003|1|1003|1|/
#4479400.000000|5333360.000000| 526.870000|4479380.000000|5333360.000000| 526.720000|4479400.000000|5333340.000000| 526.980000|4479400.000000|5333360.000000| 526.870000|/
12556068| |XXX| |12556068|0|0|1|0|0| |
#||/
#|/
12556069| |XXX|12556068|12556068|0|0|0|0|0| |
#3003|1|1003|1|/
#4479380.000000|5333380.000000| 526.600000|4479380.000000|5333360.000000| 526.720000|4479400.000000|5333360.000000| 526.870000|4479380.000000|5333380.000000| 526.600000|/
log-File : (100 records for the test)
SQL*Loader: Release 10.2.0.4.0 - Production on Fr Mai 28 15:16:43 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Kontrolldatei: surface_geometry.ctl
Datendatei: imp_surface_geometry_test.dat
Fehlerdatei: imp_surface_geometry_test.bad
Datei für zurückgewiesene Sätze: nichts spezifiziert
(alle Discards zulassen)
Zu ladende Anzahl: ALL
Zu überspringende Anzahl: 0
Zulässige Fehler: 50
Bind-Array: 64 Zeilen, maximal 256000 Bytes
Fortsetzung: 1:1 = 0X23(Zeichen '#'), im nächsten physischen Satz
Benutzer Pfad: Konventionell
Tabelle SURFACE_GEOMETRY, geladen von jedem logischen Satz.
Insert-Option in Kraft für diese Tabelle: TRUNCATE
Option TRAILING NULLCOLS ist wirksam
Spaltenname Position Läng Term Eing Datentyp
ID FIRST * | CHARACTER
GMLID NEXT * | CHARACTER
GMLID_CODESPACE NEXT * | CHARACTER
PARENT_ID NEXT * | CHARACTER
NULL wenn PARENT_ID = BLANKS
ROOT_ID NEXT * | CHARACTER
NULL wenn ROOT_ID = BLANKS
IS_SOLID NEXT * | CHARACTER
IS_COMPOSITE NEXT * | CHARACTER
IS_TRIANGULATED NEXT * | CHARACTER
IS_XLINK NEXT * | CHARACTER
IS_REVERSE NEXT * | CHARACTER
GEB_ID NEXT * | CHARACTER
GEOMETRY DERIVED * COLUMN OBJECT
*** Felder in GEOMETRY
SDO_GTYPE NEXT * | CHARACTER
SDO_SRID CONSTANT
Wert ist '31468'
SDO_ELEM_INFO DERIVED * VARRAY
Abschlusszeichenfolge : '|/'
*** Felder in GEOMETRY.SDO_ELEM_INFO
X FIRST * | CHARACTER
*** Feldende in GEOMETRY.SDO_ELEM_INFO
SDO_ORDINATES DERIVED * VARRAY
Abschlusszeichenfolge : '|/'
*** Felder in GEOMETRY.SDO_ORDINATES
X FIRST * | CHARACTER
*** Feldende in GEOMETRY.SDO_ORDINATES
*** Feldende in GEOMETRY
Tabelle SURFACE_GEOMETRY:
100 Zeilen erfolgreich geladen.
0 Zeilen aufgrund von Datenfehlern nicht geladen.
0 Zeilen nicht geladen, da alle WHEN-Klauseln fehlerhaft waren.
0 Zeilen nicht geladen, da alle Felder NULL waren.
Zugewiesener Bereich für Bind-Array: 232576 Bytes (64 Zeilen)
Byte in Lese-Puffer: 1048576
Gesamtzahl der übersprungenen logischen Datensätze: 0
Gesamtzahl der gelesenen logischen Datensätze: 100
Gesamtzahl der abgelehnten logischen Datensätze: 0
Gesamtzahl der zurückgewiesenen logischen Datensätze: 0
Lauf begonnen am Fr Mai 28 15:16:43 2010
Lauf beendet am Fr Mai 28 15:16:43 2010
Abgelaufene Zeit: 00:00:00.19
CPU-Zeit: 00:00:00.01
Edited by: user9338988 on 28.05.2010 06:21sorry, wrong forum. I opened the thread in forum "Export/Import/SQL-Loader & External Tables"
-
Problem with field EIPO-SEGAL in Foreing trade
Hi all,
We have a problem with a field of foreign trade. The field is the EIPO-SEGAL. We customizing (path: Sales and Distribution -> Foreign Trade / Customs -> Periodic Declarations -> Control Data -> Inclusion and Exclusion Indicators -> Assign Item Categories for SD to Sales Orders / Assign to Item Categories for Deliveries SD) for a standard item category (TAX = Non-stock item) the exclusion indicator (01 = Exclusion indicator INTRASTAT). The material is a service provided to a client community, so it is not necessary to consider the bill in the Intrastat declaration (legal services do not have to testify).
We have also cleared the GRWR condition for the particular sector of the material (50 = Services)
The problem we detected is that this field is not automatically determined by generating a delivery document. This causes that when the invoice is generated, with reference to delivery, can not create the accounting document automatically require data on foreign trade.
We have tried to locate some OSS note but without result for our problem.
We do not know if it is a problem of customizing or is it a program error.
Could anyone guide me on how to resolve this?
I hope I explained it so that it understands (my English is not very good)
Best Regards.
Marga LluvaHi all,
We have a problem with a field of foreign trade. The field is the EIPO-SEGAL. We customizing (path: Sales and Distribution -> Foreign Trade / Customs -> Periodic Declarations -> Control Data -> Inclusion and Exclusion Indicators -> Assign Item Categories for SD to Sales Orders / Assign to Item Categories for Deliveries SD) for a standard item category (TAX = Non-stock item) the exclusion indicator (01 = Exclusion indicator INTRASTAT). The material is a service provided to a client community, so it is not necessary to consider the bill in the Intrastat declaration (legal services do not have to testify).
We have also cleared the GRWR condition for the particular sector of the material (50 = Services)
The problem we detected is that this field is not automatically determined by generating a delivery document. This causes that when the invoice is generated, with reference to delivery, can not create the accounting document automatically require data on foreign trade.
We have tried to locate some OSS note but without result for our problem.
We do not know if it is a problem of customizing or is it a program error.
Could anyone guide me on how to resolve this?
I hope I explained it so that it understands (my English is not very good)
Best Regards.
Marga Lluva -
Hi!
I have a problem with a field-symbol like this:
DATA: gt_coep_ext TYPE kaep_t_coep_ext.
field-symbols <gt_data> type table.
ASSIGN gt_coep_ext TO <gt_pos_data>
This field symbol is used in the FM REUSE_ALV_GRID_DISPLAY as output table. I need add two fields in this <gt_data>. Is there any way to add new fields in the <gt_data> structure.
Thanks!!Create your one Fieldcat
Global data declaration ***
TYPE-POOLS: SLIS.
<types: ... . " user definded types>
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: G_REPID LIKE SY-REPID.
DATA: GT_OUTTAB TYPE <UD_STRUCT> OCCURS 0 WITH HEADER LINE.
<data: ... . " user specific data>
Initialization field catalog ***
INITIALIZATION.
G_REPID = SY-REPID.
PERFORM FIELDCAT_INIT USING GT_FIELDCAT[].
Data selection ***
START-OF-SELECTION.
PERFORM SELECT_DATA TABLES GT_OUTTAB.
Display list ***
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_REPID
IT_FIELDCAT = GT_FIELDCAT[]
TABLES
T_OUTTAB = GT_OUTTAB.
FORMS ***
FORM FIELDCAT_INIT USING RT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
DATA: POS TYPE I VALUE 1.
Initialize keyfield(s)
CLEAR LS_FIELDCAT.
LS_FIELDCAT-COL_POS = POS.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
LS_FIELDCAT-KEY = 'X'. " sets key field
APPEND LS_FIELDCAT TO RT_FIELDCAT.
Initialize normal field(s)
POS = POS + 1.
clear ls_fieldcat.
ls_fieldcat-col_pos = pos.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
APPEND LS_FIELDCAT TO RT_FIELDCAT.
Initialize hidden field(s)
POS = POS + 1.
clear ls_fieldcat.
ls_fieldcat-col_pos = pos.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
LS_FIELDCAT-NO_OUT = 'X'. " sets hidden field
APPEND LS_FIELDCAT TO RT_FIELDCAT.
ENDFORM. " fieldcat_init
FORM SELECT_DATA TABLES RT_OUTTAB LIKE GT_OUTTAB[].
<user specific data selection>
ENDFORM. " select_data -
Hi Experts,
i am facing a problem while running report Fixed Costs reporting for field Period when i run with default values which is 12 it will work But i run with period 13 it show error (invalid interval from value is grated than to value) while designing the report painter they have assumed a year will have 12 periods but in actual our client has 13 periods so this error happens Can any one help how we change selection-screen values in report painter.
Thi
if report is std. one then copy it to z one and comment validation ,
OR
if it is Z allredy then do comment validation there. -
Problems with fields of type NUMC
Hi,
I have the following problem in SAP XI -> SAP R/3 synchronous scenario via Abap Proxy.
The SAP Proxy returns a BAPIRET2 structure and the field NUMBER of this structure is a NUMC. The field NUMBER is not obligatory and doesnt have any value by default.
The problem occurs when the value of this field NUMBER is 000. In this case no tag for field NUMBER is generated in XML message and in SAP XI I dont see this value.
Can you help me with this issue?
Thanks
Regards
ElsaHi Elsa,
create a string field in your interface, regenerate your proxy and fill the new field with value of NUMBER.
Regards,
Udo -
Hi all,
I have problem in workflow. I have created a worklist record. when i try map it with a "Record Field", there are no records and fields at all. Can any one tell what is the reason for this?
Thank you,
Bye.Give you give some more details on your question.
Jayaprakash Tedla
Maybe you are looking for
-
Getting a error while creating a product
hi I am getting a error "please check the user set up" while creating and updating a product in iStore Administrator. System Admin user is able to create a product and also to update.Even assigned the all the roles and enrollments as such as for syst
-
I have noticed in commercials and in photos that they show the contacts name with a small photo beside them. This shows up in ads for the contact list - as well as the latest commercial where they show a call coming in. The screen then shows the wall
-
Can't send mail using webmail on Mac OS X Server 10.4
Could someone help me figure out why I can't send email via webmail on Mac Mac OS X Server 10.4. I tried in and out of my LAN but it will not work. I am pretty sure that it's no firewall issue because it won't even work inside the LAN. Another thing
-
Hi, I am working on oracle 10G. i've read that we can't use order by clause with a view query. but in 10G i am able to do this. please tell me its oracle 10g's new feature or i have a misconception ? thanks
-
Can itunes be installed on android tablets?
Is there a way to install on android devices?