Plz go through the table stucture and query for the desired resultusing pos
date timespent project timesheetId
2008-05-12 7.5000 2-NT 1
2008-05-13 7.5000 2-0670A 1
2008-05-14 5.5000 2-0671A 1
2008-05-15 2.5000 2-0670A 1
2008-05-15 5.0000 2-NF4 1
2008-05-16 7.5000 2-0670A 2
NF:---Non Billable
NT:-- leave Taken
Numbers:--- 1 TO 15 represnts date ,for paticular date i need the time spent by an employee for a particular project
i am using postgre Sql where Decode function will not work,in stead of this i have used this query.but i did not get sesired result.
num_phase=project
timespent=temps
date=jour
select num_phase,temps, CASE to_char(jour,'dd')
when '1' then temps
else '0'
end as "1" ,
CASE to_char(jour,'dd')
when '2' then temps
else '0'
end as "2",
CASE to_char(jour,'dd')
when '3' then temps
else '0'
end as "3",
CASE to_char(jour,'dd')
when '4' then temps
else '0'
end as "4",
CASE to_char(jour,'dd')
when '5' then temps
else '0'
end as "5",
CASE to_char(jour,'dd')
when '6' then temps
else '0'
end as "6",
CASE to_char(jour,'dd')
when '7' then temps
else '0'
end as "7",
CASE to_char(jour,'dd')
when '8' then temps
else '0'
end as "8",
CASE to_char(jour,'dd')
when '9' then temps
else '0'
end as "9",
CASE to_char(jour,'dd')
when '10' then temps
else '0'
end as "10",
CASE to_char(jour,'dd')
when '11' then temps
else '0'
end as "11",
CASE to_char(jour,'dd')
when '12' then temps
else '0'
end as "12",
CASE to_char(jour,'dd')
when '13' then temps
else '0'
end as "13",
CASE to_char(jour,'dd')
when '14' then temps
else '0'
end as "14",
CASE to_char(jour,'dd')
when '15' then temps
else '0'
end as "15",sum(temps) as Total
from temps_passes_jour where id_feuille_temps =1
AND num_phase not LIKE '%NF%' AND
num_phase not LIKE '%NT%'
GROUP BY num_phase,temps,jour order by num_phase,jour
Result:---
Disply form table
Project 1 2 3 4 5 6 7 8 9 11 12 13 14 15 Total
2-0670A 7.5000 2.5000 10.0000
2-0671A 5.5000 5.5000
Edited by: user10193450 on Aug 27, 2008 9:38 PM
Edited by: user10193450 on Aug 27, 2008 9:40 PM
Edited by: user10193450 on Aug 27, 2008 9:43 PM
And your query will be in this lines.
select project, for_1, for_2, for_3, for_4, for_5, for_6, for_7, for_8,
for_9, for_10, for_11, for_12, for_13, for_14, for_15,
(for_1+ for_2+ for_3+ for_4+ for_5+ for_6+ for_7+ for_8+ for_9+ for_10+ for_11+ for_12+ for_13+ for_14+ for_15) total
from (select project, max(decode(timesheetid, 1, timespent, NULL)) for_1
, max(decode(timesheetid, 2, timespent, NULL)) for_2
, max(decode(timesheetid, 3, timespent, NULL)) for_3
, max(decode(timesheetid, 4, timespent, NULL)) for_4
, max(decode(timesheetid, 5, timespent, NULL)) for_5
, max(decode(timesheetid, 6, timespent, NULL)) for_6
, max(decode(timesheetid, 7, timespent, NULL)) for_7
, max(decode(timesheetid, 8, timespent, NULL)) for_8
, max(decode(timesheetid, 9, timespent, NULL)) for_9
, max(decode(timesheetid, 10, timespent, NULL)) for_10
, max(decode(timesheetid, 11, timespent, NULL)) for_11
, max(decode(timesheetid, 12, timespent, NULL)) for_12
, max(decode(timesheetid, 13, timespent, NULL)) for_13
, max(decode(timesheetid, 14, timespent, NULL)) for_14
, max(de(timesheetid, 15, timespent, NULL)) for_15
from your_table
group by project
order by projectCheers
Sarma.
Similar Messages
-
Find the key for join between table "crhd" and "equi" for use field "answt"
I make program for read data from table "crhd" for print about machine report
but I can not find the key for link join to table "equi" for print field "answt" (acquistion value)
please help me find the key field for join between table "crhd" and "equi" for use field "answt"
thank you very much...This is how the Work Center is linked to a particular Equipment -
Functional - In IE03 ( view Equipments) You see the Work Center of a particular Equipment.
Technical - Go to view V_EQUI ( view of EQUI and EQUZ). Pass the Equipment number alongwith V_EQUI-PM_OBJTY = 'A' ( i,.e searching for the Object Type Work Center). In this way u ll get the V_EQUI-GEWRK - this is the Work Center ID.
You can pass this Work Center ID to CRHD. And you will get the Work Center text.
CRHD-OBJTY = 'A'
CRHD-OBJID = V_EQUI-GEWRK.
and u ll get the CRHD-ARBPL - this is the Work Center.
So u need to come backwards, alongwith ur CRHD-OBJTY and CRHD-OBJID , you pass the same to V_EQUI and u get the list of equipment numbers alongwith ur ANSWT(Acquisition value).
I guess it solves ur problem. -
Net Weight (NTGEW) does not populate in table VBRP and LIPS for Purch Order
The net weight field (NTGEW) does not populate in tables VBRP and LIPS when created from a Purchase Order. The field Net Weight (NTGEW) does populate when created from a sales order. Do you know if there is a way to make the field populate when created from a Purchase order?
Thanks,
TaHi,
Ta
In Material master Basic Data tab 1, you have to maintain Gross wgt and net weight. then when you creating purchase order, The Item level, Additional data tab you will able see Gross and net wgt.
I hope solved your problem.
Regards....
Sanjeev -
Hi All,
Greetings.
I have two queries namely,
1.Query for cancelled requisitions and
2.Query for Internal Requisitions without Internal Sales Orders.
I was on a task to combine those two queries..
Can we do that? if so, please help me do that..
Thanks in Advance,
Bhaskar.Hi All,
Greetings.
I have two queries namely,
1.Query for cancelled requisitions and
2.Query for Internal Requisitions without Internal Sales Orders.
I was on a task to combine those two queries..
Can we do that? if so, please help me do that..
Thanks in Advance,
Bhaskar. -
Different exchange rate in tables FMIOI and FMIFIIT for same purchase order
Hello,
I'm working in ECC 6 system with Former budget. My company code is in EUR currency.
I create a purchase order in 100 GBP and the exchange rate entered in the purchase order is 0,83 GBP for 1 EUR (100 GBP = 120,48 EUR).
When I create an invoice linked to the purchase order, the exchange rate is 0,85 GBP for 1 EUR (100 GBP = 117,65 EUR).
in the table FMIFIIT, the amount for the invoice is 117,65 EUR.
and in the table FMIOI, the amount for the reduction of the PO is 120,48 EUR.
Why is the reduction of the purchase order taking the exchange rate from the PO? and not from the exchange rate of the invoice?
Normally, the reduction of the PO should have the same amount as the invoice.
Could someone help me about this?
How can I do to correct the amount in EUR for the PO?
Thanks for your help.
Regards,
ChiachenHi,
Normally, the reduction of the PO should have the same amount as the invoice.
This is incorrect, please consult note 418914.
So, the situation you describe is normal behaviour, under assumption that your unit of measure is updated on value-based level.
Regards,
Eli -
ABAP User Roles and Query for accessing particular T- codes and Reports
dear Gurus
I have one problem, i want to know about ABAP User Query ,i have one requirement my user wants to Lock all the HR Std versus Customized reports in T- code SQ01,other department peoples also see the Payslips and Hr personal reports which is harmfull to the dept so i want to Lock all the reports in Std T- code in SQ01 and i have created one Customized User Roles or Query in which the T-codes and Reports are assigned only those particular user can access the T-codes and Std reports .how can it be possible i dont have any idea about user roles and Queries .
kindly help me out or send me some documents related to user roles and queries
regards ritesh sharmaHi Ritesh,
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103cafc2-7a64-2b10-14b3-eddb7d324561
Regards,
Flavya -
How to find the link between strcture and query technical name
Hi Guru's
How to find the link between Strcture in the query and query technical name. In other way where used list of the structure used in queries?
I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
Please can anyone help me?
Regards,
SirishaHi ,
For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
Thanks,
Amit -
Performance issues involving tables S031 and S032
Hello gurus,
I am having some performance issues. The program involves accessing data from S031 and S032. I have pasted the SELECT statements below. I have read through the forums for past postings regarding performance, but I wanted to know if there is anything that stands out as being the culprit of very poor performance, and how it can be corrected. I am fairly new to SAP, so I apologize if I've missed an obvious error. From debugging the program, it seems the 2nd select statement is taking a very long time to process.
GT_S032: approx. 40,000 entries
S031: approx. 90,000 entries
MSEG: approx. 115,000 entries
MKPF: approx. 100,000 entries
MARA: approx. 90,000 entries
SELECT
vrsio "Version
werks "Plan
lgort "Storage Location
matnr "Material
ssour "Statistic(s) origin
FROM s032
INTO TABLE gt_s032
WHERE ssour = space AND vrsio = c_000 AND werks = gw_werks.
IF sy-subrc = 0.
SELECT
vrsio "Version
werks "Plant
spmon "Period to analyze - month
matnr "Material
lgort "Storage Location
wzubb "Valuated stock receipts value
wagbb "Value of valuated stock being issued
FROM s031
INTO TABLE gt_s031
FOR ALL ENTRIES IN gt_s032
WHERE ssour = gt_s032-ssour
AND vrsio = gt_s032-vrsio
AND spmon IN r_spmon
AND sptag = '00000000'
AND spwoc = '000000'
AND spbup = '000000'
AND werks = gt_s032-werks
AND matnr = gt_s032-matnr
AND lgort = gt_s032-lgort
AND ( wzubb <> 0 OR wagbb <> 0 ).
ELSE.
WRITE: 'No data selected'(m01).
EXIT.
ENDIF.
SORT gt_s032 BY vrsio werks lgort matnr.
SORT gt_s031 BY vrsio werks spmon matnr lgort.
SELECT
p~werks "Plant
p~matnr "Material
p~mblnr "Document Number
p~mjahr "Document Year
p~bwart "Movement type
p~dmbtr "Amount in local currency
t~shkzg "Debit/Credit indicator
INTO TABLE gt_scrap
FROM mkpf AS h
INNER JOIN mseg AS p
ON hmblnr = pmblnr
AND hmjahr = pmjahr
INNER JOIN mara AS m
ON pmatnr = mmatnr
INNER JOIN t156 AS t
ON pbwart = tbwart
WHERE h~budat => gw_duepr-begda
AND h~budat <= gw_duepr-endda
AND p~werks = gw_werks.
Thanks so much for your help,
JayeshIssue with table s031 and with for all entries.
Hi,
I have following code in which select statement on s031 is
taking long time and after that it shows a dump. What should I do instead of
exceeding the time limit of execution of an abap program.
TYPES:
BEGIN OF TY_MTL, " Material Master
MATNR TYPE MATNR, " Material Code
MTART TYPE MTART, " Material Type
MATKL TYPE MATKL, " Material Group
MEINS TYPE MEINS, " Base unit of Measure
WERKS TYPE WERKS_D, " Plant
MAKTX TYPE MAKTX, " Material description (Short Text)
LIFNR TYPE LIFNR, " vendor code
NAME1 TYPE NAME1_GP, " vendor name
CITY TYPE ORT01_GP, " City of Vendor
Y_RPT TYPE P DECIMALS 3, "Yearly receipt
Y_ISS TYPE P DECIMALS 3, "Yearly Consumption
M_OPG TYPE P DECIMALS 3, "Month opg
M_OPG1 TYPE P DECIMALS 3,
M_RPT TYPE P DECIMALS 3, "Month receipt
M_ISS TYPE P DECIMALS 3, "Month issue
M_CLG TYPE P DECIMALS 3, "Month Closing
D_BLK TYPE P DECIMALS 3, "Block Stock,
D_RPT TYPE P DECIMALS 3, "Today receipt
D_ISS TYPE P DECIMALS 3, "Day issues
TL_FL(2) TYPE C,
STATUS(4) TYPE C,
END OF TY_MTL,
BEGIN OF TY_OPG , " Opening File
SPMON TYPE SPMON, " Period to analyze - month
WERKS TYPE WERKS_D, " Plant
MATNR TYPE MATNR, " Material No
BASME TYPE MEINS,
MZUBB TYPE MZUBB, " Receipt Quantity
WZUBB TYPE WZUBB,
MAGBB TYPE MAGBB, " Issues Quantity
WAGBB TYPE WAGBB,
END OF TY_OPG,
DATA :
T_M TYPE STANDARD TABLE OF TY_MTL INITIAL SIZE 0,
WA_M TYPE TY_MTL,
T_O TYPE STANDARD TABLE OF TY_OPG INITIAL SIZE 0,
WA_O TYPE TY_OPG.
DATA: smonth1 TYPE spmon.
SELECT
a~matnr
a~mtart
a~matkl
a~meins
b~werks
INTO TABLE t_m FROM mara AS a
INNER JOIN marc AS b
ON a~matnr = b~matnr
* WHERE a~mtart EQ s_mtart
WHERE a~matkl IN s_matkl
AND b~werks IN s_werks
AND b~matnr IN s_matnr .
endif.
SELECT spmon
werks
matnr
basme
mzubb
WZUBB
magbb
wagbb
FROM s031 INTO TABLE t_o
FOR ALL ENTRIES IN t_m
WHERE matnr = t_m-matnr
AND werks IN s_werks
AND spmon le smonth1
AND basme = t_m-meins. -
Full table scan and how to avoid it
Hello,
I have two tables, one with 425,000 records, and the other with 5,200,000 records in it. The smaller table has an index on its unique primary key, and the bigger table has an index on the foreign key of the smaller table.
When joining these two tables, I keep getting full table scans on both of these tables, and I would like to understand the philosophy behind it as well as ways to avoid this.
ThanksAre you manipulating the join columns in any fashion? Such as applying a function to them like in
to_char(column_a) = to_char(column_b)Because any manipulation like that will obviate your index (assuming you don't have function based indexes).
Really though, without your tables, indexes and query, we're left with voodoo, which is cool, but not really that effective.
*note to any and all practicing witch doctors, i really do think voodoo is cool and effective, please don't persecute me for my speakings.
Message was edited by:
Tubby -
Related to table name and field name
My ques. is
go to tcode IW33. Enter the orderno. From menu bar GOTO SETTLEMENT RULE. we are getting some data and column name. Can anyone tell me the column SETTLEMENT RECEIVER is related to which TABLE and what is the FIELDNAME.Hi!
Welcome in the forums.
Check the tables COBRA and COBRB for the settlement rule.
The key is objnr, which seems somehow like this:"OR006110002400". The last X numbers are the order number.
Regards
Tamá -
Clean up of work flow logs entries (WFMC) from tables CMFP and CMFK
Hi,
I am cleaning up the tables CMFP and CMFK for work flow logs entries with app id WFMC. I used the cleanup programs RSCLNAFP, RSCLCMFP but the entries are still seen on the tables. Can anyone please advice ?Hey,
I think notes: 627257, 758952 would help.
if not, please read notes 52114, 617634, and:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25c1f5d1-0901-0010-d495-e96d02a0cb01
the link above advice to run transaction NACE:
To avoid unnecessary growth of tables CMFP and CMFK, you can prevent the creation of processing logs by following these steps:
1. Call up transaction NACE (Conditions for Output Control).
2. Choose the desired applications and then Output Types.
3. Double click on the output type to go to the detail view where you can make the necessary settings. To make the settings you must enter the change mode.
4. Set the indicator do not write processing log and save your settings.
This setting is only applicable to the individual application and output type. If it is set, processing logs will be collected in the main memory, but they will not be written to the database. Other output types are not affected by this setting. You have to repeat the aforementioned steps for each output type individually. It is not possible to switch off the processing log for all output types at the same time. For more information on the setting do not write processing log see the corresponding documentation. -
How to use Innerjoin b/w these 2 tables VBAK and CDHDR ?
Hi,
How to use Innerjoin b/w these 2 tables VBAK and CDHDR for retrieving of changed sales order data ?I nned the A select stmt with INNER JOIN for changed sales data.
Thanks & Regards,
gopi.Hi Gopi,
You can use the code similar to below to read the changes to Sales order from CDHDR AND CDPOS
FORM GET_CHANGES .
* Get all the changes to Sales Order as well as Deliveries. Suppress
* Non relevant change
DATA : BEGIN OF SO_VBELN OCCURS 0 ,
VBELN LIKE CDHDR-OBJECTID,
END OF SO_VBELN.
DATA : BEGIN OF DL_VBELN OCCURS 0 ,
VBELN LIKE CDHDR-OBJECTID,
END OF DL_VBELN.
DATA TEMP_SO_VBELN LIKE SO_VBELN OCCURS 0 WITH HEADER LINE.
DATA DATE_UNTIL LIKE SY-DATUM.
DATA TIME_UNTIL LIKE SY-UZEIT .
DATA DATE_FROM LIKE SY-DATUM.
READ TABLE S_CHADT INDEX 1.
LOOP AT IT_VBAP.
AT NEW VBELN.
MOVE IT_VBAP-VBELN TO TEMP_SO_VBELN.
COLLECT TEMP_SO_VBELN.
ENDAT.
ENDLOOP.
IF TEMP_SO_VBELN[] IS NOT INITIAL.
SELECT OBJECTID AS VBELN FROM CDHDR
INTO TABLE SO_VBELN
FOR ALL ENTRIES IN TEMP_SO_VBELN
WHERE OBJECTCLAS EQ 'VERKBELEG'
AND OBJECTID EQ TEMP_SO_VBELN-VBELN
AND USERNAME IN S_CHABY
AND UDATE IN S_CHADT.
ENDIF.
LOOP AT IT_LIPS INTO WA_LIPS.
AT NEW VBELN.
MOVE WA_LIPS-VBELN TO DL_VBELN.
COLLECT DL_VBELN.
ENDAT.
ENDLOOP.
* Changes in Sales Order.
IF NOT SO_VBELN[] IS INITIAL.
* Get partner functions
SELECT * INTO TABLE IT_TPART
FROM TPART WHERE SPRAS EQ SY-LANGU.
SELECT A~TABNAME A~FIELDNAME A~DATATYPE B~DDTEXT
INTO CORRESPONDING FIELDS OF TABLE IT_FIELD
FROM DD03L AS A INNER JOIN
DD04T AS B
ON A~ROLLNAME EQ B~ROLLNAME
AND A~AS4LOCAL EQ B~AS4LOCAL
WHERE ( A~TABNAME EQ 'VBAK'
OR A~TABNAME EQ 'VBAP'
OR A~TABNAME EQ 'VBEP'
OR A~TABNAME EQ 'VBPA'
OR A~TABNAME EQ 'VBUK'
OR A~TABNAME EQ 'VBKD' )
AND A~AS4LOCAL EQ 'A'
AND A~AS4VERS EQ '0000'
AND A~ROLLNAME NE SPACE
AND B~DDLANGUAGE EQ SY-LANGU.
* Preapare the exclusion table
R_EXCL_FIELDS-OPTION = 'EQ'.
R_EXCL_FIELDS-SIGN = 'I'.
LOOP AT IT_FIELD WHERE DATATYPE EQ 'CURR'.
R_EXCL_FIELDS-LOW = IT_FIELD-FIELDNAME.
APPEND R_EXCL_FIELDS.
ENDLOOP.
R_EXCL_FIELDS-LOW = 'ARKTX'.
APPEND R_EXCL_FIELDS.
R_EXCL_FIELDS-LOW = 'LGORT'.
APPEND R_EXCL_FIELDS.
R_EXCL_FIELDS-LOW = 'TDDAT'.
APPEND R_EXCL_FIELDS.
R_EXCL_FIELDS-LOW = 'LDDAT'.
APPEND R_EXCL_FIELDS.
R_EXCL_FIELDS-LOW = 'MBDAT'.
APPEND R_EXCL_FIELDS.
R_EXCL_TABL-OPTION = 'EQ'.
R_EXCL_TABL-SIGN = 'I'.
R_EXCL_TABL-LOW = 'KONVC'.
APPEND R_EXCL_TABL.
R_EXCL_TABL-LOW = 'VBKD'.
APPEND R_EXCL_TABL.
LOOP AT SO_VBELN.
REFRESH ITAB_CDHDR.
DATE_FROM = S_CHADT-LOW.
DATE_UNTIL = S_CHADT-HIGH.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = DATE_FROM
OBJECTCLASS = 'VERKBELEG'
OBJECTID = SO_VBELN-VBELN
TIME_OF_CHANGE = TIME_UNTIL
DATE_UNTIL = DATE_UNTIL
USERNAME = ' '
TABLES
I_CDHDR = ITAB_CDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
WRONG_ACCESS_TO_ARCHIVE = 2
TIME_ZONE_CONVERSION_ERROR = 3
OTHERS = 4.
IF SY-SUBRC NE 0.
CONTINUE.
ENDIF.
LOOP AT ITAB_CDHDR WHERE USERNAME IN S_CHABY.
REFRESH IT_CDSHW.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
CHANGENUMBER = ITAB_CDHDR-CHANGENR
TABLES
EDITPOS = IT_CDSHW
EXCEPTIONS
NO_POSITION_FOUND = 1
WRONG_ACCESS_TO_ARCHIVE = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
PERFORM GET_ACTION .
ENDIF.
ENDLOOP.
ENDLOOP.
ENDIF.
* Changes in Delivery
IF NOT DL_VBELN[] IS INITIAL.
REFRESH : IT_CDHDR , IT_CDPOS.
SELECT OBJECTCLAS OBJECTID CHANGENR USERNAME UDATE
FROM CDHDR INTO CORRESPONDING FIELDS OF TABLE IT_CDHDR
FOR ALL ENTRIES IN DL_VBELN
WHERE OBJECTCLAS EQ 'LIEFERUNG'
AND OBJECTID EQ DL_VBELN-VBELN
AND USERNAME IN S_CHABY
AND UDATE IN S_CHADT
AND CHANGE_IND EQ 'U'.
LOOP AT IT_CDHDR.
CONCATENATE SY-MANDT IT_CDHDR-OBJECTID
INTO IT_CDHDR-TABKEY .
CONDENSE IT_CDHDR-TABKEY.
MODIFY IT_CDHDR.
ENDLOOP.
IF NOT IT_CDHDR[] IS INITIAL.
SELECT * INTO TABLE IT_CDPOS FROM CDPOS
FOR ALL ENTRIES IN IT_CDHDR
WHERE OBJECTCLAS EQ IT_CDHDR-OBJECTCLAS
AND OBJECTID EQ IT_CDHDR-OBJECTID
AND CHANGENR EQ IT_CDHDR-CHANGENR
AND TABNAME EQ 'LIKP'
AND TABKEY EQ IT_CDHDR-TABKEY
AND FNAME IN ('WADAT','LFDAT','ROUTE','VSBED')
AND CHNGIND EQ 'U' .
LOOP AT IT_CDPOS .
CLEAR IT_DL_CHG-FLAG_RED.
CASE IT_CDPOS-FNAME.
WHEN 'WADAT'.
MOVE 'Goods issue date changed' TO IT_DL_CHG-ACTION.
WHEN 'LFDAT'.
MOVE 'Delivery date changed' TO IT_DL_CHG-ACTION.
MOVE 'X' TO IT_DL_CHG-FLAG_RED.
WHEN 'ROUTE'.
MOVE 'Route Changed' TO IT_DL_CHG-ACTION.
WHEN 'VSBED'.
MOVE 'Shipping Condition Changed' TO IT_DL_CHG-ACTION.
WHEN OTHERS.
ENDCASE.
AT NEW CHANGENR .
READ TABLE IT_CDHDR WITH KEY OBJECTCLAS = IT_CDPOS-OBJECTCLAS
OBJECTID = IT_CDPOS-OBJECTID
CHANGENR = IT_CDPOS-CHANGENR
BINARY SEARCH.
MOVE IT_CDHDR-USERNAME TO IT_DL_CHG-ERNAM.
WRITE IT_CDHDR-UDATE TO IT_DL_CHG-ERDAT.
ENDAT.
IT_DL_CHG-COUNTER = IT_DL_CHG-COUNTER + 1.
MOVE IT_CDPOS-OBJECTID TO IT_DL_CHG-VBELN.
MOVE IT_CDPOS-VALUE_OLD TO IT_DL_CHG-OLD_VAL.
MOVE IT_CDPOS-VALUE_NEW TO IT_DL_CHG-NEW_VAL.
INSERT TABLE IT_DL_CHG.
ENDLOOP.
ENDIF.
ENDIF.
ENDFORM. " GET_CHANGES
Cheers
VJ -
Hi frnds,
I have a problem in account application of our PCUI portal.
In PCUI we personalize the fields that are returned in the search functionality by clicking the "Personalize" Tab under Accounts.
In our case one of the user is getting differrent optons in the personalize popup than other , i debugged the class "CL_CRM_BSP_LIST_PERS" and found that the column list is comming from table "CRMD_PERS_LIST".
If there is no records present in this table for a pirticular user it is picking form table "CRMC_LISTCOLC.
The records from these table are fetched using the user name,View & Field group.
Can any body tell me how we can add records in the table "CRMD_PERS_LIST" and "CRMC_LISTCOLC" for pirticular user.
Do we have any kind of customization ( in spro or blueprint) for maintaining data in these tables.
Regards,
Sandipan jenaresolved my self
-
Query for spatial data with a GeometryCollection fails
There are exact 538 CurvePolygons (only exterior rings at this
sample). All of them are valid geometries and equal in dimension
and so on. Now I connect them to a GeometryCollection and query
for other relating spatial data in some tables. It seems that
the use of around (not exact!) 200 CurvePolygon in one
GeometryCollection works fine but the adding of more
CurvePolygon result in an error with the Spatial Index (I could
add the ORA- error numbers if I have some data in my test tables
again next days).
Is there anybody else having trouble with these mysterious
problem? Maybe there is a border by the number of points in
GeometryCollection?
(More details, programming code could be delivered)
(working with Java 1.3.1, oracle.sdoapi.*, Oracle 8.1.7.)Hi Lutz,
Could you provide more info or samples of what is going wrong?
Also, could you try making sure the geometry you are passing in
as the query window is valid (i.e. instead of passing it in as a
query window, pass it into sdo_geom.validate_geometry).
Thanks,
Dan -
Need help with sq01 query for FI data
hello,
i have created a simple query whihc requires document header and line item information , bkpf and bsis works for this, but another requirement is that business needs vendor and customer accounts to be displayed also .
bsis does not have vendor and customer , bseg has this info but bseg cannot be used in query ,
kindly assist with this , thanks in advance.hi,
you'll find the required info in BSID (customers) and BSIK (vendors) tables (BSAD and BSAK for closed items).
hope this helps
ec
Maybe you are looking for
-
Please Help with Converting PDF document to Word Document
I have downloaded our PDF document to be converted to a word document --- it did not work correctly--we need help with this Scott Munsen Abbott House -- Mitchell, SD
-
Hi, I'm facing an issue related to the combinated use of transaction FB08 and FBRA. Actually I have to modify a custom program that is used for resetting and reversing payment document. The program asd been structured in a way in which it first uses
-
ALE-IDoc : Outbound message control for MIRO,IDoc message type for INVOIC
Dear Experts, I am using the IDoc message type INVOIC. For that i have created the new output type. Then i assinged the the Program RSNASTED and form routine ALE_PROCESSING. But when i am saving the transaction
-
Error in Netezza with NZLOAD KM
Hi , I am getting error at "Load to Staging area " step The directory structure /psft/hrdvl/product/oracledi/data is exists Error : org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last): File "<string>", line 1, in ? File "<s
-
How to unghost Field Control and Field Type
We have created a custom field type and field control. As we know once we deployed field control and field type, it will keep some file like (Control file , XML file) in the file system (Hive). Due to business need, I just want to remove the dependen