Adding a new field to VA05 Report output
Hi All,
Please suggest what's the best method to add the new field in the report output of VA05 this can be done in 2 ways one way is by writing the code in theUser exit PERFORM MOVE_USERFIELDS or copy the whole program to Zprogram and write the Code?Ist one need access key but the the other method is not required.
Please suggest me the best method
Thanks&Regards
Mahesh
Hi Mahesh,
i'm in the process of making a similar change,
copying to a ZPROGRAM is not so difficult, but as i told you you have to add your new field to VBMTV structure, and copy the includes that you need to change,
P.S. Note, when you copy you have to change some SELECT statements where
it's selecting from T180V table based on sy-repid, you hav to change sy-repid to SAPMV75A, as there's some configuration done for this.
Regards,
Raghavendra
Similar Messages
-
R12 Format Payment Instructions - new field required in report output
Hi
I need to add a new field in the report "Format Payment Instructions " output. How can I add the logic to pick this field and then add to the layout.
As per note 562806.1, it gives instructions on how to re-arrange the layout of the format payment instructions but not regarding adding logic to pick new fields.
Any help would be appreciated.
Regards,
AlisterHello
Could you plse help me out in adding new filed in BaCS format program .
We are in Release 12,I need to customize the format program by adding new fields
I tried generating a new template by following meta link note .. but that itself is erroring out.
If you have any sample code and the steps plse send it across
Any help is deeply appreciated
Regards,
Priya -
KE5Z : UserExit or SAP Note for adding new fields in the report output
Hi,
I want to add 2 new fields in KE5Z (Profit Center: Actual Line Items) report output.
Order reason(AUGRU), Sales Document Type (AUART) fields.
Is there any UserExit or SAP Note available for this....
Thanks in advance,
fractalHi Fractal,
See if Note 92864 will help you.
Summary
Symptom
Through a modification, it is possible for you to include additional fields in the profit center line-item reports 'actual' and 'plan' (Release 3.1*).
Additional key words
KE5Z, KE5Y, RCOPCA02, RCOPCA08 -
SUPPORTGUIDE 20010613143936 -
REPORTWRITER,
SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
Cause and prerequisites
The fields must be located in table GLPCA (for actual) or GLPCP (for plan).
For Release 3.0F, you should ensure you have applied Note 62511 first.
Solution
To include a field in the actual line item report, proceed as follows:
Call the ABAP/4 Dictionary (Transaction SE11) and display table GLPCA. You can then find in a line the field name and data element for the field you want to include.
Return to the initial screen of the ABAP/4 Dictionary. Now change the structure RPCA2. If the structure does not yet contain the field, you select Edit -> Insert field; enter the field name and data element. Do not insert the new field at the beginning of the structure but in the rear half of the structure.
Then save and activate the structure.
Now call the ABAP Editor (Transaction SE38). Change the source code of program RCOPCA02. Insert the lines set out in the attachment in FORM routine FIELDCAT_FILL. When you do this, replace SGTXT by the field name of the field. If you normally want the field to be displayed when you the access the report, delete the line afield-no_out = 'X'. "<<<< insert Note 92864 .
You should note that the place where you insert the lines influences the position of the column in the report list.
To include a field in the Plan-line-item report, carry out the same procedure except with table GLPCP, structure RPCA8 and program RCOPCA08.
Note: Pls check if these 2 fields are available in any of the layout versions you have available with the transaction.
Cheers,
Vikram
Pls reward for helpful replies!! -
How to add a new field in predefined report output
HI,
how to and where to search for the filling of "fieldcat table" in the predefined ALV report.
So that i can add a new field in the output of a predefined reportHi
Try to check where the fm REUSE_ALV_FIELDCATALOG_MERGE is used in the report.
Max -
Adding new field to MB51 screen output
Hi All,
I need to add a new field TCODE2 from MKPF table on the screen output of MB51. I have added my new field thro SPRO following the below steps:-
Go to SPRO -- MM -- Inventory Management and Physical Inventory -- Reporting -- Define Field Selection for Material Document List
Here I have give
RM07DOCS MKPF TCODE2 Transaction code -- output box checked
and saved.
Now I tried to re-execute the transaction MB51 but not able to see the Tcode2 on the output screen .
Can any one help me out, if I am missing out something or is there any thing else i need to check on the ALV output to see the field TCODE2 on the screen og MB51?
Regards
Shilpa.Hi,
Check these notes:
Note 357187 - MB51: Fields in field catalog / selection screen
Note 828104 - Enhancing MB51 for AFS
I hope this helps you
Regards
Eduardo -
Adding a new field (KTEXT) in output of T-Code KOK5.
Hi,
kindly help me, I have to add a new field KTEXT in the output of T-Code KOK5 it is standard report.Which version do you have? I have KTEXT by default, it's part of the COAS view and it can be selected in the standard ALV Grid ouput. Check your variant, it should be there.
Peter -
How to add new fields to standard reports
hi friends,
im into ABAP and working across all modules..the basic thing is users and functional people are not satisfied with the standard reports..they need some logic change or to add some more fieldsinb the standard reports.For logic change we have to copy the standard to zprogram and can do or create a new program itself..but in many cases they ask for extra fields.how to achive it ..
for example my requirement now is adding vendor name field to the report FAGGL03 ....i found a badi and have make changes to it ...now the vendor name will be coming in sgtxt over writing the text ...but they need text also...now what shall i do???
append structure vendor name field in faglposx table ....???how to find out the final internal table from where the output is coming ????
?when we check the standard rewport codes...there are lot of include statements perform statements etc ...how to find out the final structure or internal table which has the output values..???hi
it would be better if u giv full name of the report
if ur displaying the data in alv then search for the
word REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY from which u can get the final table name
then check the data that is comming into
try using implicit enhancement or any other exit in the declaration and declare a new structure with the field and append it to the field catalog
if ur displaying the data using write statement
then create a zprogram and add a write statement
fi ur unable to find here the final table then after displayign the report start the debugging and double click on any row to find out more easily
shiva -
Adding a new field in a standard ALV reort
HI,
I have a requirement of adding a new field to Standard ALV report. The TCODE is CN50N. When you execute it and gives the project as input it will display an ALV report. i want to add another filed to that ALV report. The program it 's using is RPSISKB000. How to do it???
regards
sandeepHi,
Check in the ALV output whether these fields are already there and not displaying in the ALV output, if the fields are not at all printing in the ALV output,then copy the Program to Z program and change it.
write the Code to add the new fields to the internal table and change the Field catalaog to come your fields in the ALV output then print it
Regards -
How to insert a new field in the Report Designer
Hi all.
I have a query and a report, but the query evolve.
We have a new key figure (inside rows).
In the report designer, I check the data provider.
The new key figure is added in the catalog field.
Now, I would like to insert the new field in the report.
I add a new row in the report structure but it isnt what I want.
In this case, I add a second row inside an another keys figures block.
I want to create a new block for my new key figure
Thanks for your help
CélineYes, key figures is in the field catalog.
But When I do that " Insert a row ", Report designer create a " row 2 " below another key figures.
And it isn't what I want. I want a new block .
For exemple in the tab report structure (My new key figure is "Margin")
I do that
Group Level 1 : key figures
Detail Area
Sales Amount
row1
cell1
cell2
Cost
row1
cell1
cell2
row2 ( the new row added)
cell1
cell2
But I want that:
Group Level 1 : key figures
Detail Area
Sales Amount
row1
cell1
cell2
Cost
row1
cell1
cell2
Margin
row1
cell1
cell2
Thanks for your help -
Adding a new field to the selection screen of a LDB
Hi all,
I want to add a new field Clearing date(BSEG-AUGDT) in the dynamic selection screen of the report RFUMSV00.
For adding a new field i have copied the SAP view of a Logical database to CUS view.
Next i had added the Clearing date(BSEG-AUGDT) to the function group Document header(01) and selected the check box Preselect and saved the view.
But still i am not able to find the newly added field in the dynamic selection screen of the report.
Please suggest me where i am going wrong or how to do this.
Thanks in advance
AjayHi 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 field and new data item breaks layout
I am adding a new field to a subform and populating it form a .Dat unfortunatly adding this field is causing data outputed to the subform below it to shift down one line on the page when outputted.
This new field is outputted at the top of the form and and the line being shifted are below this.
Below is the field details and the field as it is in the .dat file.
Field:F_PO_NUMBER [1]
Lines: 1 Characters: 20 Angle: 0
In Subform
: Main_Page
Options
: Global
^Command JFPAGE_START
^Undefine global:~^PAGE 1
^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
^GLOBAL F_CURRENCY_CODE
GBP
^FIELD F_PO_NUMBER
^COMMENT R_remit_customer
^FIELD F_REMIT_TO_CONCATENATED
Address
^COMMENT M_INVOICE_HDR_BOX1
^GLOBAL F_TRX_TYPE
Invoice
Now the weird party is if I move the new field in the .dat as below it fixes things and the everything lines up like it should do.
^Command JFPAGE_START
^Undefine global:~^PAGE 1
^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
^GLOBAL F_CURRENCY_CODE
GBP
^COMMENT R_remit_customer
^FIELD F_REMIT_TO_CONCATENATED
Address
^COMMENT M_INVOICE_HDR_BOX1
^FIELD F_PO_NUMBER
^GLOBAL F_TRX_TYPE
Invoice
^FIELD F_TRX_NUMBER
I hoping someone might have an idea of why this is the case as I'm at a loss regarding why its happening.I may not hit on it exactly, but this sounds like Adobe's processing order.
It wants to process the fields in the order they are in the DAT file.
I have a similar problem with an overflow field, that isnt last in the DAT file,
Read this here:
http://forums.adobe.com/message/2298283#2298283
Now that may not be exactly your issue, but I think its the same inherent problem,
Adobes processing order for the fields/subforms.
I am still trying to resolve my issue, but found the ^field command in the reference manual (Print Agent),
and am wondering if I can use it. -
Error while adding a new field to the Segment in we31
Hi ,
I am getting error when i am trying to add the new field to the cust. segment.
It is released for the adding the new fields i am cancelling the release , but i got a message like this
Error while resetting release of segment 'segment name'.
it is comming from the message class EA and message number 259.
Thanks in advance.
Reagrds,
bharaniHi,
Have you tried Cancelling the release before adding the version?
Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
Please let me know if it worked!
Vijay -
Adding a new field to search of Service Contracts
Hi Experts,
I have a requirement where in to add an existing field i.e your ref (sold_to) your_ref_sold field into the search criteria of Service Contrct .
How to add the field to the Search .
I have few questions here.
1 need I use EEW to add the field to Search but its already existing?
2 If not How to append the Structure crmst_query_src_btil and enhace it with field required?
3 how to implement the BADI crm_rf_search_eew?
Thanking You,
Sree.The 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 a Z table
We have a Z table on which we have created a datasource. We have created a virtual cube on this datasource and queries are built on this cube. This setup is present on Dev, Quality and Prod environment.
Now we have added a new field to the Z table in Dev. We will be creating a new Infoobject for this new field and will be adding it in the Virtual Infoprovider and also in the queries.
1. Do we need to replicate the datasource so that newly added field is visible to the datasource? If no, is there any way?
2. When I have to transport this to Quality and Prod, do I have to capture all the components and objects (Table,Datasoure,Virtual Cube Queries)? If no, what should I capture in the transport request?Hi,
First, you have to regenerate the datasource in order to add the field:
1) Log on to source system (where Z table is stored) and go to transaction RSA6.
2) Select the root node and click Expand (icon with '+' sign).
3) Search for your datasource (you can use the binoculars icon).
4) Click on Change.
5) Verify that the field appears on the list. Make sure that "Hide field" and "Field only known on client exit" options are not marked for this field.
6) Click on Save.
7) Select "Datasource" -> "Generate" (CTRL+S) menu option.
8) Use RSA3 transaction in order to verify the new field appears on test extractions.
Then, to replicate the datasource in BI:
1) Log on to SAP BI and go to RSA1 transaction.
2) Go to "Modeling" -> "DataSources" section.
3) Search for your datasource and right click on it. Select "Replicate metadata" from context menu.
4) Add the new InfoObject to the VirtualProvider.
5) Update the transformation which joins the DataSource to the VirtualProvider.
As far as transport requests are concerned, even though it requires more work, it is a good practice to group objects in different transport requests according to their type:
In the source System (R3 for instance):
1) One transport request with the table.
2) One transport request with the datasource and its structure.
In BI:
1) One transport order with the datasource replica.
2) One transport order with the new InfoObject(s).
3) One transport order with the modified VirtualProvider.
4) One transport order with the modified transformations from the datasource towards the VirtualProvider.
5) One transport order with the Queries and their elements.
I hope this helps you.
Regards,
Maximiliano -
Adding a new field to a standard webdynpro component's layout
Hi all,
I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD') layout.How do i go about adding a new field to the standard component's lay out?
can anyone help me with the necessary details?
Regards,
Abhinay.Check if this is useful to you (Login required)
https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
Rgds/Kiran
Maybe you are looking for
-
My iPhone 4 says "backed up-never". I am trying to back up to Icloud..it says it will automatically backup when is plugged in, locked, and connected to Wi-Fi. Does this mean I have to lock my phone? It shows "backing up" & "estimating time remaini
-
Is it possible to download just the servicepack, like you could do back withWLS 6.1? Or do you have to download the whole server?
-
How do I get a borrowed library book(EPUB) to show up in Adobe Digital Editions?
I had no problems with Windows 7 and Adobe Digital Editions II but Windows 8.1 and Adobe Digital Editions IV are not doing the job.
-
Exported jpg doesn't look like what I see in LR
I am stuck on this one problem and am hoping you folks can help out. I have an image I've beenworking on in LR and PSE. It looks good in LR, but when I export it to a jpg, my last round of changes aren't saved. The image that's exported is grainier
-
Strange firefox issue(no titlebar) after compiz update
Hi, I ran pacman -Syu and it updated my compiz, and immediately after, all the firefox windows open with no title bar, i have to press f11 twice, once to put it in full screen, and once to bring it back to regular, to get the title bar back. any idea