Adding a new parameter to the existing report in GL(GLRTR1.rdf)
Hi Friends,
I was new to this oracle Forums and i am working as a oracle apps technical consultant, i have been assigned a task in GL module to customise the existing report in GL the report name is "GLRTR1.rdf" (available in vision-demo) and its concurrent program name is "Trial Balance Summary-1" this program has the predefined parameters like:
(Parameter Name : Values to be entered/as u wish)
Pagebreak Segment : Company
Pagebreak Segment Low :01
Pagebreak Segment High:01
Currency :USD
Period Name :feb-2003
Amount Type :PTD(Period to Date)
user-parameters to be added to above parameterlist
costcenterfrom :segment2 value of (GL_CODE_COMBINATIONS table)
costcenterto : -- do---
Now what i want is i want to add a user parameter to this concurrent program like costcenterfrom and costcenterto these are optional parameters and the its value set type is TABLE and i want to display value is SEGMENT2.
when i select the parameters along with predefined and costcenterfrom and costcenter to the report output should be between the costcenter from and costcenterto along with predefined values,
and if i am not giving any value to the costcenterfrom and costcenterto parameters then the report out put should be based on the above parameters ie predefined parameters only.
i think u haveunderstoood the requirement and does any one please tell me know the solution for my problem its very urgent.
i will be very greatful to them.
Regards,
Azeez
[email protected]
Hi,
Please check whether the auth object is switched on for the info-provider or not. By default its switched on if the info-object is part of the info-provider.
To switch it on again, enter the info-provider name in the section 'Checks For Info-provider'. Click on pencil button to enter into change mode and select your auth object.
Hope it helps
Thanks
Soumya
Similar Messages
-
Adding a new Field to an existing report
Hi all,
Can anybody tell me, how to add an extra field in existing
report, without changing the basic calulation, which i made
in the same report.
Regards
Hemaokay... that is not a standard program.
sombody developed it.following is my existing code, here in last column i want to add BOM(mast-stlnr) and Component(stpo-idnrk). remaining things are okay.
REPORT ZPOTREND NO STANDARD PAGE HEADING
LINE-SIZE 195
LINE-COUNT 60(3)
MESSAGE-ID Z1.
TABLES: EKBE,
MARA,
TCURR.
SELECT-OPTIONS: S_GJAHR FOR EKBE-GJAHR,
S_BUDAT FOR EKBE-BUDAT DEFAULT SY-DATUM NO-EXTENSION,
S_MATNR FOR EKBE-MATNR,
S_WERKS FOR EKBE-WERKS DEFAULT 'CE',
S_MTART FOR MARA-MTART.
PARAMETERS: X_APP_L TYPE P DECIMALS 2 NO-DISPLAY,
X_APP_H TYPE P DECIMALS 2 NO-DISPLAY,
X_DTL AS CHECKBOX.
DATA: BEGIN OF I_EKBE OCCURS 0,
BUDAT LIKE EKBE-BUDAT,
MENGE LIKE EKBE-MENGE,
DMBTR LIKE EKBE-DMBTR,
SHKZG LIKE EKBE-SHKZG,
EBELN LIKE EKBE-EBELN,
MATNR LIKE EKBE-MATNR,
WERKS LIKE EKBE-WERKS,
MTART LIKE MARA-MTART,
MEINS LIKE MARA-MEINS,
END OF I_EKBE.
DATA: P_EBELN LIKE EKBE-EBELN,
P_MATNR LIKE EKBE-MATNR,
P_WERKS LIKE EKBE-WERKS,
P_MTART LIKE MARA-MTART,
P_MEINS LIKE MARA-MEINS.
DATA: BEGIN OF YMTH OCCURS 10,
YYMM(6),
MTH(3),
COL TYPE I,
MENGE LIKE EKBE-MENGE,
DMBTR LIKE EKBE-DMBTR,
END OF YMTH.
DATA: S_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
DATA: W_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
DATA: G_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
DATA: S_FLAG. "MTART FLAG
DATA: BEGIN OF CDATE,
YYMM(6),
DD(2) VALUE '01',
END OF CDATE.
DATA: SDATE LIKE SY-DATUM.
DATA: CMTH(6),
PMTH(6),
LMTH1(6),
LMTH2(6),
MTH(2).
DATA: W_MENGE LIKE EKBE-MENGE,
W_DMBTR LIKE EKBE-DMBTR,
W_MENGE1 LIKE EKBE-MENGE,
W_DMBTR1 LIKE EKBE-DMBTR,
W_TOTAL TYPE P DECIMALS 2,
W_COL TYPE I,
WTEXT(18),
APP TYPE P DECIMALS 4,
APP1 TYPE P DECIMALS 4,
APP2 TYPE P DECIMALS 4.
PERFORM GET_YMTH.
SELECT P~BUDAT P~MENGE P~DMBTR P~SHKZG P~EBELN P~MATNR P~WERKS
Q~MTART Q~MEINS
INTO TABLE I_EKBE
FROM EKBE AS P INNER JOIN MARA AS Q
ON P~MATNR = Q~MATNR
WHERE P~GJAHR IN S_GJAHR
AND P~BUDAT IN S_BUDAT
AND P~MATNR IN S_MATNR
AND P~WERKS IN S_WERKS
AND P~BEWTP = 'E'
AND Q~MTART IN S_MTART.
FORMAT INTENSIFIED OFF.
IF X_DTL <> 'X'.
LOOP AT I_EKBE.
I_EKBE-EBELN = SPACE.
MODIFY I_EKBE.
ENDLOOP.
ENDIF.
SORT I_EKBE BY WERKS MTART MATNR EBELN BUDAT.
LOOP AT I_EKBE.
CMTH = I_EKBE-BUDAT(6).
IF P_WERKS IS INITIAL.
P_WERKS = I_EKBE-WERKS.
P_MTART = I_EKBE-MTART.
P_MATNR = I_EKBE-MATNR.
P_EBELN = I_EKBE-EBELN.
P_MEINS = I_EKBE-MEINS.
PMTH = CMTH.
ENDIF.
IF P_WERKS NE I_EKBE-WERKS.
PERFORM CHG_MTH.
PERFORM CHG_MATNR.
PERFORM CHG_MTART.
PERFORM CHG_WERKS.
ENDIF.
IF P_MTART NE I_EKBE-MTART.
PERFORM CHG_MTH.
PERFORM CHG_MATNR.
PERFORM CHG_MTART.
ENDIF.
IF P_MATNR NE I_EKBE-MATNR.
PERFORM CHG_MTH.
PERFORM CHG_MATNR.
ENDIF.
IF P_EBELN NE I_EKBE-EBELN.
PERFORM CHG_MTH.
PERFORM CHG_MATNR.
ENDIF.
IF PMTH NE CMTH.
PERFORM CHG_MTH.
ENDIF.
IF I_EKBE-SHKZG = 'H'.
I_EKBE-MENGE = I_EKBE-MENGE * -1.
I_EKBE-DMBTR = I_EKBE-DMBTR * -1.
ENDIF.
IF I_EKBE-DMBTR NE 0.
W_MENGE = W_MENGE + I_EKBE-MENGE.
W_DMBTR = W_DMBTR + I_EKBE-DMBTR.
ENDIF.
ENDLOOP.
PERFORM CHG_MTH.
PERFORM CHG_MATNR.
PERFORM CHG_MTART.
PERFORM CHG_WERKS.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
77 'A M T E K E N G I N E E R I N G L T D',
180 'Page', (4) SY-PAGNO.
WRITE: / SY-REPID,
77 ' Purchase Price Trending Report ',
180 SY-UNAME.
write: /78 'From Date', S_BUDAT-LOW, 'To Date', S_BUDAT-HIGH.
SKIP.
WRITE: / 'SBU :', I_EKBE-WERKS,
' Material Type :', I_EKBE-MTART.
SKIP.
READ TABLE YMTH WITH KEY YYMM = '999901'.
IF SY-SUBRC EQ 0.
WRITE AT YMTH-COL ' APP Change'.
ENDIF.
WRITE: /01 'Part No',
19 'PO No',
31 'Curr'.
LOOP AT YMTH.
YMTH-COL = YMTH-COL + 3.
IF YMTH-YYMM NE '999901'.
WRITE AT YMTH-COL YMTH-YYMM(4).
WRITE YMTH-MTH.
ELSE.
WRITE AT YMTH-COL ' %'.
ENDIF.
ENDLOOP.
ULINE.
*& Form get_ymth
text
--> p1 text
<-- p2 text
FORM GET_YMTH.
CMTH = S_BUDAT-HIGH(6).
PMTH = S_BUDAT-LOW(6).
IF S_BUDAT-HIGH IS INITIAL.
CMTH = PMTH.
ELSEIF S_BUDAT-LOW IS INITIAL.
PMTH = CMTH.
ENDIF.
LMTH1 = CMTH.
CDATE-YYMM = CMTH.
SDATE = CDATE.
SDATE = SDATE - 1.
LMTH2 = SDATE(6).
WHILE PMTH <= CMTH.
MTH = CMTH+4(2).
CDATE-YYMM = CMTH.
YMTH-YYMM = CMTH.
PERFORM GET_MTH.
APPEND YMTH.
SDATE = CDATE.
SDATE = SDATE - 1.
CMTH = sdate(6).
ENDWHILE.
YMTH-YYMM = '999901'.
YMTH-MTH = ' % '.
APPEND YMTH.
SORT YMTH BY YYMM.
W_COL = 21.
LOOP AT YMTH.
W_COL = W_COL + 15.
YMTH-COL = W_COL.
MODIFY YMTH.
ENDLOOP.
APPEND LINES OF YMTH TO S_YMTH.
APPEND LINES OF YMTH TO W_YMTH.
APPEND LINES OF YMTH TO G_YMTH.
REFRESH YMTH.
APPEND LINES OF S_YMTH TO YMTH.
ENDFORM. " get_ymth
*& Form get_mth
text
--> p1 text
<-- p2 text
FORM GET_MTH.
CASE MTH.
WHEN '01'.
YMTH-MTH = 'Jan'.
WHEN '02'.
YMTH-MTH = 'Feb'.
WHEN '03'.
YMTH-MTH = 'Mar'.
WHEN '04'.
YMTH-MTH = 'Apr'.
WHEN '05'.
YMTH-MTH = 'May'.
WHEN '06'.
YMTH-MTH = 'Jun'.
WHEN '07'.
YMTH-MTH = 'Jul'.
WHEN '08'.
YMTH-MTH = 'Aug'.
WHEN '09'.
YMTH-MTH = 'Sep'.
WHEN '10'.
YMTH-MTH = 'Oct'.
WHEN '11'.
YMTH-MTH = 'Nov'.
WHEN '12'.
YMTH-MTH = 'Dec'.
ENDCASE.
ENDFORM. " get_mth
*& Form chg_matnr
text
--> p1 text
<-- p2 text
FORM CHG_MATNR.
CLEAR W_TOTAL.
LOOP AT YMTH.
W_TOTAL = W_TOTAL + YMTH-DMBTR.
ENDLOOP.
IF W_TOTAL = 0.
EXIT.
ENDIF.
CLEAR: W_DMBTR, W_MENGE, W_DMBTR1, W_MENGE1, APP, APP1, APP2.
READ TABLE YMTH WITH KEY YYMM = LMTH2.
IF SY-SUBRC EQ 0 AND
YMTH-MENGE NE 0.
W_DMBTR = YMTH-DMBTR.
W_MENGE = YMTH-MENGE.
READ TABLE YMTH WITH KEY YYMM = LMTH1.
IF SY-SUBRC EQ 0.
APP = W_DMBTR / W_MENGE.
APP1 = YMTH-DMBTR / YMTH-MENGE.
APP2 = ( APP1 - APP ) / APP * 100.
ENDIF.
ENDIF.
IF X_APP_L IS INITIAL AND
X_APP_H IS INITIAL.
ELSE.
IF APP2 < X_APP_L OR
APP2 > X_APP_H.
EXIT.
CLEAR: W_DMBTR, W_MENGE, APP.
P_MATNR = I_EKBE-MATNR.
P_EBELN = I_EKBE-EBELN.
PERFORM CLR_YMTH.
ENDIF.
ENDIF.
SKIP.
WRITE:/ P_MATNR, ' Amount ',
'USD'.
LOOP AT YMTH.
WRITE AT YMTH-COL(12) YMTH-DMBTR NO-ZERO.
ENDLOOP.
WRITE:/(18) ' ', ' Quantity',
P_MEINS.
LOOP AT YMTH.
WRITE AT YMTH-COL(12) YMTH-MENGE NO-ZERO.
ENDLOOP.
WRITE:/ P_MATNR(18), P_EBELN, 'USD' UNDER 'Curr'.
LOOP AT YMTH.
IF YMTH-YYMM NE '999901'.
CLEAR APP.
IF Ymth-menge ne 0.
APP = YMTH-DMBTR / YMTH-MENGE.
ENDIF.
WRITE AT YMTH-COL(12) APP.
READ TABLE S_YMTH WITH KEY YYMM = YMTH-YYMM.
IF SY-SUBRC EQ 0.
S_YMTH-MENGE = S_YMTH-MENGE + YMTH-MENGE.
S_YMTH-DMBTR = S_YMTH-DMBTR + YMTH-DMBTR.
MODIFY S_YMTH INDEX SY-TABIX.
ENDIF.
READ TABLE W_YMTH WITH KEY YYMM = YMTH-YYMM.
IF SY-SUBRC EQ 0.
W_YMTH-MENGE = W_YMTH-MENGE + YMTH-MENGE.
W_YMTH-DMBTR = W_YMTH-DMBTR + YMTH-DMBTR.
MODIFY W_YMTH INDEX SY-TABIX.
ENDIF.
ELSE.
WRITE AT YMTH-COL(12) APP2.
ENDIF.
ENDLOOP.
CLEAR: W_DMBTR, W_MENGE, APP.
P_MATNR = I_EKBE-MATNR.
P_EBELN = I_EKBE-EBELN.
PERFORM CLR_YMTH.
ENDFORM. " chg_matnr
*& Form chg_mtart
text
--> p1 text
<-- p2 text
FORM CHG_MTART.
SKIP.
ULINE.
CONCATENATE P_MTART 'Total' INTO WTEXT SEPARATED BY SPACE.
PERFORM PRN_TOT TABLES S_YMTH.
P_MTART = I_EKBE-MTART.
LOOP AT S_YMTH.
CLEAR: S_YMTH-DMBTR, S_YMTH-MENGE.
MODIFY S_YMTH.
ENDLOOP.
ENDFORM. " chg_mtart
*& Form chg_werks
text
--> p1 text
<-- p2 text
FORM CHG_WERKS.
CONCATENATE P_WERKS 'Total' INTO WTEXT SEPARATED BY SPACE.
PERFORM PRN_TOT TABLES W_YMTH.
CLEAR: W_DMBTR, W_MENGE, APP.
P_WERKS = I_EKBE-WERKS.
LOOP AT W_YMTH.
CLEAR: W_YMTH-DMBTR, W_YMTH-MENGE.
MODIFY W_YMTH.
ENDLOOP.
NEW-PAGE.
ENDFORM. " chg_werks
*& Form chg_mth
text
--> p1 text
<-- p2 text
FORM CHG_MTH.
READ TABLE YMTH WITH KEY YYMM = PMTH.
IF SY-SUBRC EQ 0.
YMTH-MENGE = W_MENGE.
YMTH-DMBTR = W_DMBTR.
MODIFY YMTH INDEX SY-TABIX.
ENDIF.
CLEAR: W_MENGE, W_DMBTR.
PMTH = CMTH.
ENDFORM. " chg_mth
*& Form clr_ymth
text
--> p1 text
<-- p2 text
FORM CLR_YMTH.
LOOP AT YMTH.
CLEAR: YMTH-DMBTR, YMTH-MENGE.
MODIFY YMTH.
ENDLOOP.
ENDFORM. " clr_ymth
*& Form prn_tot
text
--> p1 text
<-- p2 text
FORM PRN_TOT TABLES I_YMTH STRUCTURE YMTH.
CLEAR: W_DMBTR, W_MENGE, W_DMBTR1, W_MENGE1, APP, APP1, APP2.
READ TABLE I_YMTH WITH KEY YYMM = LMTH2.
IF SY-SUBRC EQ 0 AND
I_YMTH-MENGE NE 0.
W_DMBTR = I_YMTH-DMBTR.
W_MENGE = I_YMTH-MENGE.
READ TABLE I_YMTH WITH KEY YYMM = LMTH1.
IF SY-SUBRC EQ 0.
APP = W_DMBTR / W_MENGE.
APP1 = I_YMTH-DMBTR / I_YMTH-MENGE.
APP2 = ( APP1 - APP ) / APP * 100.
ENDIF.
ENDIF.
WRITE:/ WTEXT, ' Amount ',
'USD'.
LOOP AT I_YMTH.
SELECT SINGLE * FROM TCURR
WHERE FCURR = 'SGD'
AND TCURR = 'USD'.
I_YMTH-DMBTR = I_YMTH-DMBTR * TCURR-UKURS.
WRITE AT I_YMTH-COL(12) I_YMTH-DMBTR NO-ZERO.
ENDLOOP.
WRITE:/(18) ' ', ' Quantity'.
LOOP AT I_YMTH.
WRITE AT I_YMTH-COL(12) I_YMTH-MENGE NO-ZERO.
ENDLOOP.
WRITE:/(18) ' ', ' APP ', 'USD'.
LOOP AT I_YMTH.
IF I_YMTH-YYMM NE '999901'.
CLEAR APP.
IF I_YMTH-MENGE NE 0.
APP = I_YMTH-DMBTR / I_YMTH-MENGE.
ENDIF.
WRITE AT I_YMTH-COL(12) APP.
ELSE.
WRITE AT I_YMTH-COL(12) APP2.
ENDIF.
ENDLOOP.
ULINE.
CLEAR: W_DMBTR, W_MENGE, APP.
ENDFORM. " prn_tot -
Administration - Marketing -> Import, you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in Business Administration - Marketing -> Import -> Exceptions. Whatever the exception, including duplication import occurs during import and recorded in a text file. What are the fields that determine the duplicity? How I can I can change those?
You will be returned anything that is in the option's value parameter. What is displayed in the dropdown and what is put in the value attribute do NOT need to be the same, so maybe you should start there.
-
Adding new column in an existing report which was build using Union
While working in OBIEE 11g I encounter an issue.
My existing report was build using UNION at Criteria Tab in Analysis. Now I have a requirement to add a new column into the same report. For each criteria I have added the new column but when I go back to the "Result Columns". I see a new field added but it is not allowing me to open or edit column properties for that new column & at the same time it is not allowing me to navigate to other tabs like Results, Promts, and Advanced.
I don’t want to build this report from scratch. Is there any workaround to get it resolved?Hi,
Just check it once the new added column data types are mismatched or not?
and the new added column should be navigated into excluded section, so u should edit the report and dragged into the table column section.
Thanks.. -
When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder? The endless scrolling technique is far too tedious when trying to add a new bookmark, because the window is simply too tiny. Is there maybe a plug-in that will let me grab the corner of that window and re-size it? Thanks!
I suggest you install the "Add Bookmark to Here2" extension, then you can expand the the list but you will not see the bookmark itself in the list if that is what you wanted. At the top you have three major folders you can select one of them and scroll up and down. Below that you have your most recently used folders and you can select one of them instead and scroll up and down. You can see the folder the bookmark is in -- they get added to the bottom
If you really want to see the bookmark within the folder the same extension allows you to bring the bookmark to the folder from say the bookmarks sidebar that is why it is named as such. I use it but mainly i use the dialog.
Please continue reading about bookmarks and some related extensions at
* http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
* https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
* http://dmcritchie.mvps.org/firefox/firefox.htm#addbookmarkhere2
* http://dmcritchie.mvps.org/firefox/kws.htm
If you are not using tags at all, you can remove a whole lot of confusion by removing them from the dialog via the extension. -
Revision: 14474
Revision: 14474
Author: [email protected]
Date: 2010-02-28 23:53:31 -0800 (Sun, 28 Feb 2010)
Log Message:
Adding a 'dispatchInitialChangeEvent' parameter to the 'watch' method in order to allow the initial change event from being dispatched, continued.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataWatcher.as*Feedback*
"Use the form below to send us your comments. We read all feedback carefully, but please note that we cannot respond to the comments you submit."
http://www.apple.com/feedback/ipad.html
We can complain about Apple's business decisions, but these discussions are user to user talk about possible solutions.
Here are the places to report bugs:
Get an account at
http://developer.apple.com/ then submit a bug report to http://bugreporter.apple.com/
Once on the bugreporter page,
-- click on New icon
-- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs. Scroll down to find the area or application that matches the problem.
-- etc. -
Adding a new field to the search help exit
Hi friends,
adding a new field to the search help exit. How does it work ?
Thanks in advace
IlhanThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
Adding a new field to the Address Data for a business partner
Hi Experts,
I am trying to add a new custom field to the address data (all structures and tables) that is linked to a business partner on SAP CRM via EEWB. Structure is the address structure wthin BUS_EI_EXTERN. Table is BUT020. I have been told that it is not possible as there is no Business Object that allows this. When doing an EEWB, the only business object is BUPA, which when selected, adds the new custom field to BUT000. I would like the field to be added to BUT020 (Address Table). This leads me to believe that there is no standard way of doing this, which ultimatley means that it would need to be done manually. Please help me with this predicament.
Regards
YusufThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
How to create new or delete the existing row in the grid....
hi my friends...
i am developing report using Reuse_alv_grid_display...
my requirement is... At runtime
1. i may create new row on the grid (empty row inwhich i may enter the data).
2. i may delete a existing row in the grid
3. i may edit the existing data...
then i have to trace the modification in the grid in one internal table...
how can i get into this.....
note:
i have some idea to edit the existing record in the grid and trace those modification,
but i don't know abt how to create new or delete the existing row....
can you give me some idea...Hi deva,
write a class which implemets these methods
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
To handle the toolbar on alv
handle_toolbar
FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object e_interactive,
To handle the buttons on the alv grid
handle_user_command
FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
endclass.
Now Implement these methods.
CLASS lcl_event_receiver IMPLEMENTATION.
To handle the toolbar on alv
METHOD handle_toolbar.
DATA ls_toolbar TYPE stb_button.
CLEAR gs_toolbar.
MOVE 3 TO gs_toolbar-butn_type.
APPEND gs_toolbar TO e_object->mt_toolbar.
CLEAR gs_toolbar.
PERFORM icon_create USING 'ICON_INSERT_ROW' gs_toolbar-icon.
MOVE text-010 TO gs_toolbar-function.
MOVE text-012 TO gs_toolbar-quickinfo.
MOVE ' ' TO gs_toolbar-disabled.
APPEND gs_toolbar TO e_object->mt_toolbar.
CLEAR gs_toolbar.
PERFORM icon_create USING 'ICON_DELETE_ROW' gs_toolbar-icon.
MOVE text-011 TO gs_toolbar-function.
MOVE text-013 TO gs_toolbar-quickinfo.
MOVE ' ' TO gs_toolbar-disabled.
APPEND gs_toolbar TO e_object->mt_toolbar.
ENDMETHOD.
METHOD handle_user_command.
In this form, check the function code(e_ucomm has the function code), based on that do the required action.
as i said yesterday(i.e for appending a row, deleting a row, modifying a row)
PERFORM user_command USING e_ucomm.
ENDMETHOD
endclass.
Before calling the alv method, create a object of this class.
DATA :
gref_event_receiver TYPE REF TO lcl_event_receiver,
gv_tables_alv TYPE REF TO cl_gui_alv_grid.
CREATE OBJECT gref_event_receiver.
SET HANDLER gref_event_receiver->handle_user_command
FOR gv_tables_alv.
SET HANDLER gref_event_receiver->handle_toolbar
FOR gv_tables_alv.
check this program for event handling, it is the similar way
demo_abap_objects_events
Hope u understood this.
Regards,
Prasant
reward if helpful -
Addition of new fields in the standard report QM15
Dear Experts,
i need to add new fields to the standard report t.code QM15 which display the list of items: selection of notifications.
the fields i want to add are:
1. batch no
2. Sample no
3. Main vendor
4. text for CDR
plz let me know how can i do this. if any one can help me with screenshoot doc. this is really helpfull.
Thanks
Sachin
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Sep 28, 2011 9:45 AMHi,
Have you added the selection text for the field ? also check the activation status.
Regards
Bikas -
Standard process for creating a new version of an existing report
Hi All,
We are using Siebel 8.1 with BI Publisher.
Does any one know the standard process for creating a new version of an existing report - ie if 'BIP Report XXX' is created and works correctly from the siebel view but then an enhancement is developed, how is the enhancement deployed so that the new version completely replaces the old?
One suggestion was:
You can upload a new version of an existing report. You have to navigate to Administration - BIP > Report Template Registration... search for the report you need to replace (I would say that the new rtf file need to have the same name). Now you have to go to the "Template" column where there is the reference to the report file already uploaded but you don't have to click on the link that is displayed you have to click near the link in order to place the cursor on the field then you will be able to see the Multi Value Grup icon .. you click on it and you will be able to upload a new file.
We have tested this process today, however it is not effective in replacing the old version of the report.
After carrying out this process (including related steps from bookshelf - ie "click upload files"), we can generate the report from the relevant siebel view and the previous version of the report is still generated.
Is there a standard process for replacing an existing report that is effective?
Thanks.Hi ,
This currently seems like a bug , we have encountered this too.
work around is you have to delete the rtf files from server Siebel\client\temp\XMLP directory and upload them again so that they are not cached any more.
same on dedicated client you may have to delete relavant files form siebel\client\temp\xmlp directory and upload again.
Thanks,
Vamsi -
Can I add new job in the existing Job
Hi Gurus,
There is a job which loads data from 4 ODS to respective Infocubes. Now we are adding new infocube and new ODS to the existing layout so can we add 1 more job which loads data from that ODS to corresponding Infocube. If so how??? Can u give me detailed steps to add new job in the existing job...
Thanks in advanceis the previous loads done through a job or a process chains???
Go to RSPC > check what process chains are there and in case if you find one > log you will see when it was last run and stuff.
But if it is a job in SM37, it is a different story, u might have to create a variant of that job and create events to trigger the job in sequence depending on ur scenario..
give more details. like when is that job triggered, if any events used. -
CProjects - Adding a new field to the detail screen of object link
Hi All,
I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
Please let me know how could i realise this functionality?
Thanks in advance.Hi Srini,
Thanks for your Reply
I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
But still that field is not visible in the dynamic selection screen.
Thanks
Ajay.D -
ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Dear friends,
Please help me with this scenario.Thanks so much for your help.
Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Need to create a new item on this page called "approver notes" (column notes).
Can this be achieved by personalization?
Scenario:
On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
When the status is "not approved”, item should be displayed along the "rejected" comment.
If the status is other than "not approved" then the item should not be displayed.what page is this ? are you sure it is a OAF page ?
If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
Tapash -
Adding a new server in the menu of SAP GUI 640
Hello Everybody,
While adding a new server to the menu of SAP GUI 640 using Server Tab after entering all details like :
1] SAP System ID
2] Hostname where message server is running
3] SAP ROUTER :None
After filling all the above details and after pressing the Generate List Button I am getting the following error .Please help me to know why this error is coming and suggest a solutio for adding a new server to my SAP GUI 640.But I am able to add a new server using User defined tab but I want to add a new server using Server tab.
Below is error details which I am getting:
Error:service'sapmsSBX'unknown
Wed Jan 09 06:41:13 2008
Release 640
Component NI(network interface),version 37
rc=-3,module ninti.c,line 463
Detail NiPGetServByName: service 'sapmsSBX' not found.
Thanks and Regards,
Ashish Thakkar.Hi,
check etc/services for sapmsSBX entry. If missing - add it (i.e. sapmsSBX 36XX/tcp - where XX is your instance no.)
Add an extra [Enter] after last line of etc/services.
Regs,
FS
Maybe you are looking for
-
My Mac Book Pro has slowed to less than a crawl (possibly from a worm or virus). How do I make sure it's running at peak efficiency before I complain to comcast
-
On my test website, where I show my work, there is a blink before the first item slides in. I didn't write the code, so was wondering if someone could figure out what is wrong. The site is at: http://www.gulladesign.com/homepage09.html If you select
-
Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes? The Ipod Touch, by itself does not allow cross-fading, therefore when the stop time is e
-
Hardware Specs Calculator!
Dear All, I need to know is there any website where i can find recommended hardware specifications for installing and running Oracle 10g Database. A calsulator type of thing. Like if the mention number of users is 200 and database size will grow up t
-
MouseMotionListener doesn't (seem to) work in JTextPane
Hello All, I have a JPanel and a JTextPane with the same mouse listeners: MouseAdapter(mousePressed, mouseReleased) and MouseInputAdapter(mouseMoved, mouseDragged). Both listeners have been properly added in both cases(addMouseListener & addMouseMoti