Need to read all entris for field prtxt from table /sapsll/prt
hi
i need to read all entries from table /sapsll/prt field prtxt but only one is coming
pls see below seelct statement
if not gt_sagmeld[] is initial.
SELECT /sapsll/cuit~guid_cuit " PK
/sapsll/cuit~QUANT_FLT " to be displayed
/sapsll/cuit~QUAUM " to be displayed
/sapsll/cuit~RPTDT " to be displayed
/sapsll/cuit~guid_cuhd
/sapsll/cuit~guid_pr " needed for gt_prt inttab
/sapsll/corref~refno
/sapsll/corref~guid_pobj
INTO corresponding fields of table gt_sapsllcuit
FROM ( ( /sapsll/cuit
inner join /sapsll/cuhd on /sapsll/cuit~guid_cuhd = /sapsll/cuhd~guid_cuhd )
inner join /sapsll/corref on /sapsll/corref~guid_pobj = /sapsll/cuhd~guid_cuhd )
FOR all entries in gt_sagmeld
WHERE /sapsll/cuit~guid_cuit = gt_sagmeld-guid_pobj.
endif.
if not gt_sapsllcuit[] is initial.
select /sapsll/prt~prtxt
/sapsll/prt~guid_pr
into corresponding fields of table gt_prt
from /sapsll/prt
for all entries in gt_sapsllcuit
where /sapsll/prt~guid_pr = gt_sapsllcuit-guid_pr.
loop at gt_sagmeld into wa_sagmeld.
read table gt_sapsllcuit into wa_sapsllcuit
with key guid_cuit = wa_sagmeld-guid_pobj
binary search.
Read table gt_prcon into wa_prcon with key
guid_pr = wa_sapsllcuit-guid_pr.
if sy-subrc = 0.
*wa_sagmeld_outtab-guid_pr = wa_prt-guid_pr.
here i am facing problem as multiple entries from table /sapsll/prt is not being displayed only one.....but i have checked in table it is having two enteries
pls suggest
reagards
Nishant
Hi Nishant!
When you use 'for all entries' SAP (or database?) does a 'delete adjacent duplicates' on the result. This is necessary because of the special selection technique in this case.
You need to select enough columns from /sapsll/prt, so that your two entries will differ in the result.
Regards,
Christian
Similar Messages
-
Usage of 'Select for all entries' for dynamic internal tables..
Hi all,
I have a situation where I need to use select for all entries for a dynamic internal table.
select * from /BIC/AZHSD_O1500 into i_table for all entries in <b>Dynamic_table</b> where doc_number = <dynamic_table????????>
here iam not knowing how to match the <dynamic_table????????> doc_number ?
the dynamic_table contains the doc_number as one field.
here dynaimc_table is the internal table which is dynamic.
I have tried various options but couldnot find the solution.
Please resolve.
Sidhartha.data : i_dyn_where type char72 occurs 0.
field-symbols : <fs> type table.
assign itab[] to <fs>.
i_dyn_where = 'docno = <fs>-docno'.
append i_dyn_where.
select *
from vbak
into table t_vbak
for all entries in <fs>
where (I_dyn_where). "Populate this where condition dynamically too
Hope this will solve ur prob. -
Function Module or table to read all EQUI for one KUNNR
Hello,
i need to read all Equipments for one specific KUNNR (endcustomer).
Is there a function module which could be used?
Or what is a good select for this?
Thanks a lot.
Kind regards
ManfredHi,
EQBS table will be getting updated based on the Delivery document or while creating equipment for Material & Serial no combination.
How you are maintaining End Customer in your Equipment Master?
You can maintain in Partner Function or Sort Field or through automatic equipment creation.
Based on that, you have to find the logic.
Regards,
Maheswaran. -
To read all the database fields used in a Crystal report 10 file using Vb 6 Code
Hi
Iam in development of an Application in Visual basic which lists all the
database fields used in a particular report (crystal 10)
In simple i need to show all the checked fields in the database fields section in field explorer section of the crystal report file.
regards
venkateshGPlease re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly
-
In the Dreamweaver brim Bindings, the recordset and all of the fields of the table are not EXHIBITED. I don't know if an option of configuration adjustment exists in Dreamweaver that corrects the problem. It is Dreamweaver CS4 - Version 10.0 build 4117.
I have traced the problem to a corrupted profile. When I captured the images in question, I also used Color Cherckr to create a profile for processing. When I apply that profile to the adjustments I make, I can no longer "Edit In". If I use another profile, even one that I created using Color Checkr at a different point in time, I don't have the issue. Something seems to have corrupted the new profile. I will re-create the profile and see if the issue is resolved.
-
Hi All,
i created one enchancement to ME21n screen,
i added one screen at header
When i running the the transaction ME41 it shows the following error.
This function not defined
Message no. 06006
Diagnosis
There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
Procedure
Contact your system administrator.
Am i need to add this functionalty to any sap table.
plz guide me on this.Hi Krishna
Have you added any buttons in the custom screen if yes then you will have to maintain configuration data for Function code processing.
Please search on SCN for the same
Nabheet -
ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table and
I got the above error while trying to insert a record into the table SDO_GEOM_METADATA. However, when querying this table I did find any duplicate table_name, column_name pair that match with the error.
Here are the steps that I worked on:
1. Add a geometry column into an existing table.
ALTER TABLE GEO_MAP ADD (ORG_GEOM mdsys.sdo_geometry);
2. Register the new column into mdsys
insert into USER_SDO_GEOM_METADATA
values ('GEO_MAP','ORG_GEOM',
mdsys.sdo_dim_array(
mdsys.sdo_dim_element('LONG',-180,180,0.00005),
mdsys.sdo_dim_element('LAT',-90,90,0.00005)
8307)
I got the error ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table even there was no such record in there.
3. I inserted values in the column ORG_GEOM fine.
4. However, when I tried to create the index for this column I got the error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read
Please help.
Thanks.SQL> select * from mdsys.sdo_geom_metadata_table;
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
QW_USER1 GEO_REF
LOC_GEOM
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('LONG', -180, 180, .00005), SDO_DIM_ELEMENT('LAT',
-90, 90, .00005))
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
8307
MDSYS SDO_CMT_CBK_RTREE_TAB
GEOM
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .000000005), SDO_DIM_ELEMENT('Y',
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
-90, 90, .000000005))
The situation is we have 2 tables (GEO_MAP, and GEO_REF) that have spatial columns. Everything worked fine until when one of the queries that searched through the table GEO_MAP ran so slow, we decided to rebuild the related spatial index by dropping and recreating it. However, after I dropped it I could not recreated. Keep getting the error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read
Any help is very much appreciated. -
Read Combination segments for material account from item level
Dear Value Consultant,
Read Combination segments for material account from item level
"For any inventory transactions"
Is there is away to read the material account from item level , to affect the real combination segments not general combinations segments from item master or organization
Business Impacts :
All inventory transaction for all item will affect the same combination segments for material accounts
After I transfer to GL, This not helps me to differentiate the balance for material value is related to any item category
Also for Budget Wise , I want to map the budget on combination level for materials accounts , and this not actualize without affect the real combination for material accounts in subledger ,
ThanksI have not seen any client asking for this, but you can consider Costing Hooks to create your own accounting engine for inventory transactions. Hope you are taalking about standard costing. In such case, costing hooks are available in Oracle for you to write your own accounting.
Even better in R12, you can do this with setup in SLA.
Thanks
Nagamohan -
Create search helps for fields of custom tables
Hi,
Could any one please provide me the step by step process to create search helps for fields in custom tables?
Thanks in advance,
Nobin.Hello Nobin
There is basically no difference between a search help for standard vs. customer tables.
An important choise is the selection method for your search help:
Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
(1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
(2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
Regards
Uwe -
MB01 is giving error:No entry for partner function '' in table TPAR
MB01 is giving below error when i am trying to trigger ALE idocs using output type 'ZWE2'
Error:'No entry for partner function '' in table TPAR'.
I am unable to find what could be the above error and how to rectify.
Any help in this regard would be appreciated.
Thanks!There is a partner function code for which there is no configuration data in TPAR. What is the partner function? Can you find that and verify that it is correct, or correct it to a value that is configured in TPAR?
-
While deleting project from CJ20N entries are not deleted from table PRPS
Hi,
I am deleting project from CJ20N then from PROJ table entries are getting deleted but WBS element entries are not deleted from table PRPS.
Any deletion Flag should also be checked?
Thanks in advance!
Regards,
JyotiHello,
Thanks for reply !
My problem is I am deleting project and WBS Elements from CJ20N but WBS element entries are not deleted from PRPS table.
Why they are appearing in PRPS table and how it can be deleted?
Thanks ! -
I NEED select ..... for all entries for this logic
From table RBDRSEG, we need to pick up the field RBDRSEG-MATNR where RBDRSEG- RBLNR= RBKP-BELNR. If the program does not find any data then it can pick up the material id field from EKPO-MATNR for all the invoices picked up during the processing.
Hi,
Lets say that Invoices are in Int table ITAB.
IF NOT ITAB[] IS INITIAL.
SELECT MATNR FROM RBDRSEG INTO V_MATNR
for all entries in itab
where RBLNR= ITAB-BELNR.
IF SY-SUBRC <> 0.
SELECT MATNR FROM RSEG INTO V_MATNR
for all entries in ITAB
where BELNR= ITAB-BELNR.
ENDIF.
ENDIF.
Use RSEG instead of EKPO because EKPO don't have BELNR(Invoice) field.
Regards,
Anji
Message was edited by:
Anji Reddy Vangala
Message was edited by:
Anji Reddy Vangala -
Select fom table for all entries where field starts with value
Hello
I want to write a select like this
select * from bsis
into lt_bsis
for all entries in lt_itab
where xblnr like lt_itab-belnr%
I want to select all the entries from bsis where the field xblnr starts with the values found in lt_itab-belnr.
for example
ls_itab-belnr = 5100000028
bsis-xblnr = 510000002810001
510000002810002
510000002810003
520000002810001
and i want to select only the entries that start with 5100000028 in this case
Can anybody help?
ThanksHi,
I hope below example code will help you to fix your issue,
REPORT ytest.
TYPES : BEGIN OF ty_typ1,
val TYPE i,
END OF ty_typ1.
TYPES : BEGIN OF ty_typ2,
val1 TYPE hrobjid,
val2 TYPE hrobjid,
END OF ty_typ2.
DATA : int_typ1 TYPE TABLE OF ty_typ1,
int_typ2 TYPE TABLE OF ty_typ2,
wa_typ1 TYPE ty_typ1,
wa_typ2 TYPE ty_typ2,
int_1001 TYPE TABLE OF hrp1001,
wa_1001 TYPE hrp1001.
REFRESH : int_typ1, int_typ2, int_1001.
CLEAR : wa_typ1, wa_typ2, wa_1001.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500002.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500003.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
SORT int_typ1 ASCENDING BY val.
DELETE ADJACENT DUPLICATES FROM int_typ1 COMPARING val.
LOOP AT int_typ1 INTO wa_typ1.
wa_typ2-val1 = ( wa_typ1-val * 100 ) + 1.
wa_typ2-val2 = wa_typ2-val1 + 98.
APPEND wa_typ2 TO int_typ2.
CLEAR : wa_typ1, wa_typ2.
ENDLOOP.
SELECT * FROM hrp1001 INTO TABLE int_1001
FOR ALL ENTRIES IN int_typ2 WHERE
plvar EQ '01' AND
otype EQ 'S' AND
sclas EQ 'O' AND
begda LE sy-datum AND
endda GE sy-datum AND
objid GE int_typ2-val1 AND
objid LE int_typ2-val2.
LOOP AT int_1001 INTO wa_1001.
WRITE : / wa_1001-objid.
ENDLOOP.
Thanks & Regards,
Harish Kumar N -
Performance Problems with "For all Entries" and a big internal table
We have big Performance Problems with following Statement:
SELECT * FROM zeedmt_zmon INTO TABLE gt_zmon_help
FOR ALL ENTRIES IN gt_zmon_help
WHERE
status = 'IAI200' AND
logdat IN gs_dat AND
ztrack = gt_zmon_help-ztrack.
In the internal table gt_zmon_help are over 1000000 entries.
Anyone an Idea how to improve the Performance?
Thank you!>
Matthias Weisensel wrote:
> We have big Performance Problems with following Statement:
>
>
SELECT * FROM zeedmt_zmon INTO TABLE gt_zmon_help
> FOR ALL ENTRIES IN gt_zmon_help
> WHERE
> status = 'IAI200' AND
> logdat IN gs_dat AND
> ztrack = gt_zmon_help-ztrack.
>
> In the internal table gt_zmon_help are over 1000000 entries.
> Anyone an Idea how to improve the Performance?
>
> Thank you!
You can't expect miracles. With over a million entries in your itab any select is going to take a bit of time. Do you really need all these records in the itab? How many records is the select bringing back? I'm assuming that you have got and are using indexes on your ZEEDMT_ZMON table.
In this situation, I'd first of all try to think of another way of running the query and restricting the amount of data, but if this were not possible I'd just run it in the background and accept that it is going to take a long time. -
Function module needed to read all the BOM statuses
Dear Friends,
In a report we are using CS_BOM_EXPL_MAT_V2 function module to get the dispaly the BOMs. But it is displaying only the BOMs which are in Active stauts e.g 1 & 3.
My requirement is needs to read both active and inactive BOMs. Inactive BOM status is 2.
suggest me if there is any another FM or any another way to get all the BOM status materials.
Thanks for your help.
Srinivas.You need to supply another application for alternative determination (field CAPID). It should be possible to customize one for your needs using "Define Order of Priority for BOM Usages" and "Define Applications" under "Production->Basic Data->Bill of Material->Alternative Determination"
Edited by: Carsten Grafflage on Aug 5, 2010 1:44 PM: Corrected one string from customizing - sorry.
Maybe you are looking for
-
My concern is I accidentally deleted something associated with the application; I was trying to free up some space on my Mac. I have over 10,000 photos in my iPhoto!! I should figure out how to back up my photos, assuming I can regain access to them
-
Want to send a quattro pro spreadsheet file to my ipad ?
Trying to email a large quattro pro spreadsheet file to an i pad by converting it to an adobe file and then changing it back to a corel file on the ipad. Can this be done if so how?
-
THE PROPER USE OF EQUALIZER IN CREATIVE CONSOLES (Additional artic
As pointed out rightly ?Maddmatt? exists a difference in the graduation of level slider in equalizer section between Entertainment Mode console and Audio Creation Mode console (the second appears on the photos in my web page), while in the Game Mode
-
Update Rules to an InfoProvider
Is there any limitation to the number of Update Rules that you can have to an InfoProvider? Thanks
-
Nokia CS-15 and Windows 7 64bit driver
Hi I've bought recently new notebook with Win7 64bit and Nokia CS-15. After that I realized that CS-15 is currently not supporting Win 7 64bit. So it cause my question if Nokia have plans to introduce such a dirivers and possibly when? If someone awa