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,
Jithendra
Here 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;
Similar Messages
-
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 -
API to update credit_card number in iby_creditcard table
We got a requirement to update the credit card number stored in iby_creditcard table with a magic number and the API 'iby_creditcard_pkg.update_card' doesn't have the option to update the credit card. Is there any other API to update the credit card number in iby table?
Thanks for the reply Sajid. In order to meet PCI compliance we are supposed to wipe out the actual credit card numbers from the system. The actual credit card numbers are stored in encrypted format in IBY_SECURITY_SEGMENTS. So, I am searching if there is any API to update the data in that table as there is no API to delete card information.
-
Update the values in the table on select of a particular row
hi
I want to update the values in the table on selecting the particular row.
im able to select the particular row using Leadselect.
can any one help me in updating the values in the table?
regards
rajihi,
values are coming from my database ( SQLServer.)
on click of the button i am able to display the values from the database.
My problem is on selection of any row , i should be able to edit/update the values in the table .
regards
raji -
Function module for updating the values in table VTTK
Hi,
I am working on a report in which I need to update the value of field tdlnr of table vttk for a particular shipment number. I need to do this using functional module and I am not been able to find one. If anyone knows answer to this plz help.
Thanks in advance,
Priyanka.As noted above, RETURN table must be supplied empty, it is for BAPI to return the messages back to the calling program. You simply need to define an internal table, pass it to BAPI as is and then analyze this table after the BAPI call. For example:
DATA: BEGIN OF it_return OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA: END OF it_return.
CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
<...>
TABLES
<...>
return = it_return.
LOOP AT it_return.
MESSAGE
ID it_return-id
TYPE it_return-type
NUMBER it_return-number
WITH
it_return-message_v1
it_return-message_v2
it_return-message_v3
it_return-message_v4.
ENDLOOP.
Hope this helps. -
Need a PLSQL API for update the oe_order_headers_all table
Hi all,
I need a PLSQL API for update the oe_order_headers_all table.
Anyone know please help me.
Regards,
M.Soundrapandian.Use the Process Order API to update this table.
Note: 746787.1 - Process Order API In Order Management
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=746787.1
Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115omapi.zip
Oracle Integration Repository
http://irep.oracle.com -
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 -
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
YathishHi Naren,
Thanks for ur reply,
The BAPI that you have gave is to update only Material BOM. But I want to Change and create spare part indicator for 4 BOM's, ie Sales Order BOM, Eqipment BOM and also Material BOM and WBS BOM.
Can u please shed some light on it,so that it would be helpfull to me.
Thanks
Yathish -
Loop through xml and update the value
I have the following xml table. I need to update the Field which name="data"
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root name="xyz">
<Row id="1">
<Field name="data">456</Field>
<Field name="time">2005-02-08 10:43:51</Field>
</Row>
<Row id="2">
<Field name="data">123</Field>
<Field name="time">2005-02-08 10:43:16</Field>
</Row>
</Root>
After update, the table should look like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root name="xyz">
<Row id="1">
<Field name="data">abc</Field>
<Field name="time">2005-02-08 10:43:51</Field>
</Row>
<Row id="2">
<Field name="data">edf</Field>
<Field name="time">2005-02-08 10:43:16</Field>
</Row>
</Root>
How do I update the value through java program? I do not want to load the data to database to update the value. The constrain is that i must have the value updated in java application before I loaded it to the database.
Please any advise?
Thank you!Use a DOM parser to parse the xml document...you will get a Document object, which you can use XPath or traverse the DOM tree and perform the updating.
-
How to update the value of setter and getter..!!
Hii all i am developing an portal application in which i display the metadata information related to a document(Stored in UCM) in a popup in my application...
The user can also update the information through the application.
in my popup i have a trh : table layout in which i have a Select Onechoice field as
<trh:cellFormat id="xcfcSecurityGrp">
<af:selectOneChoice value="#{MetaDataFields.DSecurityGroup}" id="ddldSecurityGroup" showRequired="false"
autoSubmit="true"
immediate="true">
<f:selectItems value="#{ContentDataBean.TSecurityGrpList}" id="si1"/>
</af:selectOneChoice>
</trh:cellFormat>
The MetaDataFields.DSecurityGroup show the current security group on document
and
ContentDataBean.TSecurityGrpList provide the user with the list of security group to update.
The current security group i am getting through a map which consist of metadata information for a document :-
public void setDSecurityGroup(String dSecurityGroup) {
this.dSecurityGroup = dSecurityGroup;
public String getDSecurityGroup() throws IdcClientException, IOException {
Map<String,String> mapValue=ep.getDocumentPropertiesSystem();
dSecurityGroup=mapValue.get("dSecurityGroup");
return dSecurityGroup;
The problem is that whenever i am updating the value for the security group, i am getting the old value, the problem is that i have to every time get value from the map only as it consist metadata information for the current selected document..
Is there is any way through which i can update the value for this field..??
Thanks
JDeveloper - 11.1.1.6.0Hi,
Try binding ValueChangeListener on the selectList. Also set autoSumit property to true.
Thanks,
Pandu -
How to update the value inside a field symbol ?
ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO <fs_field>.
<fs_field> = itab_stpo-menge.
COLLECT <fs_line> INTO <fs_table>.
.processing some code......
ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO <fs_field>.
<fs_field> = ( itab_stpo-menge * itab_plpo-vgw03 ).
COLLECT <fs_line> INTO <fs_table>.
Hi, guys,
May i know is there a way to update the value in inside a field symbol?
I feel hard to figure out the way to solve this situation. Kindly give me some help or perhaos tell me other altenative way to do it also can.
Thanks in advance.
Edited by: Jiansi Lim on Apr 25, 2008 8:09 PMhi check this...
For a structured data object s, you can use the statement
ASSIGN COMPONENT comp OF STRUCTURE s TO FS.
Here the comp is the component name or its index number in the structure.
Find the following sample code -
DATA: BEGIN OF LINE,
COL1 TYPE I VALUE '11',
COL2 TYPE I VALUE '22',
COL3 TYPE I VALUE '33',
END OF LINE.
DATA COMP(5) VALUE 'COL3'.
FIELD-SYMBOLS: <F1>, <F2>, <F3>.
ASSIGN LINE TO <F1>.
ASSIGN COMP TO <F2>.
DO 3 TIMES.
ASSIGN COMPONENT SY-INDEX OF STRUCTURE <F1> TO <F3>.
WRITE <F3>.
ENDDO.
ASSIGN COMPONENT <F2> OF STRUCTURE <F1> TO <F3>.
WRITE / <F3>.
The output is:
11 22 33
33
I need to update one field in Internal table
regards,
venkat -
Program updating the value with succeeding 0
Hi
We have got a problem.
We have developed a program to update the value of the condition type. The upload file will have the SO, line item, condition type and value.
In the background, the sales order change BAPI is called and the value of the condition type is updated. There is no bug in the program for this functionality with reference to the problem.
When I upload, the value is getting uploaded correctly. But for some users, the value is updated with an additional 0 at the end. For example if 78 is the value of a condition type, the update happens as 780. The strange behaviour is that if I take that user id and password and upload in my laptop, the value is correctly uploaded without any addtional 0.
We have checked the user profile of all the problamatic users. They are fine. The xls sheet decimal notation is checked and they are also fine. There is no bug in the program, as it is working fine for many users.
What else should I be checking to solve this issue. An ABAPer advised to check the GUI level difference. I dont know how to do that but there should not be any such difference in the GUI versions for the users.
Can somebody put some light on this issue.Hi Navaneetha,
The Excel version is the same for you and the user?
Can the same be debugged and rectified?
Regards
Saurabh -
Fetch the values from internal table inside an internal table (urgent!!)
data : BEGIN OF PITB2_ZLINFO occurs 0,
BEGDA LIKE SY-DATUM,
ENDDA LIKE SY-DATUM,
PABRJ(4) TYPE N, "Payroll Year
PABRP(2) TYPE N, "Pay. Period
ZL LIKE PC2BF OCCURS 0,
END OF PITB2_ZLINFO.
I have a internal table like this,
How to Fetch the values from internal table inside an internal table.
Kindly Help me on this..
Regards,
Ram.Hi,
Try this....
Loop at PITB2_ZLINF0.
Loop at PITB2_ZLINF0-ZL.
endloop.
Endloop.
Thanks...
Preetham S -
How to retrieve the values from a table if they differ in Unit of Measure
How to retrieve the values from a table if they differ in Unit of Measure?
If no data is read
- Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
If no quanity in result internal table
- There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
- - Remove the CORRESPONDING, so quantity will fill the first field adqntp1. ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
- - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
* Fill the internal table
SELECT msehi adqntp
INTO TABLE internal table
FROM lipso2
WHERE vbeln = wrk_doc1
AND msehi IN ('KL','K15','MT').
* If required move the read quantity in the appropriate column.
LOOP AT internal_table ASSIGNING <fs>.
CASE <fs>-msehi.
WHEN 'K15'.
<fs>-adqnt2 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
WHEN 'MT'.
<fs>-adqnt3 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
ENDCASE.
ENDLOOP.
- You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
Regards,
Raymond -
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
Maybe you are looking for
-
What happens when multiple users access the same servlet?
Do the users share all the same resources? Or is a new process generated for each user? I have a servlet that builds a string to return to the user and I only have myself to test, so I can't really see what happens when many users access the servlet.
-
Problem with Linus Ubuntu 7.04 and Oracle-Xe debian package
Hi all, Installed Oracle 10g XE on my Ubuntu 7.04 using universal Debian Package : oracle-xe-universal_10.2.0.1-1.0_i386.deb. No problem during the installation . After finished the installation, I configured the database to use port 6000 and its pas
-
My iphone 4 wont open i tried charging and plugging to the computer. What should i do?
My iphone 4 wont open i tried charging and plugging to the computer. What should i do?
-
Can't remove "cash basis" payment terms
I have created numerous payment terms and have no need for the "cash basis" terms that is part of default SAP. However, when I try to remove the cash basis payment terms I get an error "cannot remove the payment terms selected". I already made sure
-
Initialisation options for source system
If I am in an InfoPackage and seleet the option "Initialisation options for source system" and have more than one entries, is there any way that I can delete just one of the entries? Thanks