Updating the longt ext into tables
hii
i have created custom infitype whe n i execute it in PA30 and click on save button only the fields are storing in the tables but the long text is not reflecting i know that by using the save_text we can update but i dont where actuallly i need to place the code in the modulepool program and how to create the long text in the so10 can any one sole this and send somr screen shots so that i would be helpfull for me
Hi Dileep..
Since you have found the FM to update the long text all you need to do is find out the BADI or exit that gets called on action save
in PA30.. then insert your FM in that to update long texts...
Regards,
Bharath
Similar Messages
-
How to update the field ZLSPR of table BSEG
HI Friends,
Can anyone tell me how to update the field ZLSPR of table BSEG? I've a 700 line abap program and I should include some logic in this program to make an entry into BSEG-ZLSPR. Is there any FM/BAPI available? Is BDC a healthy approach?. My team lead do not want me to use UPDATE statement....please help.
Thanks in advans,
Varsha.Hi,
Hi ,
You will need to group that radiobuttons so that SAP knows they are linked together. To do this using the grahical layout editor simply select all the radiobuttons and then right click on them, Now choose define group. Once you have done this you should not need any of the "clear" or "='X'" statements SAP should control it all for you.
hope this helps
Reward if found helpfull...
Venkoji Babu. -
How to update the ztable by using table handling function
how to update the ztable by using table handling function
It is very urgent ...............................
thanks in advancesee the below code for the direct ztable update
Report ZUPDATE_PRPS.
tables: zprps.
parameter: p_wbs like zprps-pspnr,
p_value like zprps-fakkz default 'X'.
data: wa_fakkz type zprps-fakkz.
*START-OF_SELECTION
start-of-selection.
call function 'CONVERSION_EXIT_ABPSP_INPUT'
exporting
input = p_wbs
importing
output = p_wbs
exceptions
not_found = 1
others = 2.
select single fakkz
into wa_fakkz
from zprps
where pspnr eq p_wbs.
if sy-subrc eq 0.
update zprps set fakkz = p_value where PSPNR eq p_wbs.
if p_value is initial.
message i999(za) with 'Billing element field has been unchecked'.
else.
message i999(za) with 'Billing element field has been checked'.
endif.
else.
message i999(za) with 'WBS element not found'.
endif.
reward points if it is usefull .....
Girish -
How to update the data in sqlserver table using procedure in biztalkserver
Hi,
Please can any one answer this below question
how to update the data in sqlserver table using procedure in biztalkserver
while am using executescalar,typedprocedure getting some warning
Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
Please send me asap....
Thanks...Hi Messip,
A detailed error would have helped us to answer you more appropriately but
You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
Maheshkumar
S Tiwari|User
Page|Blog|BizTalk
2013: Inserting RawXML (Whole Incoming XML Message) in SQL database -
Get Error while update the User defined row table through DSK Code
Hi experts,
I have got an error while updating the user row defined table.
Error is - "Invalid row"
I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
Now i am updating the last record of child table through Code (Line id is 5) from other form, then i got error invalid row.
Following Code used for updating the user defined child table.
SAPbobsCOM.GeneralService oGeneralService1 = null;
SAPbobsCOM.GeneralData oGeneralData1 = null;
SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
SAPbobsCOM.CompanyService sCmp1 = null;
SAPbobsCOM.GeneralData oChild1 = null;
SAPbobsCOM.GeneralDataCollection oChildren1 = null;
sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
// Get UDO record
oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
// Add lines on UDO Child Table
oChildren1 = oGeneralData1.Child("CBF_FAR1");
// Create data for rows in the child table
SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
oCombo = oItem.Specific;
string ShedCode = oCombo.Selected.Value;
ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
ldna_Rec.DoQuery(strQuery1);
oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
oChild1.SetProperty("U_Status", "Ready For Schedule");
//Update the UDO Record
oGeneralService1.Update(oGeneralData1);
Please Help me it is an urgent requirement,
-Regards
Vikashi.
Error is - "Invalid row"
Now i am updating the last record of child table through Code (Line id is 5) from other form, then i got error invalid row.
As per my knowledge
What i understood is you have 5 lines and you are going to be update 5th line
am i correct..
while u are updating the line in child table
you have to consider like this..
line number u have to update like
1 0
2 1
3 2
4 3
5 4
which means in child table treat
line 1 as 0
line 2 as 1
line 5 as 4
If you want to update the line 5 u have to mention 4 th line -
How to Update the statistics of a table
Dear Experts,
I want to update the statistics of a table D010INC table.How can i update it.
Plz provide me detailed steps.
Regards,
Farook.
Edited by: farook shaik on Dec 15, 2008 1:04 PMcheck this SAP help
http://help.sap.com/saphelp_nw04/Helpdata/EN/df/455e97747111d6b25100508b6b8a93/content.htm -
How to copy the table1selected records into table 2 in webdynpro java.
Hi
how to copy the table1selected records into table 2 in webdynpro java.
venkat
Edited by: venkatpvr on Sep 23, 2011 11:53 AMHi Venkat,
You have 2 Value Nodes one for Table1 and second for Table2.
Table1 node having one more Value Attribute i.e check Box data type is Boolean. Now you are requirement are select records from Table1 Node and click on One Method that records will moves to Second Table2 Node.
Create One Method for getting the Records from 1-Table to 2-Table
CopytoTable2 ()
In this method you have to write code like this
If (wdContext.nodeTable1.Checkbox(true))
If(1. Check the Table1 Value Node Size()>0)
Get the Table1 records and set to table2 Value node.
Else
Please select check box// Error message
Hope this helps!!
Regards
Vijay K -
Function module or BAPI that is used to update the records in RBKP table.
Hello All,
Can anybody please give me the name of any Function module or BAPI that is used to update the records in RBKP table.
Please help me
I need to change the fiscal year in RBKP table
Thanks in Advance,
Regards,
LIJOHi,
You can use the BAPIs,
BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
Hope this helps.
Regards,
Renjith Michael. -
Update the MTO stock into the total consumption list
Hi experts,
Is there any methods to update the MTO stock into the total consumption list?
Thanks,
NadaliHi,
What is your question exactly?
Consumption and stock are two different categories. Stock is the amount of goods you have and consumption is the amount of goods you consumed e.g. for production purpose.
If you consume you stock in MTS, MTO environment, the consumption of your stock will be realised trough movement types (e.g. 261) and you can report this. (MB51, MB53, COOIS)
So, if the consumption takes place, these reports (e.g. MB51) will show you the latest movements as well (if you run it after goods movement).
Please clarify your question.
BR
Csaba -
How the data populated into tables like USR01,USR02 etc
Hi,
I have one theoritical doubt. How the data is populated into tables like USR01, USR02 etc after creating the
user using SU01. Let me know the process behind it.
Rgds,
Chandra.Hi Chinna,
When you create users using SU01, SU10 transaction codes, it uses BAPI_USER_CREATE1 which will update the data in the respective tables.
Same way BAPI_USER_CHANGE is used when you modify any existing users.
Hope this answers!!
Warm Regards,
Raghu -
Question on Updating the rows of a table using a SELECT Statement
Hi,
I am trying to set all of the R_IDs in one table to the ID from another table using a join.
Here is the SQL I came up with. I don't this is correct though.
UPDATE TABLEA A
SET R_ID=(Select Id from TABLEB B
WHERE A.DEE=B.DEE AND
B.RNUM=1);
Does this make sense?You can try the join view.
UPDATE ( SELECT table_a.id AS a_id,
table_b.id AS b_id,
table_a.col1 AS a_col1,
table_b.col1 AS b_col1,
table_a.col2 AS a_col2,
table_b.col2 AS b_col2,
table_a.col3 AS a_col3,
table_b.col3 AS b_col3
FROM table_a,
table_b
WHERE table_a.id = table_b.id)
SET a_col1 = b_col1,
a_col2 = b_col2,
a_col3 = b_col3;
However it may result in
ORA-01779: cannot modify a column which maps to a non key-preserved tableThis is because the key-preserving property of a table does not depend on the actual data in the table. It is, rather, a property of its schema. For example, if in table_b there was at most one record for each id value, then table_a.id would be unique in the result of a join of table_a and table_b, but table_a would still not be a key-preserved table. By adding the unique/primary key on the id column of table_b we can assure that if table_b.id were part of the result set of the join view then it would be unique. This makes table_a key preserved.
Thus, in order to update a join view we must assure that the columns involved in the join view from the source table are unique. We do this by creating a unique or primary key on those columns.
However, if you do not mind taking responsibility for making sure that there is one-to-one cardinality between the source and destination rows, then you might try the correlated subquery
UPDATE table_a
SET (col1, col2, col3 ) =
( SELECT col1, col2, col3
FROM table_b
WHERE table_b.id = table_a.id )
WHERE EXISTS
( SELECT col1, col2, col3
FROM table_b
WHERE table_b.id = table_a.id ) -
Api to update the values in per_periods_of_placement table
Hi,
can anyone let me know whether any hrms api is available to update the values in the table PER_PERIODS_OF_PLACEMENT.
I want to update the values under the column TERMINATION_REASON in per_periods_of_placement for few set of contingent workers(for those a wrong reason was entered need to replace with correct value now).
Please revert asap.
Thanks,
JithendraHere is my stand alone PL/SQL block :
I am supplying the start_date fro mthe per_periods_of_ placement table itself...
DECLARE
CURSOR get_cwk_details IS
SELECT person_id cwk_person_id,
object_version_number ovn,
date_start service_start_date
FROM per_periods_of_placement pdp, hr_lookups l
WHERE l.lookup_type(+) = 'HR_CWK_TERMINATION_REASONS'
AND l.lookup_code(+) = pdp.termination_reason
AND HR_GENERAL.DECODE_LOOKUP ('HR_CWK_TERMINATION_REASONS',
PDP.TERMINATION_REASON) = 'Deceased' ;
l_person_id NUMBER(20);
l_ovn NUMBER(10);
l_date_start DATE;
BEGIN
FOR get_cwk_details_rec in get_cwk_details
LOOP
l_person_id := 153564;--get_cwk_details_rec.cwk_person_id;
l_ovn := get_cwk_details_rec.ovn;
l_date_start := get_cwk_details_rec.service_start_date;
dbms_output.put_line('l_person_id = ' || l_person_id);
dbms_output.put_line('l_ovn = ' || l_ovn);
dbms_output.put_line(' l_date_start = ' || l_date_start);
apps. hr_periods_of_placement_api.update_pdp_details(
P_VALIDATE => FALSE,
P_EFFECTIVE_DATE => l_date_start,
P_OBJECT_VERSION_NUMBER => l_ovn,
P_PERSON_ID => l_person_id,
P_DATE_START => l_date_start,
P_TERMINATION_REASON => 'DW');
COMMIT;
END LOOP;
END; -
Hi All,
Can any one tell me is there any Remote function module to update the values of components in STPO table while creating Sales order BOM, Material BOM, and WBS BOM. For example I want to update the Spare Part Indicator for Item components based on Plant.
Please do the needful..
Regards
YathishFor material bom: CSAP_MAT_BOM_CREATE
and CSAP_ORD_BOM_CREATE for Order BOM.
Regards,
Ravi -
Can we update The extended VBPA database table using BAPI
Hi,
We have a table VBPA appended with two fields start date and end date. Our scenario is to when modifying the sales order using the bapi BAPI_SALESORDER_CHANGE we need to update the two fields star_date and end_date of VBPA table for the corresponding Ship to or Sold to partner for the Given Sales Order.
Thanks,
Venkat.Hi,
YES You can, You should be updating this to fields using a BAPI - "BAPI_SALESORDER_CHANGE" and use table user this BAPI "EXTENSIONIN" to update this fields. Refer to BAPI documentation for more reference. Please check below code which was done for VBAK (2 date fields).
Regards,
Tim
DATA:
ZBAPISDH1 TYPE BAPISDH1,
ZBAPISDH1X TYPE BAPISDH1X,
ZEXTENSIONIN TYPE TABLE OF BAPIPAREX WITH HEADER LINE,
BAPE_VBAK TYPE BAPE_VBAK,
BAPE_VBAKX TYPE BAPE_VBAKX.
ZBAPISDH1X-UPDATEFLAG = 'U'.
BAPE_VBAK-VBELN = P_VBELN.
BAPE_VBAK-ZZSD_FROM = P_START.
BAPE_VBAK-ZZSD_TO = P_END.
BAPE_VBAKX-VBELN = P_VBELN.
BAPE_VBAKX-ZZSD_FROM = CO_X.
BAPE_VBAKX-ZZSD_TO = CO_X.
ZEXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
ZEXTENSIONIN-VALUEPART1 = BAPE_VBAK.
APPEND ZEXTENSIONIN.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'. -
Update the field VSTAT of table NAST
Hi,
I need change the value of field VSTAT of table NAST in a program for the document don´t print.
How update the table NAST with the new value VSTAT?
Thanks.OK. 10 points.
Maybe you are looking for
-
Indesign Keeps crashing on launch!!
Seconds after InDesign has finished launching, it crashes! It was OK until I created a workspace, and I suspect it's the folio builder that is the suspect, but what's happening is that once it has finished launching, I get a warning window pop open s
-
File Sender Communication Channel not working
Hi All, We have one file sender channel which sends file after every 3 hours. But currently it has stopped the processing of file. If we see in RWB it shows that "Correctly configured and started",but if we start and stop the chanel it doesnt show an
-
Is my computer killing my ipod shuffle?
I have bout multiple ipod shuffles over the last couple of years. After about a month. They stop working. What's wrong? Could it be the USB port?
-
How to do a two-page form field?
I'm trying to build a two page letterhead with two fields, but I need to make the text continue from one field to the next (similar to a Word doc automatically continuing onto the next page). Is there a way to do this? Thanks, B Miller
-
Wrong incarnation of this file - wrong creation SCN
We currently have a media recovery problem, and the problem seems not to get resolved. System is Solaris 10 on a 64bits Sparc with 10.2.4 Oracle database. Problem: Can't recover from backup and archivelog fiiles. We ran "alter database recover" and w