How to add fields to Info Cube
Hi, Experts,
I have created a FM infocube 0PU_C02. It contains four DSOs: 0PU_O31, 0PU_O32. 0PU_O33 and 0PU_O43. I need to create summery report, budget detail, commitment detail report and actual line item report based on the cube and four DSOs. I can write summery report based on cube. But each detailed report is not coming from only one DSO.For example, the data for commitment detail report will come from 0PU_O31 and 0PU_O32, and maybe 0PU_O33. How I can write report based on three reports? I was trying to add more fields like "long text, ref doc ID, etc" to the cube. But it won't let me add. Can any one give me a help?
Thanks a lot!
Jack
Hi,
If I understood your question correctly. You need 4 different report from fetching data from one cube and four DSOs. Reports may contain data from one or two or all infoproviders.
The easiest way to do this. Create a multiprovider on these DSOs and cubes. Create all the reports on that multiprovider.
Thanks,
S
Similar Messages
-
How to add fields to already loaded cube or dso and how to fill records in
how to add fields to already loaded cube or dso and how to fill it.can any one tell me the critical issues in data loading process..?
This is sensitive task with regards to large volumes of data in infoproviders.
The issue is to reload of data in case of adjusted structures of infoproviders.
Indeed there are some tricks. See following:
http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
https://service.sap.com/sap/support/notes/1287382 -
How to ADD field in iview ?
hi,
in portal-iview i want to add a field.
when i go to 'portal-content -> open the iview with right click -> preview' and then
do ctrl-alt-right-mouse click i got to the customizing of the fields.
i know how to HIDE fields there, but i don't know how to add fields ? in the list
of the fields the necessary fields are available, BUT i only have to options:
hide -> YES or NOT PERSONALIZED
any ideas ?
reg, MartinGopal,
the root element of this fields does NOT have the option 'decorate'.
it is the quoata overview of ESS : sap.com/ess~quotas
the top of the tree has option 'decorate', but this is above the necessary table where
i select the data.
my adrl is
martin.svik(at)denzel.at
maybe we can 'change' some screenshots where you can send me yours and i can
send you mine to explain it in a better way
reg, Martin -
Significant of key field in Info cube table
Hi,
what is significant of key field in Info cube table?
Best regards,
dushyant.hi ,
key figures are very important in tables, when it is in cube it act as dimensions
for the reporting purpose see this scenario
the table has following fields
student no
student name
student attendance
student mark
in this scenario when we want report according to student no its normal we would get, but when we want according to attendance,marks we dont get report according to attendance and mark, so we put all those fields in key fields.
So we could say that Key fields are the dimensions and according to this we get reports
thank yu -
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
How to add field value to the standard table
Hi,
How to add field value to the standard table?
for example:
when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.Hi Asif,
I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
Hope this is clear for u.
Thanks,
Vinod. -
HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T
hi frnds.
currently iam working on SD MODULE I NEED the NET DUE DATE SO HOW TO DO THAT
1 problem plz:
HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T
TOGETHER
one is date & other is numeric value so how?
one is date & other is numeric value so how to add this 2 fields
& finally i want to display the o/p in date format dd/mm/year
THANKS IN ADVANCE.Hi Mahesh,
one of the nice features of ABAP is that it takes care about month/year changes when adding days/month on a date.
ADD lv_zbd1t TO lv_zfbdt.
This should work fine. If not, try to convert zbd1t into an integer first.
To get you preferred date output format try this:
DATA: lv_datestring TYPE string.
CONCATENATE lv_zfbdt+6(2) '/' lv_zfbdt+4(2) '/' lv_zfbdt(4)
INTO lv_datestring.
This isn't tested, but should give you a clue.
Regards,
ok -
Reg:How to add fields to the scripts in detail
How to add fields to the scripts in detail.
Plz give me one example help me out.Hi
add fields to the scripts by sending that field between two &s.
for example if u want to add lifnr of lfa1 table then pass field like this.
&wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
if name1 then &wa_lfa1-name1&
in this way you can add fields to the script under any window.
i am sending one example program for scripts.
&--structure declaration--
TYPES:BEGIN OF ST_LFA1,
LIFNR TYPE LFA1-LIFNR,
NAME1 TYPE LFA1-NAME1,
LAND1 TYPE LFA1-LAND1,
ORT01 TYPE ORT01,
REGIO TYPE REGIO,
END OF ST_LFA1.
TYPES:BEGIN OF ST_EKKO,
EBELN TYPE EKKO-EBELN,
BUKRS TYPE EKKO-BUKRS,
AEDAT TYPE EKKO-AEDAT,
ERNAM TYPE EKKO-ERNAM,
BSTYP TYPE EKKO-BSTYP,
LIFNR TYPE EKKO-LIFNR,
END OF ST_EKKO.
TYPES:BEGIN OF ST_EKPO,
EBELN TYPE EKPO-EBELN,
EBELP TYPE EKPO-EBELP,
LOEKZ TYPE EKPO-LOEKZ,
AEDAT TYPE EKPO-AEDAT,
MATNR TYPE EKPO-MATNR,
NETWR TYPE EKPO-NETWR,
END OF ST_EKPO.
&--internal table,work area declaration--
DATA:WA_LFA1 TYPE ST_LFA1,
IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
WA_EKKO TYPE ST_EKKO,
IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
WA_EKPO TYPE ST_EKPO,
IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
&--data declaration--
DATA:TOTAL TYPE EKPO-NETWR,
V_EBELN TYPE EKKO-EBELN.
data: v_item(20) type c.
&--parameter for purchase document number--
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS P_PURDOC LIKE V_EBELN.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
PERFORM GET_DATA_FROM_EKKO.
PERFORM GET_DATA_FROM_LFA1.
PERFORM GET_DATA_FROM_EKPO.
&--grand total--
LOOP AT IT_EKPO INTO WA_EKPO.
TOTAL = TOTAL + WA_EKPO-NETWR.
CLEAR WA_EKPO.
ENDLOOP.
&--open form--
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
FORM = 'Z_50886_VENDOR'
LANGUAGE = SY-LANGU
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for header details--
READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HEAD'
WINDOW = 'HEADER'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for item details--
LOOP AT IT_EKPO INTO WA_EKPO.
concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
&--write form for vendor details--
READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'VENDOR'
WINDOW = 'ADDRESS'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for grand total--
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'TOTAL'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--close form--
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form get_data_from_ekko
FORM GET_DATA_FROM_EKKO .
SELECT EBELN
BUKRS
AEDAT
ERNAM
BSTYP
LIFNR
FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
ENDFORM. " get_data_from_ekko
*& Form get_data_from_lfa1
FORM GET_DATA_FROM_LFA1 .
IF NOT IT_EKKO[] IS INITIAL.
SELECT LIFNR
NAME1
LAND1
ORT01
REGIO
FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
LIFNR = IT_EKKO-LIFNR.
ENDIF.
ENDFORM. " get_data_from_lfa1
*& Form get_data_from_ekpo
FORM GET_DATA_FROM_EKPO .
IF NOT IT_EKKO[] IS INITIAL.
SELECT EBELN
EBELP
LOEKZ
AEDAT
MATNR
NETWR
FROM EKPO INTO TABLE IT_EKPO
WHERE EBELN = P_PURDOC.
ENDIF.
ENDFORM. " get_data_from_ekpo -
Hi,How to add field to sap Liquidity calculation module tables?
Hi Experts,
How to add field to sap Liquidity calculation module tables?
and how to add a field to a particular transaction code using a customer exits.
please tell me in detail.
thanks inadvance,
Regards,
RekhaHi Pranab,
Please follow the below steps to create an extra field and write code for that field through Infoset.
1-->Change in Infoset
u2022Go to SQ02 , enter Infoset name and click on Change Button
u2022Go to Extras (F5) button displayed on application bar.
u2022In Extras tab, click on 'Create' icon to create additional field E_NAME1, give as type C (character) and give desired length and. Enter header description as 'ShipToName'
u2022Select this field i.e E_NAME1 in one of the field group of Infoset.
u2022Go to Code section (Shift+F8) of infoset, Select Record Processing Event and write your logic code (condition) in this code section:
if vbpa-adrnr = space.
E_NAME1 = kna1-name1.
else.
E_NAME1 = adrc-name1.
endif.
2-->Generate the Infoset.
3-->Change in Query
u2022Go to SQ01(in a new session), give your query name (by selecting your user group) and click on change button.
u2022Check the field group in which you have added E_NAME1 field, then check E_NAME1 from Fields screen
u2022Click on 'Basic List' button; give line (row no.) and sequence (column no.) for extra fields.
u2022Execute/Test the Query, you will get desired result.
Please let me know, if you need more information.
Regards,
Dinesh
Edited by: Dinesh Tiwari on Oct 29, 2009 7:13 AM -
How can i add fields to a cube which is in production support
hi,
how can i add fiels to a cube which is in production support.Hi Maruthi
You need to add new fields to cube in Development system and then transport it to production after testing.
Edit cube in RSA1. Add the new infoobjects from right hand directory to left hand pane and assign these new infoobjects to suitable dimensions. Save and activate the infocube. Now go to change update rules for this infocube and do proper mapping of these infoobjects.
Save & activate the update rules.
RSA1-> Transport connection-> select cube, update rules and related objects and create transport request.
After testing is done, give the transport request number to your Basis person and he will do the transports for you.
Regards
Pradip -
How to add fields to Structure in Report Painter
Hi All,
We have a requiremnt where we need to add 2 fields ( profit center-PRCTR & description-CEPCT-LTEXT ) to structure CCSS. This structure is attached to library 1VK.
Is it possible to add fields directly to a structure or do I need to create a new structure and attach it to a new library.
If any one of this is possible, how can I do this ?Hi ,
u can do it in both the ways , but i am not much sure abt second option.
Useful Tcodes are GR21.
Regards
Prabhu -
How to add fields in a z table
hi experts !
i have to add a new fields to an already existing Z table. how can i add field? do i have to delete all other entries and create new ones so that the entry in the new field also gets created.?
akankshaHi,
You have two options to enter data type while creating new field in table.
1. User standard data types i.e. mandt, kunnr etc..to use it u need to press "Predefined type" button present on top of table fields.
2. User custom data elements...this data elements you creates when you want to have data field specified to your required length.
Hope this will help.
Sumit -
Hi Experts,
In my requirement I 've to add two custom fields in ME21N Transaction at header level in customer tab.
I 've added two fields say F1 and F2 using Screen exit..
Now I need to add condition based on F2 in ZXMEWU08... But there is no field F2 in the POHEADER.
How to add that field? Please help me .
Thanks in advance.
Regards,
Saran.Hi Saran,
You can do that with the MM06E005 enhancement in the CMOD transaction. First you have to
configure the CI_EKKODB append structure in the EKKO database table. In the CI_EKKODB structure you have to define your Z fields.
The EXITs that you need are:
EXIT_SAPMM06E_006 --> PBO
EXIT_SAPMM06E_008 --> PAI
DYNPRO 101 --> Where you'll insert your new Z field.
Best Regards -
How to add Fields in Additional Data B in VA01/VA02.PLease help me out.
HI All,
My requirement to add a Custom Screen in Va01/VA02 .Kindly suggest if any screen exists are there.
How to Add extra fields in Additional Data B in header of VA01/VA02.is access key is neccessary for that.
Thanks in Advance.Hi
Check the link
http://techbays.com/2008/04/17/implicit-enhancement-in-sap-ecc-60/
There is a BADI BADI_SD_V46H0001 and Method EXIT_SAPLV46H_003.
You should be able to it without access keys.Consult your SD Functional Guy also
Regards
Sanil Bhandari -
How to add fields in subcreen in MM01 in purchasing viewu0092
HI experts,
How to add some fileds ie check boxes in the MM01 transcation wht is the procedure to add the fields and how to give the functionality to tht checkbox.
The added screen will be appearing in the view purchasing only for the conditions WERT materials. example.Hi,
Try Screen Exit................
Cut and paste the below code in se38 and type the Tcode you will find the Exit and refer table MODSAP
TCODES SMOD, CMOD.
*& Report ZVBUSEREXIT *
REPORT ZVBUSEREXIT .
TABLES : TSTC, "SAP Transaction Codes
TADIR, "Directory of Repository Objects
MODSAPT, "SAP Enhancements - Short Texts
MODACT, "Modifications
TRDIR, "System table TRDIR
TFDIR, "Function Module
ENLFDIR, "Additional Attributes for Function Modules
TSTCT. "Transaction Code Texts
*& Variables
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK A01 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK A01.
*& Start of main program
START-OF-SELECTION.
* Validate Transaction Code
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
* Find Repository Objects for transaction code
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME = ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
* Find SAP Modifactions
SELECT * FROM TADIR INTO TABLE JTAB WHERE PGMID = 'R3TR'
AND OBJECT = 'SMOD'
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT JTAB.
SELECT SINGLE * FROM MODSAPT WHERE SPRSL = SY-LANGU AND
NAME = JTAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 JTAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE JTAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
* Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Regards,
V.Balaji
Reward if Usefull...
Maybe you are looking for
-
How to access and display a Web Service from a WSDL in JSP or JSTL ?
Dear All, We need to access a Web Service which is hosted as WSDL How to access a WSDL file from JSP or JSTL, parse and display the SOAP response in JSP page. Any simple example or URL as reference to an example will be useful for me. It seems io tag
-
There's no proper way to export charts to PDF in numbers 3
In Numbers 09, there're at least two ways. 1. copy the chart and paste to preview with `New from clipboard`, although this has some bugs on the chart format 2. Copy to pages, export as RTFD, and extract the pdf in the package. However, when upgraded
-
Using genres as Movie sub folders?
Is it possible to set up the "automatically add to itunes" watch folder to treat movies similar to tv shows / music? So for example, when you copy over an episode of a tv show (and it is properly tagged) to the automatically add to itunes, itunes bre
-
ITunes Systematically Find Files
My computer got a bug and needed to be recovered. I had all the songs from iTunes saved, and in My Music Folder. iTunes continues to list all my songs, but cannot find the files. Is there anyway to have iTunes systematically find the songs (vs me cli
-
DMA options when upgrading on new MCS hardware
Hi, Customer has Publisher and a single Subscriber running version 4.1.3 SR1. Customer requires upgrade to 6.1.2 using new MCS hardware. I want to make sure that I use the correct method for upgrading to 6.1.2 on the new servers. This is an overview