ALV fields which are not referenced to data dictionary table fields
Hello,
I am using function module reuse_alv_popup_to_select.
How do I display fields in ALV which are not referenced to
data dictionary table fields.
I am showing 4 columns in alv out of which first column is checkbox
and remaining 3 columns are from data dictionary and it works fine.
Now I need to add one more column which is of type checkbox.
I have added this field in my ITAB as flag(1) type C.
When I add this flag field in the field catalog, I get exception.
Regards,
Vishal.
Hey guys,
Finally I got rid of such a stupid problem.
There were no problem in the code.
while assigning fieldname to field catalog I had given fieldname
in lowercase.
I changed it to uppercase and problem got solved.
Thanks,
Vishal.
Similar Messages
-
Deletion of Request which are not updated to data target
hi,
I want to all PSA data whether it is updated or not In our project this is being done by Using a Process chain, But it is not deleting the request which are not updated to any data target or failed, I have selected both the check boxes
Only successfully booked requests
Only requests with errors, not updated in any data target
but even after selecting this check box it is not deleting the failed request, can any one tell me why it is so.
Any help in this would be highly appreciated.Try to do it without checking any of the checkboxes...
Regards,
Luis -
How to clear the form fields which are not rendered
I have a creation form. There is a document_type list set up as a partial triger. When user change the document type, only the filed related to that document type will be rendered. This caused a problem when we need to clear the form . The input in the field which is not render won't be cleared when reset button is pressed. Can anybody give a sugestion on how to handle this?
I tried to use the following function to clear the fields. It does not work since it get the list value before the list value change and clear the fields after the new field rendered.
public void clear_action(ValueChangeEvent valueChangeEvent) {
// Add event code here...
System.out.println("test1");
String coutcase = null;
if(EL.get("#{bindings.Proxy.inputValue}") != null){
coutcase = EL.get("#{bindings.Proxy.inputValue}").toString();
System.out.println(coutcase);
AttributeBinding a11= (AttributeBinding)getBindings().getControlBinding("INT_FNAM");
AttributeBinding a12 = (AttributeBinding)getBindings().getControlBinding("INT_LNAM");
AttributeBinding a13 = (AttributeBinding)getBindings().getControlBinding("TIT_PROG");
AttributeBinding a14 = (AttributeBinding)getBindings().getControlBinding("T_OF_INT");
AttributeBinding a15 = (AttributeBinding)getBindings().getControlBinding("NETWORK");
AttributeBinding a16 = (AttributeBinding)getBindings().getControlBinding("IN_DATE");
AttributeBinding a17 = (AttributeBinding)getBindings().getControlBinding("PE_FNAM");
AttributeBinding a18 = (AttributeBinding)getBindings().getControlBinding("PE_IN_LNAM");
AttributeBinding a19 = (AttributeBinding)getBindings().getControlBinding("WEBSITE");
AttributeBinding a20 = (AttributeBinding)getBindings().getControlBinding("URL");
AttributeBinding a21 = (AttributeBinding)getBindings().getControlBinding("INT_DATA");
AttributeBinding a22 = (AttributeBinding)getBindings().getControlBinding("D_ACCESS");
AttributeBinding a23 = (AttributeBinding)getBindings().getControlBinding("CASE_NUM");
AttributeBinding a24 = (AttributeBinding)getBindings().getControlBinding("COURT");
AttributeBinding a25 = (AttributeBinding)getBindings().getControlBinding("PLAIN");
AttributeBinding a26 = (AttributeBinding)getBindings().getControlBinding("DEFEN");
if(coutcase.equals("Interview")) {
a11.setInputValue(null);
a12.setInputValue(null);
a13.setInputValue(null);
a14.setInputValue(null);
a15.setInputValue(null);
a16.setInputValue(null);
a17.setInputValue(null);
a18.setInputValue(null);
/*a19.setInputValue(null);
a20.setInputValue(null);
a21.setInputValue(null);
a22.setInputValue(null);
a23.setInputValue(null);
a24.setInputValue(null);
a25.setInputValue(null);
a26.setInputValue(null);*/
} else if(coutcase.equals("Internet")){
/*a11.setInputValue(null);
a12.setInputValue(null);
a13.setInputValue(null);
a14.setInputValue(null);
a15.setInputValue(null);
a16.setInputValue(null);
a17.setInputValue(null);
a18.setInputValue(null);*/
a19.setInputValue(null);
a20.setInputValue(null);
a21.setInputValue(null);
a22.setInputValue(null);
/*a23.setInputValue(null);
a24.setInputValue(null);
a25.setInputValue(null);
a26.setInputValue(null);*/
} else{
/*a11.setInputValue(null);
a12.setInputValue(null);
a13.setInputValue(null);
a14.setInputValue(null);
a15.setInputValue(null);
a16.setInputValue(null);
a17.setInputValue(null);
a18.setInputValue(null);
a19.setInputValue(null);
a20.setInputValue(null);
a21.setInputValue(null);
a22.setInputValue(null);*/
a23.setInputValue(null);
a24.setInputValue(null);
a25.setInputValue(null);
a26.setInputValue(null);
}else{
System.out.println("coutcase is null");
}Hi,
The easiest way to modify the screens in the Std transactions using ITS is to modify the ITS templates corresponding to that transaction.
E.g In you case,there will be a ITS service corresponding to the ESS transaction.This ITS service will have number of HTML templates which will actually correspond to the diffrent screens in the Trascn.What you need to do is find out the HTML template in the ITS service which corresponds to the screen(which you want to modify) in the STd transacn.To do this ,the easiest way is to right click on that Web page and say VIEW SOURCE.It will show you a HTML code with the ITS service name and the template which is being used for that particular screen.
So after you find out the correct HTML template to be modified,you can simply hide the fields by putting the HTML code lines in between the symbols
<! and -->
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Fetching data which are not common
Hi Gurus,
I got an strange requirement it is to fetch data from 2 internal table from the same field name but the values should not be same.can any one tell me some logic for this? eg: fetch matnr from mara and mard into an internal table but the final result in the internal table should be values which are not common in both the tables.
Ragards,
Ravihow can mara and mard will differe in entries. if there is a entry in MARD there should be an entry in MARA since it is master table. so in this case you can do some thing like this.
first get the data from both the tables..
loop at it_mara.
read table it_mard.
if sy-subrc ne 0.
"find the material which is not there in MARD and only in MARA
"append the matnr to another table
endif.
endloop.
may be you have taken a wrong example to describe. -
Custom Field values are not saved. when MPP imported from another instance.
Hello Mate-
Currently I am merging one small instance (I2) of PWA in our corporate instance(I1). as the corporate instance is huge, we are doing manual merge of groups, securities, users, custom fields etc. also downloading the MPP as xml from I2 and then planned
to publish from I1.
There are few project level custom fields which are being used in MPP. and those fields may have formulas too.
I created same custom field in crporate environment(I1) but while trying to open the projects in our corporate environment(I1), the project custom fields are gone.
Could you please guide me here, I am lost. I can not do a data base migration ans it would override all data from I1 instance so need to do it manually.
Many thanks
Deb
Dev EPM ConsultantHi
You may not be able to do this as the custom field GUID's are different in both the instance.
You may write a macro to copy the custom field data from one to another one
refer :http://msdn.microsoft.com/en-us/library/office/ff867798(v=office.15).aspx
--Happy Troubleshooting
Thanks --Ajith -
How to create a report for open sales orde documents which are not invoiced
Hi Experts this is urgent,
+pls give the Logic for document flow+
My requirement is create a report for sales orders which are not invoiced using the following table.
VBAK : sales order header
VBAP : sales order item
VBFA : sales document flow
VBUK for processing status
KOMV for duties value and sales order value
LIKP : delivery not header
LIPS :delivery note item
For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
Case A : When a sales order is invoiced we can display information on the header status :
Overall status : Completed and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following : Overall status Completed
Delivery status Fully delivered
Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
Case C :
When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
With regards
ravi
Edited by: ravik ravik on Jun 25, 2008 3:29 PMHello Ravi,
U neednot develop any report..
there is std report with txn V.02
or copy this and make necessary changes.
Reward, if helpful.
Rgds,
Raghu. -
How to delete images from folder which are not in the database
I am created windows form
i wont to delete images from the folder where i have stored images but i only want to delete those images which are not in the data base.
i don't know how it is possible . i have written some code
private void button1_Click(object sender, EventArgs e)
string connectionString = "Data Source";
conn = new SqlConnection(connectionString);
DataTable dt = new DataTable();
cmd.Connection = conn;
cmd.CommandText = "select * from tbl_pro";
conn.Open();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
int count = Convert.ToInt32( dt.Rows.Count);
string[] image1 = new string[count];
for (int i = 0; i < count; i++)
image1[i] = dt.Rows[i]["Image1"].ToString();
string[] image2 = new string[count];
for (int i = 0; i < count; i++)
image2[i] = dt.Rows[i]["Image2"].ToString();
var arr = image1.Union(image2).ToArray();
string[] arrays;
String dirPath = "G:\\Proj\\";
arrays = Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories).Select(x => Path.GetFileName(x)).ToArray();
int b= arrays.Count();
for (int j = 1; j <= b; j++)
if (arrays[j].ToString() != arr[j].ToString())
var del = arrays[j].ToString();
else
foreach (var value in del) // ERROR DEL IS NOT IN THE CURRENT CONTEXT
string filePath = "G:\\Projects\\Images\\"+value;
File.Delete(filePath);
here error coming "DEL IS NOT IN THE CURRENT CONTEXT"
I have to change anything .Will It work alright?
pls help me
SmsHi Fresherss,
Your del is Local Variable, it can't be accessed out of the if statement. you need to declare it as global variable like below. And if you want to collect the string, you could use the List to collect, not a string. the string will be split to chars
one by one.
List<string> del=new List<string>();
for (int j = 1; j <= b; j++)
if (arrays[j].ToString() != arr[j].ToString())
del.Add(arrays[j].ToString());
else
foreach (var value in del)
string filePath = "G:\\Projects\\Images\\" + value;
File.Delete(filePath);
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
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. -
Delete records from tableA which are not in tableB
Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
delete from tableA where empno not in (select empno from tableb)
or
delete from tableA where empno not exists (select empno from tableb
where b.empno=a.empno)
any helpHi
If you can do this, do with this:
create table tableC
as select a.*
from tableA a,
(select empno from tableA
minus
select empno from tableB) b
where a.empno = b.empno;
drop table tableA;
rename table tableC to tableA;
Ott Karesz
http://www.trendo-kft.hu -
Comments not imported from Data Dictionary of SQL Server. SDDM 3.3.0.747
Hi,
SDDM 3.3.0.747 32-bit on Windows 7 64-bit.
Comments are not imported from Data Dictionary of SQL Server 2008. Connection through Microsoft JDBC Driver 4.0 for SQL Server or jTDS 1.2.7
What I have tried? In SDDM DDL generation, Comments in DBRMS for SQL Server are generated with "EXEC sp_addextendedproperty 'MS_Description' , 'Test Comment' ..." so I added extended property named "MS_Description" into SQL Server database, both on table and column. None of them were imported from Data Dictionary into SSDM. I have tried both drivers stated above. Is it a bug or am I missing something?
I've found similar question thread Re: Data dictionary import doesn't import column comments for SDDM 3.0.0.665, so I guess it is a bug when importing with JDBC drivers.
MiGli
Edited by: MiGli_1006342 on May 25, 2013 8:32 AM
Edited by: MiGli_1006342 on May 25, 2013 9:02 AMExtended properties were not imported correctly from SQLServer databases at DM 3.3.0.747.
Calls to sp_addextendedproperty and fn_listextendedproperty have been modified.
I don't think it is a problem with JDBC drivers.
A bug fix should be available in the next release of DM. -
Updating SAP fields through BAPI (which are not BAPI parameters)
Hello,
I need to update season and collection fields in sales order (AFS), these fields are not in sales order creation BAPI. Can I still somehow use them in extensionin as parameters?? How do we do it?? BAPI: /AFS/BAPI_SALESORD_CREATEFDATA
Also there is another BAPI /AFS/VBAK_SALESDOCUMENT_CHANGE which has these fields in ITEM_EX table (which is extension for item table provided by SAP), but this dosent update the sales order as well.
I would appreciate if anyone has a clue how to do this.
Thanks,
Amit./AFS/VBAK_SALESDOCUMENT_CHANGE
Append structure BAPE_VBAP
J_3ASEAN
/AFS/COLLECTION
/AFS/THEME
Append structure BAPE_VBAPX
J_3ASEAN CHAR1
/AFS/COLLECTION CHAR1
/AFS/THEME CHAR1
Table: ITEMS_EX
OPERATION 009
DOC_NUMBER 200000608
ITM_NUMBER 000000
MATERIAL 2000010022
UPDAT_FLAG I
SEASON C1
COLLECTION DAM
THEME SEG
Pass the season Fields through EXTENSIONIN structure to update data into tables.
STRUCTURE BAPE_VBAP
VALUEPART1 020000060800000000000000C1 DAM SEG
STRUCTURE BAPE_VBAPX
VALUEPART1 0200000608000000XXXX -
Get details of all Milestones which are not billed as of date in PA module
I want the correct QUERY which fetches details of all the milestones which are not billed as of the given date in PA module in Oracle applications 11i. For your information we are using PA type L.
I have tried a lot but some join mismatch is happening. Forum please help. it is very urgent.
My query is as follows:
SELECT ppa.segment1 Project_code
, ppa.NAME Project_name
, TO_CHAR (ppa.start_date, 'DD-MON-YYYY') Project_start_date
, TO_CHAR (ppa.completion_date, 'DD-MON-YYYY') Project_end_date
, ppt.long_task_name Milestone_name
, TO_CHAR (ppt.start_date, 'DD-MON-YYYY') Milestone_start_date
, TO_CHAR (ppt.completion_date, 'DD-MON-YYYY') Milestone_end_date
FROM ra_customers rac
, pa_project_customers pc1
, pa_projects_all ppa
, pa_tasks ppt
, pa_proj_elements ppe
, pa_task_types ptt
, pa_percent_completes ppc
, pa_draft_invoice_items pdii
WHERE ppt.completion_date <= NVL(:AS_OF_DATE,SYSDATE) + 2
AND ppt.task_number NOT IN ('1', '2', '2.1', '2.2', '2.3')
AND ppa.segment1 LIKE 'CSC%'
AND ppa.project_id = ppt.project_id
AND ppa.template_flag = 'N'
AND ppe.proj_element_id = ppt.task_id
AND ppe.TYPE_ID = ptt.TASK_TYPE_ID
AND ptt.TASK_TYPE = 'Milestone Task Type'
AND pc1.customer_id = rac.customer_id
AND pc1.project_id = ppa.project_id
AND ppt.TASK_ID = ppc.TASK_ID(+)
AND ( ppc.STATUS_CODE IS NULL OR ppc.STATUS_CODE <> 127 OR ppc.COMPLETED_PERCENTAGE <>100)
AND TRUNC(ppt.COMPLETION_DATE - 2) <= TRUNC(NVL(:AS_OF_DATE,SYSDATE))
AND ppa.project_id = pdii.project_id
AND pdii.PROJECT_ID not in ppa.project_id
AND ppt.TASK_ID not in pdii.TASK_ID
Thanks in Advance
TinaIn order to do this in WebI, you would need to do the following:
<p>
1. Create tables in a database to hold the data.
2. Create an application to pull the data out of the CMS using the Query Language.
3. Create a universe to read the data.
4. Create your report(s).
<p>
To get this information through the Query Builder, you would have to run a query something like this to get the data for each report:
<p>
Select SI_ID, SI_NAME, SI_PARENT_ID<br>
from CI_INFOOBJECTS<br>
where SI_KIND = 'Webi' and SI_INSTANCE_OBJECT = 0
<p>
You have to build Location based on parent ID values - for each report you would run this query for the returned SI_PARENTID value until SI_PARENTID = 0
<p>
Select SI_NAME, SI_PARENT_ID<br>
from CI_INFOOBJECTS<br>
where SI_ID = [SI_PARENT_ID value from the previous query.]
<p>
To get the recurring schedules, you need to query based on the SI_ID for each report:
<p>
Select count(SI_ID)<br>
from CI_INFOOBJECTS<br>
where SI_PARENT_ID = [SI_ID value for the report]<br>
and SI_SCHEDULE_STATUS = 9
<p>
Change the Schedule_Status to 1 to get the count of the successful instances.
<p>
To get the person who created the schedule, get the SI_OWNERID of the instance and run this query:
<p>
Select SI_NAME<br>
from CI_SYSTEMOBJECTS<br>
where SI_ID = [SI_OWNERID for the schedule.]<br>
<p>
And so on....As you can see, it gets pretty complicated.
<p>
You can't just query the CMS database directly because almost all of this information is stored in a proprietary binary format in BLOB fields in the database.
<p>
-Dell
Edited by: Dell Stinnett on Aug 10, 2010 3:00 PM -
Can we add fields in MM17 which are not in the list
Hi Folks,
Pls help me on below.
I want to add below fields in a variant in MM17
Planned price 1 - MBEW-ZPLP1
Planned price 2 - MBEW-ZPLP2
Planned price 3 - MBEW-ZPLP3
But these fields are not available in the List.
how can i add them ?HI
Only it is possible what ever the fields and tables available in the transaction.Cannot add any other additional fields which ever not in the transaction.
Thanks
Ganesh -
Creating Custom fields which are sales org dependent in Accounts Master
Hello Experts,
I want to create new custom fields in Accounts Master for sales and shipping.The component being used is BP_SALES.However when I try to create custom fields through AET, the new fields are added in the BUILHEADER context node.The problem with this is, its making the fields Sales Org independent.
I want to add the fields which are sales org dependent( i.e. want to add the fields for the context nodes BUILSHIPPINGTERMS and BUILSALESARRANGEMENT).
Please help me in this regards,
Thanks and Regards,
Rahim
Edited by: Abdul Rahim on Dec 27, 2010 9:55 AMHi Rahim,
in general extension fields for Business Partner are only supported for the header fields (Table BUT000). Therefore the AET does not offer this.
Table extension for BP sales data is supported by the AET beginning from CRM 7.0 eHP1. If you have this you can just create a 1:1 table enhancements and should be happy. If not I'm afraid that you would have to implement this manually.
Using the Easy Enhancement Workbench (EEW) it would only be possible to create table extensions for the header and for relation ship but not for sales data.
Regards Matthias -
Not to display the document which are not due at the time of making the pay
Hi,
My user dont want to display the document which are not in due at the time of making the payment through F-53.
For example:
Vendor Code: 1001 has the open item as below:
Due Date - 29.09.2009 Amount 50000
Due Date - 30.09.2009 Amount 10000
Due Date - 15.10.2009 Amount 40000 (due date is in future)
Now my user want to make the payment for the above vendor through T-Code: F-53 / F-58, while clicking the process Open item the syste, shows all the document (which inclues the future due date document).
My user dont want to display the document which is in future due date because by wrongly he should not make the payment for the future due dated document.
Kindly provide me the solution how to disable the document which are not in due.
Regards
JSHi,
You can try the following -
Execute transaction code O7F4, and maintain the field FAEDT. Then execute F-53 and check if the option to enter net due date appears in the additional selection or not.
Please revert.
Thanks and Regards,
Anit -
Hello.
I have a requirement wherein I need to print all the PO item which are not fully goods receipt ( open goods receipt qty). Can some one let me know exact logic and table from where data can be picked.
Thank you!
ArvindHi,
You can check in table EKPO field: WEPOS WEPOS CHAR 1 0 Goods Receipt Indicator
which shows if item is GRed or not.
Also check the following and use whichever is apt.
ELIKZ ELIKZ CHAR 1 0 "Delivery Completed" Indicator
EREKZ EREKZ CHAR 1 0 Final Invoice Indicator
TWRKZ TWRKZ CHAR 1 0 Partial Invoice Indicator
Regards,
Karthik
Maybe you are looking for
-
Getting error while publishing the new Plan in Project server 2013
Dear Team , Please help me below error Queue: GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='ba6a6244-4d50-e311-bf14-ac162d773454' JobUID='5151573c-4d50-e311-bf14-ac162d77345
-
Dear All How can i increase decimal places of components in BOM as it is taking only three decimal but i want to add upto 6 decimal. I mean i want to add component qty as 8.785642 in BOM. so how can i enter it
-
Assessment Cycle for Planned Cost
Hi, I have production cost centers and dept cost centers for which cost center planning has been maintained in KP06. I have maintained assessment cycle for planned costs with planned skf. When I run the cycle, system is apportioning the costs based o
-
Bapi to update order header user status
Hi Please suggest any FM or BAPI to update header user status or if no user status exist then it will add the User status at header level. Thanks Aditya
-
Hello, How to change arrows in a slide show (I want arrows from top to bottom and not from right to left. comment changer les flèches dans un diaporama (je veux des flèches de haut en bas et pas de droite à gauche. Thank you