Vl10 extra field not translated
Hi,
In my company we use an user-exit to enhance the transaction vl10 (via "V50R_USEREXIT_TRANSF" and another include -> see source code below). This user-exits adds an extra field called "ST_ZZPRO" to the slider "Sales Order" of the selection screen of the transaction vl10 (see the attached picture "vl10 German")., This field allows to also choose the product hierarchy. This was implemented a long time ago and works afaik fine.
The only problem with it is that the name (sic!) of the field "ST_ZZPRO" is not translated. So when I choose English ("EN") as a login language, the name of the field just shows up as "ST_ZZPRO" in the transaction vl10 (see the attached picture "vl10 English").
This really suprises me as when I look up the selection texts of "ST_ZZPRO" it says "dictionary ref." and even translates it when I look at it in English (see the attached picture "Dictonary reference").
Below I also attached the relevant code of the user-exit. Aside from comments there is nothing missing from my excerpt.
Any help would be greatly appreciated!
BR Michael
"V50R_USEREXIT_TRANSF":
===
FORM userexit_select_options_transf
CHANGING cx_select_options TYPE shp_vl10_select_options
cx_list_profil TYPE shp_vl10_list_profil.
cx_select_options-zzpro = st_zzpro[].
ENDFORM.
===
The extra include:
===
select-options: st_zzpro for vbap-prodh.
===
Hi....Kiran....
Say know we are craeted sales order with help of BDC... Now we are going to upadete one Ztable , which is having VBELN as a field.
After complition of your BDC....
> select * from <dbtable> into corresponding fields of table i_docno.
> read table i_docno with key <any key>.
> if sy-subrc = 0.
> i_docno-vbeln = p_new_vbeln. <-----generated by BDC
> modify <dbtable> from i_docno.
> endif.
Same logic you can use for internal table or flat file entry, If so you hav to write above code with in the loop.
All the best. Plz get back here. If any problem with this.
Thanks,
Naveen.I
Similar Messages
-
Sq02 Extra field division result not correct
hi.
i make an extra field in sq02. where i calculate 30 / b.
c = 30 / b.
c and b are type P with decimals 3.resolved by my self
-
Insert extra field in ALV report
Hi All,
Ive requirement like need to add Vendors Country Code very next to Tax code field in standard SAP standard ALV report S_ALR_87012357 .
Ive copied program (RFUMSV00) into z-program.
But Im not getting any idea how can I add extra field in field catalogue and corresponding value in internal table.
Any ideas please ..
Full points will be rewarded for useful answersI didn´t understand the question very well, but if i am in certain, you will have to modify the internal table to add the field. If the table which shows the alv is like a data base type, you will have to modify this in this way:
data: begin of gt_table occurs 0,
include structure ,
new_field type XXXX.
data: end of gt_table.
Then, you will have to add this new field to the field catalogue, in this form:
ls_catalogue-fialdname = 'NEW_FIELD'.
ls_catalogue-tabname = 'GT_TABLE'.
etc...
Luck in your requeriment.
ls_catalogue-tabname = 'GT_TABLE'.
etc...
Luck in your travel. -
Hi experts,
i want to add extra field in alv that is totalprice
the total price = qunatity * price
already quantity and price from data base tables
but the field total price is not from any table..
thanks advansHi,
Quantity and Price both are ddic fields.
Define the TOTAL PRICE of the type Price in the final internal table(table to b displayed).
before passing the data / in looping define the logic...
LOOP AT T_SOURCE.
T_FINAL-PRICE = T_SOURCE-PRICE.
T_FINAL-TOL_PRICE = T_FINAL-QTY x T_FINAL-PRICE
ENDLOOP.
Now all the required values are in the final table.
Reward if helpful.
Thanks. -
How to add an extra field in the output of a predefined report
Hi everybody,
I have to add an extra field by name "DAYS"(VTBFHAPO-ATAGE) in the output of a predefined report" RFTMBL01".
please provide me the code and where to add in the predefined reportHi Pasquale Isolato
the predefined alv report name is "RFTMBL01" . If u r with system please check the code and the field name i have to add ids"DAYS'.
if u are not with system please reply me so that i will sen the code also
Thanks in advance -
How to have extra Field attributes as per BP Role?
Hi all, using path Cross-application components->Business Partner-> Field Groupings -> Configure field Attributes per BP role, we come across Data Sets for each BP role where we can specify if fields can be hidden, required or optional. What if i want to add more data sets, i am not able to add it here. For the same, i need to use tcode BUSD and then assign a new Data Sets to BP Views (of same BP role). But i am not able to see any effect of the same. Can someone advise what I am missing out on. For e.g. if i want to use Data Set "tax numbers" and assign it to the BP View "xxx", which in turn is assigned to BP role "xxx", I am not able to see the extra fields for Data Set "tax numbers". Is there way i can find out what all fields are there in a particular Data Set?
Hi Bappaditya,
You will not be able to add new fields via the IMG path Cross-Application Components->SAP Business Partner->Business Partner->Basic Settings->Field Groupings->Configure Field Attributes per BP Role. This is used only to control the various visibility options of the fields associated with the datasets that are attached to your BP view.
Now, if you want to add new custom fields to your BP role,
1. Create a new BDT application that uniquely recognizes your scenario (Tcode -> BUS1)
2. Create a new Dataset (Tcode -> BUS23)
3. Create a new field group (Tcode ->BUS2)
a. Here, associate different fields from data dictionary to the new field group
4. Create a new View (Tcode->BUS3)
a. Assign, your BDT application
b. Assign your data set
c. Enter the screen painter program name and screen number
d. Enter function modules that may be required to validate screen input
e. Assign your field group
5. Create a new Section (Tcode-> BUS4)
a. Assign yoru view to Section
6. Create a new Screen (Tcode-> BUS5)
a. Set Screen type (Data screen, Initial screen - Dialog, modal dialog box etc.)
b. Assign your section to your screen
7. Create a new Screen Sequence (Tcode->BUS6)
a. Assign your screen
b. Assign screen sequence category
8. Create Divisibility View (Tcode->BUSD)
a. Assign your data set
b. Assign Calling BDT application
c. Assign screen sequence
9. Define new BP role using IMG Path Cross-Application Components->SAP Business Partner->Business Partner->Basic Settings->Business Partner Roles->Define BP Roles
a. Here, create new BP role category
b. Assign your view
You can then control the visibility of your fields by using the option 'Configure field Attributes per BP role' as you mentioned.
Hope this helps.
Regards,
Pavithra
**PS : Please reward points if this helps. -
Hi,
I am working on infoset which is reteriving the data through Logical Database and trying to add the field for the field description.
It has to display the data through data element but it is not doing so .
Actually, i had created a query which shows the data about the changes made in the Material.I am able to display all the data but not the text that shows the description of what has been made .
Here's the code:-
TABLES: CDPOS.
DATA: E_DD04V LIKE DD04V OCCURS 0 WITH HEADER LINE.
DATA: E_DD03L LIKE DD03L OCCURS 0 WITH HEADER LINE.
DATA: P_DDTEXT LIKE DD04V-DDTEXT.
IF CDPOS-FNAME <> 'KEY'.
CALL FUNCTION 'GET_FIELDNAME_TEXT_1'
EXPORTING
I_AS4LOCAL = 'A'
I_AS4VERS = '0000'
I_FIELDNAME = CDPOS-FNAME
I_TABNAME = CDPOS-TABNAME
TABLES
E_DD03L = E_DD03L
E_DD04V = E_DD04V
EXCEPTIONS
ERROR_IN_PARAMETERS = 1
NOT_FOUND = 2
OTHERS = 3
ENDIF.
IF SY-SUBRC <> 0.
CLEAR E_DD04V-DDTEXT.
* ELSE.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF CDPOS-FNAME = 'KEY'.
P_DDTEXT = 'New Entry Made'.
ELSE.
P_DDTEXT = E_DD04V-DDTEXT.
ENDIF.
Please provide me guidelines to solve this problem.
Edited by: ricx .s on Jul 15, 2009 11:37 AMHi,
Currently i am doing the following:-
I had created a Logical Data Base where i had made the logic for the Changes Made To Material. I am fetching the data from the following tables:-
MARA,MAKT,CDHDR AND CDPOS.
As i am checking the LDB it is working fine as i had verified the data and i follow the whole procdeure to make Query and then generated it,it is working fine. But when i try to add the extra field (which shows the description what change has been made,it give errors for it).
Please provide me guidelines to solve this problem. -
Hi,
I'm struggling with programming RFUMSV00.I have to extend this program with one extra field (BSEG-EGBLD).So I made a Z-copy of the original.But this program is working with a logical database.Program is using two field-groups : header and daten.Futher one it's using
INSERT ep INTO daten.
So I have extended this structure (ep) in the program with the field EGBLD.Then before the extract statement I have added the following code :
GET bseg.
select single egbld from BSEG into ep-user_field_a
where bukrs = ep-bukrs
and belnr = ep-belnr
and gjahr = ep-gjahr
and bschl = '01'
and mwskz = 'A4'.
EXTRACT daten.
Program is working with ALV.But seems to be that subroutine PERFORM print_table
TABLES
<gt_alv>-t_auste_ep "lt_outtab
USING ...
is not modifable for parameter <gt_alv>-t_auste_ep .
So I am lost.
Is this the way ? Or do I have to use Badi's ?Anybody who can give me some advice ?
regards,
StefanStefan,
I am not sure which version of WAS you are working on. But if you are working on WAS 6.40 by any chance, there might be some help.
Take a look at my weblog.
/people/ravikumar.allampallam/blog/2005/12/05/need-a-way-to-change-appearance-of-a-standard-existing-alv-report
Regards,
Ravi
Note : Please mark the helpful answers -
Column Headings in the report and adding an extra field to the report
Hi All.
I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
How to add an extra field to the existing report?
Any pointers will be very much helpful.
Regards,
SSR.Hi,
you can get this done in 2 ways:
1 - Change the query to add another column and the re-generate the report
2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
thnx,
ags.
Edited by: Agasti Kale on Jun 12, 2008 6:26 PM -
ESS Personal Information Address- hiding of custom fields not working
In the personal address of ESS we had added four extra fields for communication.
We need to hide the fields when value is zero.
The coding is written in wdDoModifyView of Reviewview in VcPerAddressUSReview
we will get the value of Communication fields like below.Com01 is the context name for communication
String com1 = wdThis.wdGetContext().currentSelectedInfotypeElement().getCom01();
After that if com1 is zero we are trying to hide the fields in that line
by creating a Context node Fcom01 of type com.sap.ide.webdynpro.uielementdefinitions.Visibility and setting Fcom01 to NONE as below.
WDVisibility vsble = wdContext.currentFlagsElement().getFcom01() ;
wdContext.currentFlagsElement().setFcom01(vsble.NONE);
and Fcom01 is linked in the prpoerty of visible condition of comm fields
No error is showing but when we run it is showing a Null pointer exception
in portal for the Review page.
Thanks and regards,
Safeer.IHello,
are you checking that com1 is actually populated
do a check like:
if (com1 == null || com1.equalsString("0") )
blah
Sorry - syntax is unlikely to be correct - but hopefully you get the idea - just because you retrieve a value from the context does not mean that it is non-null.
Cheers,
Chris -
Adding extra Field to a Infoset Query
Hi Experts,
I need to add an extra field to a SAP Query(infoset). SInce the code uses a dynamic program call, how do I add my code . Can I have some example code used to add extra field to a SAP QueryHi Mithun and gurus,
My code is working now for these 3 new additional fields. The thing is it works if these fields were selected solo. but if all of these 3 or 2 of it simultaneously, an error occurs.
Error when generating the report (see long text)
Message no. AQ_AD_HOC221
Diagnosis
The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
Procedure
If the selection screen is too large, you need to reduce the number of your selections.
Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.
Output at least one field. Otherwise you will not be able to save or generate reports.
If you do not have this problem, execute the query using the 'Output' function.
Otherwise, there is an error in the InfoSet Query.
>>>I checked and the code seems fine at least. I think there must be something I need to configure. I tried the SEQUENCE for Codes but nothing happens..
I hope you could helop me with these..Thanks a lot!!! -
How to hide extra field in IDOC segment E1EDK01 of ORDERS MSG TYPE
HI Gurus,
We are upgrading from 4.6c to ECC6, I am facing with a prolem in my outbound IDOC for ORDERS msg type.
In the header segment E1EDK01 is having extra field HWAER in new version ECC6 and rest of the idoc remains same, can any one help me how to hide or remove the field from the header segment.
Any hint or solution will be appreicated.
Thanks
TanguduHi,
If you want to remove the fields you can use. BD53 where you need to create the new reduced MESSAGE type.
Follow the procedur in attached [LINK|http://wiki.sdn.sap.com/wiki/display/ABAP/ReducedMessageTypes]
As per your question i understood. you have field HWAER in 4.6c nad 6. But the field is not sent to reciver in 4.6c.
So In another way you dont want to send this field in this case you can write a code in cusom exit to balnk this field out in ECC 6.
Hope it helps,
Shanmugavel Chandrasekaran -
Addition of extra fields in Standard report
Hello Friends,
I just wanted to add some extra fields in the standard report MB51, MB52 & MC.1. I wanted to add some of the fields from Basic data1 & 2 screen.
is there any method to do this.
Regards
ACPDear
Please check the folloiwng :
For MB51/MB51 -Additonal field : SAP note 357187
Refer this useful theard from expert : Re: req additional fields in MB51
Regards
JH -
Include structure and extra fields in the same Internal Table
Hi developers,
im trying to declare an internal table with include structure and extra fields,
something like this:
data: BEGIN OF it_loans occurs 0,
include structure zthrca006,
status(10),
pernr like pa0001-pernr,
sname like pa0001-pernr,
tipomov(20),
monto like zthrca006-monto,
data: END of it_loans.
zthrca006 is huge so i dont want to type everithing.What is the issue?
data: BEGIN OF it_loans occurs 0.
include structure zthrca006.
data : status(10),
data : pernr like pa0001-pernr.
data : sname like pa0001-pernr.
data : tipomov(20).
data : monto like zthrca006-monto,.
data: END of it_loans.
Regards,
Ravi
Note - Please mark all the helpful answers -
Coding extra fields in infosets
Hi group,
We have coded several extra fields in our infoset. This works fine for the most part when users query on a reference date. The challenge is when they query a period. I have yet not found a way to write my code so it outputs the correct values for the records that exsist in the period of the query.
I have tried different date-handling in my where-clause, but they all seem to give some unexpected surprises.
So I am looking for best practice here - preferrably with examples.
Do you guys know of any documentation on how to write code to handle record splits like this?
I have searched documentation, forums and blogs without finding a good answer.
Best regards
KirstenHello Ricky Sh ,
The reason for those additional fields is in the SE11 is by defalut after you go inside the SE11 and enter the table name and go inside by pressing "F7" . There if you see the menu Go-> Text table there the link is assigned internally. That is the reason you are able to see the texts in the SE11 result screen.
To create a tabel with text table field shown up you need to create a table as mentioned below:-
Procedure
To use the functions offered by a text table, create a table(ZCustom Text Table) in the ABAP Dictionary with the same key as table <ZCustom Table> and an extra field with type SPRAS. Define the text fields as non-key fields in this table. Then define a text foreign key from this text table to table <ZCustom Table>.
Hope this answers your questions.
Thanks,
Greetson.
Maybe you are looking for
-
How can I transfer memory from one Memory card to another?
Also can I put a 32gb card in a cheaper zen?
-
Maximum storage space for iTunes
Is there a maximum number or size for my music library?
-
DB13 Check and Update Optimizer Statistics Error
Dear Gurus, While Updating the Update stats in DB13 Calender it shows the Below mentioned error. BR0881I Collecting statistics for table SAPPSU.EKUB with method/sample C ... BR0280I BRCONNECT time stamp: 2009-01-18 02.23.01
-
A system to play arround (where to apply tutorial) ???
Hi, I would like to start with a first tutorial to learn more about XI. I chosen this tutorial: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/1ee03f41b9eb06e10000000a1550b0/frameset.htm">KW-Tutorial</a> The problem is that I do not have
-
Where do I find how to authorize a computer
I cannot find where to authorize a computer