Additional field in infoset as string
Hi,
Is it possible to add an additional field in an Infoset with type string?
When i'm creating it, I need to fill the definition of the field, with a certain type or with reference to some table field, but I'm not finding any suitable to here of type string. I always get an error "you must use a flat structure" or "you cannot use internal tables, strings, references, or structures as components".
This means I cannot create an additional field as a string?
Thanks in advance for your help.
Best regards,
Sónia Gonçalves
Thnks for answers ,
I have just do that but there is no hided field . I haven't see the additional field there already.
I think it 'll more clear if I tell about what am I doing step by step ;
First , I created infoset in SQ01 with joinig tables LIKP - LIPS .Then I added some additional field ; I collect different value from another table . Then I create field group called " ADD" in infoset and assigned additional fields that I created to "ADD " . Finally generate and saved infoset .
Second , in RSO2 I create data source and joined with infoset . Then comes to selection filed screen . Here was my problem ; there were no field that I added to infoset ,additional fields didn't appear
Can I explain it ?
Thnks for help ..
Similar Messages
-
BW - additional field in infoset
Hi all ,
I used data source with infoset and I added additional field into infoset . But additional fields did not come to the data source selection screen ( Field list screen ). Is there a way to do this ?
Can anyone help me ?
Thnks a lot ..Thnks for answers ,
I have just do that but there is no hided field . I haven't see the additional field there already.
I think it 'll more clear if I tell about what am I doing step by step ;
First , I created infoset in SQ01 with joinig tables LIKP - LIPS .Then I added some additional field ; I collect different value from another table . Then I create field group called " ADD" in infoset and assigned additional fields that I created to "ADD " . Finally generate and saved infoset .
Second , in RSO2 I create data source and joined with infoset . Then comes to selection filed screen . Here was my problem ; there were no field that I added to infoset ,additional fields didn't appear
Can I explain it ?
Thnks for help .. -
Additional field for Infoset in BI 7.0
Hi
I have created an Infoset with a cube and a masterdata object. Now my requirement is to have an additional field which i can not extend to cube or masterdata.
Is it possible by any chance to add an additionla field to Infoset and write an abap code ?Any suggestions ?
-
Creation of additional fields in Infoset SQ02
Hi Experts,
I'm a FICO consultant trying to create a query.
Requirement : Link RSEG Table to BKPF Table in the join condition
Link: RSEG-BELNR concatenated with RSEG-GJAHR = BKPF-XBLNR
Now I'm trying to create an additional field in SQ02 named MiroYear and in the field code part i gave the below piece of code
"CONCATENATE RSEG-BELNR RSEG-GJAHR INTO MIROYEAR."
It shows no syntax errors. I added the same to the field group as well.
Issue: The additional field (MIROYEAR) is not appearing in the join condition in SQ02.
Is this the right way to create an additonal field? Have i made any mistake? Or any of you have any better ideas to join RSEG and BKPF in SQ02?
Your quick response will be appreciated
Best Regards
VimalHi,
Table RESG and BKPF are linked BKPF-AWKEY.
Now first of all if you create an additional field, that field will not appear in the join.
One way will be to create an infoset with direct read to table RSEG, and then inside add additional fields for each BKPF field.
Then in the code
CONCATENATE RSEG-BELNR RSEG-GJAHR into MIROYEAR
select single ....
into (ADDFIELD1, ADDFIELD2, ADDFIELD3,.....)
from BKPF
where awkey = miroyear.
Regards,
Khusro Habib -
Populating Additional Field in InfoSet Query
Hello,
My team and I are working on generating a relatively simple report from the VBAK (Sales Header), VBAP (Sales Items) and VEDA (Date data) tables. We would prefer to be able to build an InfoSet (SQ02) and Query (SQ01) instead of writing a custom report.
The problem is the VEDA table contains data that may link to the VBAK and sometimes the VBAP table. The usage is that the header has begin and end dates for a contract, which is denoted by a blank value in POSNR field in the VEDA table. If a particular line on a contract has different dates than the header, there will be an additional record in the VEDA table where the POSNR value matches the POSNR value from the VBAP (Item) record.
The link to the VBAP table is straight forward being keyed off of the VBELN (doc number) and the POSNR (item number) fields in both tables. However, there's isn't a POSNR field in the VBAK (header) table and the VEDA table shows this as a blank value in the POSNR field.
The simplest thing I can think of doing is link the VEDA table to the VBAP and let it retrieve all the exact matches on Sales Doc & Item Number but add two "Additional Fields" to the Query that would represent the Sales Header begin and end dates.
I know how to add an additional field but how would you "re-query" the VEDA table and under which option under the Code tab.
ThanksHi Alex
Please see if below example helps you to understand:
Supposing, we are displaying material description within our query.
1. So we define the join with MARA & MAKT while creating infoset in transaction SQ02.
2. We create feild groups to identify the fiels we use for selection and display.
3. Here after selecting language key from MAKT, by default this will take SY-LANGU always for the case.
4. To make it applicable for different languages we can code in INITIALIZATION Event.
5. To do so we can do it by two options: Use menupath: Goto->Code->Initialization
i) First option using variable: <b>MAKT-SPRAS = SY-LANGU.</b>.
ii) Second option using Parameter-Id: <b>SET PARAMETER ID 'SPR' FIELD SY-LANGU</b>.
6. Save & Generate.
Now when we execute the query, we are defaulting the language as System Language.
Hope the above info helps you for better understanding.
Kind Regards
Eswar -
Additional fields in infoset query can not be used as datasource fields
I create one infoset query with additional fields (using ABAP code) in R/3. When I create datasource RSO2 using this infoset query, system only show all fields without additional fields that I enhanced in infoset query. Does that mean we can not get additional fields information in generic datasource creation that we enhanced in infoset query?
dear Awa,
you are enhanced some fields in r/3.right that fields are shown in
rsa6 select your data source click on display your datasource then select
extract structure its shows how many fields are haveing particular
datasource .or otherwise goto rso2 select your data source display
double click on your extractstructure its show how many fields haveing
the particular datasource. check the Rsa6 what ever fields you newly added that field default hide mode
you remove the hide tickmark. -
Selection field in Infoset Query
Hi All,
I have an Infoset which is based on Logical database PNP & it has few additional fields. Now the requirement is to add one of the additional field to the selection screen of "Infoset Query". But in the Infoset query the 'Selection' checkbox for all the additional fields is graded out, & only the 'Output' Checkbox is enabled for all the Additional fields.
I added a new additional field in Infoset and even that is not available for selection in the Infoset query.
Kindly let me know if you have any info regarding this....
Please note that i have this problem in 'Infoset Query' only.
Thanks in advance.
Regards,
Karthick.Navin,
Try with this link,everything in detail is explained about Infoset queries..
http://shafiq.us/sap/index.php?view=article&id=54%3Aadhoc-query&option=com_content&Itemid=61
hope..this will help you!
Cheers,
KK -
Additional i/o fields to infoset query based on PNPCE logical database
Hi All,
I have a requirement to add two additional input and output fields "job function" and "job family" to a infoset query based on logical database PNPCE. I am new to writing code in infset query and there are so many code areas in infoset query. I am confused where to write code and how to limit the output list based on the user selection to the additional fields "Job function" and "job family". have any one done this in the past?. is there sample code somewhere to do something similar to this?
Your help will be much appreciated with points! (as per our community guidelines)
Regards,
ArulHello Arul,
Your question would be better answered if you post it in on of the Business Intelligence Forums. Please close this thread and goto:
Expert Forums » Business Intelligence
or
/community
Regards,
Manny -
Additional field in SAP Infoset - internal table
Hi Gurus,
I have invoices like:
VBELN Matnr mtart
1234 Ek21 MCFE
1234 Ek33 MCFE
1234 Ek29 MCFE
1234 321 MRM1
1235 EK11 MCFE
1235 EK17 MCFE
3212 EK23 MCFE
3212 EK33 MCFE
How can create additional field in SAP infoset, what show in every line in invoice, that invoice have line with mtart = u2018MRM1u2019 or mtart <> u2018MRM1u2019. Aim is to filter invoices with line mtart = MRM1
VBELN Matnr mtart result
1234 Ek21 MCFE 1
1234 Ek33 MCFE 1
1234 Ek29 MCFE 1
1234 321 MRM1 1
1235 EK11 MCFE 0
1235 EK17 MCFE 0
3212 EK23 MCFE 0
3212 EK33 MCFE 0
How can create additional field in SAP Infoset?Hi Have you had any luck on this?
-
Currency as additional field in an Infoset
Hi,
I hope you can help me with the following problem. I want to extend an infoset with additional fields amount and currency. When I do this and want to use these fields in a query the system automatically generates to my amount field a currency field, so in the end I have one amount and two currency fields.
I tried to fill these generated currency field but then I get a short dump using this infoset in the segment builder as this variable is not existing there. Well, of course I can solve it with my additional currency field, but then I have two currency fields to one amount field, as one is always generated.
Is there a solution for this?
Kind regards,
TimoHi Pablo,
I guess you would have forgot to drag that extra field to the "Field Group/Data fileds" list ( on th eRight hand side pane ) in Tcode SQ02. Please check.
Save the infoset and then saev the datasource, then check the RSA3 extractor check. also make sure to replicate the datasource.
Regards,
Pratap Sone -
Adding additional fields to an Infoset Query
Hi Experts,
I have added a couple of additional fields to an infoset query using SQ02.
I have also written code for filling in the fields.
I have also added them to some Field Groups.
Despite this, when I run the query, they are not being displayed in the output list.
What could be the reason for this?
Kindly help with your inputs.
Thanks in advance.
Regards,
Keerthigoto sq01,
give the query name...
goto change.. just below output, you have a drop down for field group and field catalog. select field catalog.
select the fields you want to show in output -
Additional field "SYHR_A_P0105_AF_CELL" doesn't work in InfoSet
Hi experts,
I am trying to make a SAP query base on logical database PNP, what I did:
1. create a infoset base on PNP, selected infotype 0105
2. create a query base on the infoset, chose field SYHR_A_P0105_AF_CELL and SYHR_A_P0105_AF_EMAIL
The email field works, but the cell phone field output no value.
what's the secret behind the additional fields? How was the data is read from backend tables?
Thanks a lot.
RobinRobin :
These pre-defined additional fieds for IT0105 are auto-populated through SAP function 'RPAQ_GET_AF_0105'. Therefore, if you use SAP standard subtype 'CELL' instead of custom subtype, additional field 'SYHR_A_P0105_AF_CELL ' would also be populated.
However, if you decide to use custom subtype for it, when in this additional field, right click on it - select 'Field Code', and key in your own logic to have this field populated instead.
Rgds. -
Add color to an Additional Field inside a SAP Query (Infoset) in ALV
I made an Infoset (transaction SQ02) out of table MARC. I created an Additional Field called "STATUS" which I coded to get a value of 1 or 2 depending on the value of another field in MARC.
How can I make this cell in the resulting Query to appear in different colors depending on the value? I found the command "FORMAT" but that doesn't work on SAP List Viewer (ALV) mode.
This is what I coded in the additional field called STATUS::
clear: STATUS.
if MARC-DISPO = 001.
format intensified color = 6.
move '1' to STATUS.
else.
format intensified color = 7.
move '2' to STATUS.
endif.
The coloring didn't work. What ABAP command should I add to this additional field to make the coloring of the STATUS cell work under ALV mode?field catalog and layout are saved into database aqrdb
just before displaying the results into ALV table, they are retrieved by function RSAQRT_ALV_DISPLAY which does
concatenate rtmode-act_report sy-langu into l_srtfd_pattern.
import fieldcat = fieldcatalog
layout = layout
sort = sort
from database aqrdb(lv) id l_srtfd_pattern.
so in order to display some cells with a different color, you have to
- add an additional field that will contain the color codes of cells
- set values in this field at record level (field is a table of type LVC_T_SCOL)
but also adapt the layout in order to set the field as containing the colors
- put the name of this field into layout (CTAB_FNAME)
- export layout to corresponding entry of aqrdb
this part I don't see exactly where to put it, I guess there is some place where it is possible to manage the layout - if not then you have to do it "manually" i.e. with a small report -
Adding additional fields to an existing Infoset.
Experts,
I got a requirement to add additional fields to an existing info set which belongs to different Logical Data base.
The existing info set is based on PNPCE LDB and the fields are from PD (i.e PCH ldb).
Please let me know hw to add those fields...
Thanks,
ShriniHi Shrini,
You can add fields from PD infotypes (1000-1999) to a PNPCE infoset if the object has a relationship to a Person. Example would be Position which has the relationship Holder. You go to Change the Infoset. Edit --> Change infotype selection. Scroll down to the bottom and open Infotypes of Related Objects. Open Position. There you will see the possible relationships between a Position and Person. Select Holder. There you have the list of infotypes assigned to a Position that you can add by checking each. You can then add whatever fields are in that infotype to the Infoset.
Problem comes in if there is no direct relationship between a Person and the object - such as Job that you want to include in the Infoset. A Job describes a Position and a Person holds a Position, but a Person does not have the direct relationship to the Job except as a Dislike or Successor. In this case you would need to create a new PCH Infoset with the root object Position. Then using the relationships between Position and Job and Position and Person, you can access the infotypes from PA as well as PD.
Paul -
Additional text field in Infoset deleted but not reflected in field selection in Query
Hi,
I have deleted an additional text field in infoset. It was used in one query.
Even in the query it is deleted, but when in field selection screen i am not able to delete.
If i try to execute the query, I get dump (syntax error) saying in field type(additional field) doesnot exist.
Can anyone pleassseee help me in this.Hi San,
I am trying to understand. How could you separately delete an additional text field associated with a main field?
Jogeswara Rao K
Maybe you are looking for
-
Duplicate condtion types accepting in item condition (interesting)
Hi Sap Guru's, When i am entering manual condition type in item condition type column Ex: PR00 basic price 2000/Rs, and again i am entering same condition type PR00 basic price 1000/Rs the system accepting same condition type ?? is there any standard
-
Netscape software with Verizon smtp???
When is Verizon going to unlock the smtp for Netscape Mail software? I've used NS for years, with a 20-year-old e-mail address, and now I have to d/l mail, go to webpage, then reply or send mail from the webpage, then go to Netscape software to save
-
How to add metadata to store N names?
I need to add a text field to store names of people and can write N names separated each other, but I do not want to use a long text or memo field type. How can I do this?? Thanks
-
HT5275 how to download safari from apple website
i have uninstall safari from mountain lion and now i am unable to download safari please help me or give me a link to direct download. I don't know how to download i tried many diffrent ways to download but failed..
-
Droid Incredible 2 - battery icon
battery is fully charged but icon is grey with exclamation point over it - what does this mean? when it does disappear my battery shows regular but this icon stays there most of the time.