SAP infoset SQ02 - Add field for LDB
Hi all,
I have to modify a sap query, which uses infoset ZDES. I have to add table ANLH so that i can get field ANLHTXT. The infoset uses the LDB "ADA" which has many other tables and structures.
Now if i have to add the table ANLH , how should i go about , I cannot change the LDB as it asks for DEV key, the only way is to modify the Infoset ZDES.
Can anyone please tell me how to go about this .
Thx in adv.
Dan
If you can modify the infoset, its well. You can do it.
Open the infoset ZDES, add additional field ANLH-ANLHTXT and add them to the group. Write code in the field you created. generate and add the corresponding field as output field. For this you need not add a whole table, instead you can add the field as extra field and write code under it to get it.
But performance wise, it will not be 100 % efficient becuause for every row fetched your abap code is run. But to me, its the only way you can handle it without disturbing the SAP code.
regards,
Sandeep Josyula
*Mark helpful answers
Similar Messages
-
SAP CRM Tables and Fields for Contract start and End dates
Hi Experts,
Please Provide me SAP CRM Tables and Field names for the below.
SAP CRM Contracts start date and End date
SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
Thanks and Regards,
Tejacorrection
10 Replies Latest reply: 24 May, 2013 8:38 AM by nishant Vasudev
Tweet
SAP CRM Tables and Fields for Contract start and End dates
This question has been Answered.
Teja Dhar 12 Oct, 2009 8:03 PM
Currently Being Moderated
Hi Experts,
Please Provide me SAP CRM Tables and Field names for the below.
SAP CRM Contracts start date and End date
SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
Thanks and Regards,
Teja
Correct Answer by Sreekantha Gorla on Oct 22, 2009 8:22 PM
Hi,
dates will be stores in the table 'SCAPPTSEG'.
I double checked it. This table stores all the date types of one order transactions...
The relationship is as follows..
CRMD_ORDERADM_H- guid = crmd_link-guid_hi
crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
Thanks and regards,
Sreekanth
<:footer>See the answer in context
6281 Views
Topics: Customer Relationship Management
Reply
Average User Rating
0
(0 ratings)
My Rating:
Rating Saved!
Comment on your rating
Re: SAP CRM Tables and Fields for Contract start and End dates
Robert Jesionowski 14 Oct, 2009 2:23 PM (in response to Teja Dhar)
Currently Being Moderated
Hi,
you should try with FM: CRM_DATES_READ_SINGLE_OB or CRM_DATES_READ_DB.
There is something in table SCAPPT and SCGENAPPT.
Regards, R
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
Teja Dhar 22 Oct, 2009 5:30 PM (in response to Robert Jesionowski)
Currently Being Moderated
Hi Robert,
I am not able to find contract start date and End dates in the tables SCAPPT and SCGENAPPT.
Can you suggest some relevant tables.
Best Regards,
Teja
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
Sreekantha Gorla 22 Oct, 2009 2:35 PM (in response to Teja Dhar)
Currently Being Moderated
Hi,
Table SCAPPTSEG stores the contract start and end dates.
Thanks,
Sreekanth
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
Teja Dhar 22 Oct, 2009 5:32 PM (in response to Sreekantha Gorla)
Currently Being Moderated
Hi Sreekanth,
I am not able to find contract start date and End dates in the table SCAPPTSEG.This is for appointments.
Can you suggest some relevant tables.
Best Regards,
Teja
Report Abuse
Like (0)
Reply
Correct AnswerRe: SAP CRM Tables and Fields for Contract start and End dates
Sreekantha Gorla 22 Oct, 2009 8:22 PM (in response to Teja Dhar)
Currently Being Moderated
Hi,
dates will be stores in the table 'SCAPPTSEG'.
I double checked it. This table stores all the date types of one order transactions...
The relationship is as follows..
CRMD_ORDERADM_H- guid = crmd_link-guid_hi
crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
Thanks and regards,
Sreekanth
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
Wim Olieman 23 Oct, 2009 9:12 AM (in response to Sreekantha Gorla)
Currently Being Moderated
Hi,
I can tell you where the pricing records are saved, replicated from ECC.
The data from ECC table Axxx (e.g. A304) is replicated to CRM table
CNCCRMPRSAPxxx (e.g. CNCCRMPRSAP304).
Here you can find fields TIMESTAMP_TO and TIMESTAMP_FROM.
About the dates: what Sreekantha Gorla stated, about table 'SCAPPTSEG' is correct.
What might help is to execute program "CRM_ORDER_READ". Here you can find
the relevant entries also.
regards,
Wim
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
Teja Dhar 23 Oct, 2009 4:59 PM (in response to Teja Dhar)
Currently Being Moderated
Hi Experts,
Thanks a lot for your support.My problem got resolved.
Best Regards,
Teja
Report Abuse
Like (0)
Reply
Re: SAP CRM Tables and Fields for Contract start and End dates
rajesh gadamsetty 27 Nov, 2009 12:29 PM (in response to Teja Dhar)
Currently Being Moderated
Hi Teja
Please let me know how you got the dates. i got the same requirement
Report Abuse
Like (0)
Reply
Correction on above mail.
Hi Sanjay,
Can you please help me to find the contract st art date and end date fetching from the table as below
ITEM DATES:
Select guid_set from table CRMD_LINK where guid_hi = CRMD_ORDER_I-GUID AND
OBJTYPE_HI = '06'
OBJTYPE_SET = '30'.
Select * from SCAPPTSEG where APPL_GUID = guid_set.
as from the table scapptseg has some unusal fields which fields to select to get the start date and end date and on what condition and isuppose we need to convert als the same
pls suggest further on same
regards
Arora -
Please add fields for IMs in Ovi Contacts!
I know the user can add whatever in notes. still, fields for different IMs will be so helpful!! Now the contacts in ovi looks like a temp incompleted backup...
Please!yes!
especially considering the fields DO exist on the handset (N97) they are just not synced or not displayed in Ovi-Suite.
Pathetic. But, alas, no less pathetic than the rest of OVi-Suite.
Ever seen a black lemon? They turn black when they rot. My N97 is black. 'nuff said -
Hi
I generated a infoset using table COSP, when I click in generate infoset, sap shows this warning message:
Compare field group fields with Data Dictionary
Currency field CCCUR-WAERS will not be filled
Currency field TKA01-WAERS will not be filled
How can I fix the value for fields CCCUR-WAERS and TKA01-WAERS in my query ? when I execute the query this dont show the correct values for some fields because waers field.
Points avaliable.Shidar, thanks for your help.
values in controlling area currency aren't displayed correctly (1000 COP is displayed like 10 COP ).... values in object currency are wrong too, but values in document currency are correct because document currency field is available for parameters.
I'm working in document currency, but I would like to know why SQ00 doesn't take in account controlling area currency and object currency ... ¿it is an error ? ¿there are some way to fix it? -
Want to add Field for movement type 501
Dear Expert,
Hi..
i am working on Goods Receipt without PO ( Mvt 501 ). here for this business wants to add the value of the material at the time of Good Receipt. business also wants to make this field required field. so pl. guide me on this.
Thanks a lot
H ShahHi,
if i understood your question correctly
There is one setting of creating purchase order at the time of GR, for this you have to maintain info records and activate setting in SPRO of create PO at the GR, Then your problem will get solved, Gr becomes valuated and PO will be created in background.
Putting value at GR does not make any. sence
Thanks
Kedar -
Add field for tracking number while Auto PR generation via MDBT
Hi,
While running MRP through MDBT via Variant , my PR's are generating automatically....
Now i want one field as tracking number ( Value-100) to be added in PR when ever my PR's are generating automatically via MRP run...
Is it possible..
UtsavHi,
My question is :
While running MRP through MDBT via Variant , my PR's are generating automatically....
Now i want one field as tracking number ( Value-100) to be added in PR when ever my PR's are generating automatically via MRP run...
When ever my PR gets generated via MRP run thrugh variant in MDBT, i want 100 value to be filled in tracking number field...
Is it possible.
Utsav
Edited by: Utsav.agra on Sep 15, 2009 5:49 AM -
Hi All
I want add field district to order, this is for I have a condition price calculate price for: product and district (sales zone).
Condition price and customizing is ready, only I need add field for item in order and check price calculation.
Thanks.Hello Rick / Mad,
Im not sure which forum to post workflow too...it is based on CRM.
Here is where I am though:
Hello,
Yes I used BUS1006
If I click the test button and put an example BP number it sends me the email and it works correctly.
But when I am in the WEB UI and I create a new account.
I wait and then check SWEL and it says "Check FM ends with exception".
I dont know what this means...
Also it seems the email / job only kicks off when I do a test. When do workflows kick off? Are they placed in SM36 /SM37 for looking at when they run. When I created the workflow I dont remember it asking me when it should run, is it a batch job that always is running? -
Hi everybody,
Is there a way to add fields for teamprojects ?
I want to add a custom field for each teamprojects of my collection and set an ID.
This ID is unique and is used for other applications, so I would like query it by code.
ThanksHi Mathieu,
Thanks for your post.
First, you needn’t add the ID in team project. Each team project’s name is unique in collection, and each team project has its own ID. So you can query the team project using its name in code, please refer to below code snippet:
TfsTeamProjectCollection tfs =
new
TfsTeamProjectCollection(new
Uri("collectionURL"));
tfs.EnsureAuthenticated();
WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
//get team project using team project name
Project teamproject = workitemstore.Projects["teamprojectname"];
Console.WriteLine(teamproject.Id);
//query team projects in collection
var teamprojects = workitemstore.Projects;
foreach(Project
tp in teamprojects)
Console.WriteLine("Team
Project name: {0}, Team Project ID: {1}", tp.Name, tp.Id);
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Crystal Report can't add Currency field when connect to SAP Infosets.
Hi,
I created a simple Crystal Report which connect SAP Infosets.
Everything is fine except I add a "Currency" field into report. Three errors returned.
Fail to retrieve data from database -> Database connector error :'Syntax error in program SAPLHRPADINA1' -> Database connector Error: 'RFC_CLOSED'
Do you have any idea?Hi,
can you run a InfoSet query based on the InfoSet ?
Can you create a QuickView on top of the InfoSet ?
ingo -
Adding some new fields for display in SAP Query
I need to add some fields for display in SAP query 01 of infoset /SAPQUERY/AM01. So I have changed the infoset by checking the additional fields which is already in LDB. Then I created the query by copying the 01 of infoset /SAPQUERY/AM01 to Zusergroup with reference to the same infoset. In the newly created query, I am just checking the newly added field in Basic list. If I generate the program for this query, I get a error.
Pls let me know how should I rectify this.
Regards,
JeyananthHi,
Before generating the query, adjust the query from the menu of SQ01
Thanks
Shiva -
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 -
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 -
How can I add a new field for Belgium in T588M?
Hi experts,
I am trying to change the infotype 0002 screen for BElgium. This is how I am doing T588M > new entry > MP000200 > alt. screen 2012 > var. key 12 > feature p0002 >.
I also maintained 12 as the var. key for the countr yBE in P0002 feature. I want to add P0002-GBDEP (state) field which is already there for MP000200 screen 2000 which is the SAP standard screen. why it does not copy this field when I create this field for Belgium. HOw can I bring it for BEl. Please advise.
Thanks a ton,
JEss...As P0002-GBDEP is not included in screen '2012', you'll need to create an additional custom screen to show this field. Then, you'll need to config table 'T582C' to have 'MP000200' / screen '2012' to have this custom screen as an 'include' screen (e.g. if your new custom screen is ZP000200 / screen '0100', then in T582C, you'll need an entry with 'MP000200' '2012' ZP000200' '0100'.
-
How to Add fields in dynamic selection LDB BRF
Hi All,
I have requirement to add a field BSEG-ZLSCH in Logical Database BRF dynamic selection.
I have tried doing the same by using below mentioned link but its not appearing in the report dynamic selection screen
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0ffb?quicklink=index&overridelayout=true
Could you please help me a Legal change delivery is pending due to this issue.
Thanks and best regards,
Niteesh RaiDear Niteesh,
The Logical Data Base BRF reads table BKPF and BSEG, but there is no
option to include fields from BSEG in the dynamic selection.
You can display all the tables included in BRF, but only fields from
BKPF could be included in the dynamic selection. You cannot add
entries from BSEG, BSET, KNB1, KNBK, and so on that are listed here.
You are right, there is not note that explains this behaviour, but I
inform you what is the system design. This has been confirmed by my
Development colleagues.
Regarding to note 832997, this is valid for releases 500 and 600 when
New G/L is available. The system functionality has been enhanced in
release 500 so you can add fields from FAGLFREESEL that is similar
to BSEG with New G/L.
BR, Hana -
Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing
Hi SAP Expert:
Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended.
We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters.
We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name. The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4. Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
Hope this will merit somebody's attention... Thanks !!!Thanks, i have assigned the layout via o7v3, it is the program that i have a problem with, actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen, though we add a field with 40 characters (ADRC Name 1 to 4) what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN.
My question is can i extend/change the structure RFOP_GEN to 40 characters, is there any SAP standard program that will aftected if i do so? thank very much...
Lorena
Maybe you are looking for
-
How do I find the header for an incoming email to locate sender's IP?
I need to identify the IP address for a person who is spoofing me so I can block them at my server.
-
I purchased a new laptop in August, running Windows 8 and spent hours importing every CD we own (over 300) to my iTunes library in order to get rid of them and declutter a little. I have had to run iTunes in a compatibility mode set for an older vers
-
7,1 was a dream: Media shortcuts/front panel issues
Hey I have a Dell Inspiron 6400. On the front it have this Media Shortcuts / Frontpanel In iTunes 7.1 they did work. Like, I could minimize iTunes, use other programs and still I could change songs and stuff. But after all the updates on iTunes, this
-
Can I use debit master card to make donation?
I had fill in all the fields,and my debit master card number,and I keep receive the transaction was failed. Is it your do not accept debit card?
-
Need help please help me figure out how to do this need to either get a new account and transfer funds onto it or gotta figure out to reset my questions