Reg BAPI: "'BAPI_BASICPAY_CREATE" uploading to infotype P0008
The following BAPI to upload the salary data to info type PA0008( BASIC PAY).
This bapi is expects the table type amount with 4 decimals.
Please let us know any other bapi to upload the data to infotype 0008 or how to work with existing bapi. Sothat amount would be with 2 decimals raterthan 4 decimals.
CALL FUNCTION 'BAPI_BASICPAY_CREATE'
EXPORTING
EMPLOYEENUMBER = IT_PA0008-PERNR
SUBTYPE = IT_PA0008-SUBTY
VALIDITYBEGIN = IT_PA0008-BEGDA
VALIDITYEND = IT_PA0008-ENDDA
PAYSCALETYPE = IT_PA0008-TRFAR
PAYSCALEAREA = IT_PA0008-TRFGB
PAYSCALEGROUP = IT_PA0008-TRFGR
PAYSCALELEVEL = IT_PA0008-TRFST
NEXTINCREASE =
LOCALALLOWLEVEL =
PARTNERSHIP =
CURRENCY =
COMPARISONPAYSCLTYPE =
COMPARISONPAYSCLAREA =
COMPARISONPAYSCLGRP =
COMPARISONPAYSCLLVL =
COMPNEXTINCREASE =
CAPACITYUTILLEVEL = IT_PA0008-BSGRD
HOURSWORKEDPERPERIOD = IT_PA0008-DIVGV
ANNUALSALARY =
CASEGROUPCATALOG =
CASEGROUP =
CURRENCYANNUALSALARY = IT_PA0008-ANCUR
REASON =
NOCOMMIT =
IMPORTING
RETURN = IT_BAPIRETURN1
EMPLOYEENUMBER = V_PERNR
SUBTYPE =
OBJECTID =
LOCKINDICATOR =
VALIDITYBEGIN =
VALIDITYEND =
RECORDNUMBER =
TABLES
<b> WAGETYPES = IT_WAGE</b>
tHANKS
Badari
Help would be highly appreciable!
PL note that HR_INFOTYPE_OPERATION is not RFC enabled.. you will have to wrap it around with a custom RFC in order to use it in palce of the above BAPI..
~Suresh
Similar Messages
-
Bapi to upload and download the leave details
Hi all,
Can u please tell me a bapi to upload and download the leave details for the infotype 2001.
Thanks.Hi
Warning! The API methods "Delete," "Approve," "Create," and "Request," and "Change," as well as their corresponding RFCs:
<b>bapi_absence_delete
bapi_absence_create
bapi_absence_approve
bapi_absence_request
bapi_absence_change</b>
are <b>no longer valid</b>. Using these APIs can create inconsistencies in time data.
Instead, use the corresponding API Methods "ManageDelete," "ManageCreation," and "ManageChange" for the Business Object BUS7007, as well as the following corresponding RFCs:
<b>bapi_ptmgrattabs_mngdelete
bapi_ptmgrattabs_mngcreation
bapi_ptmgrattabs_mngchange</b>
Regards
Raj -
How To upload a infotype via BDC recording
Hi ,
I am looking to do a BDC recording to upload a infotype which is 105 for communications My office head quarters are moving so they are changing the first 6 digits of the tlefone numbers but the extensions will remain the same so how is this possible .
regardsA better approach to BDC would be to use a BAPI function module, for example BAPI_EMPLCOMM_CHANGE to change the current data. Make sure you specify the correct Subtype for the telephone number communication. Pass the new telephone number in the COMMUNICATIONID importing interface parameter.
Make sure you lock (BAPI_EMPLOYEE_ENQUEUE) the employee before calling the BAPI and unlock afterwards (BAPI_EMPLOYEE_DEQUEUE).
Hope this helps.
JB -
Using BAPI to upload Equipment Master (IE01)
Hi,
Can any one help to do below object...that i need for resume.
Pls provide me compelete details with code or else give me guidelines in detail to carrayout.....
i should be thankful to you....
Using BAPI to upload Equipment Master (IE01). Fields that are uploaded are Equipment category, valid to date, Equip. Description, object type, Acquisition value, Acquisition date, Maintenance Plan, plan section, catalog profile. Input file is accessed from application server. Error log file is created at application server.
with regards
bheemIf this is a onetime load, you can use LSMW to do this.
Object 0400. Must easier than writing a report from scratch.
Albert -
Hi All,
I am doing bapi fm upload program, when i run the program it shows the short dump error,
i debug this program, the cursor is not move after tansaction_commit,
it shows the FM: ps_commit. it s not run successfully,
any one help for this error,
( CALL FUNCTION 'BAPI_PS_PRECOMMIT' " CALL FUNCTION MODULE
TABLES
ET_RETURN = lt_ret2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' " CALL FUNCTION MODULE
EXPORTING
WAIT = 'X'.)
Thanks for advance help.
AmudhaHi,
You can delete a project definition using the BAPI "BAPI_BUS2001_DELETE". You must enter the name of the project definition that is to be deleted in "I_PROJECT_DEFINITION". Before the project definition is deleted, the following is checked:
the project definition is deleted in the document tables. If the project has WBS elements, these are also deleted. If the project has other objects such as networks, activities and so on, the BAPI terminates and an error message is displayed. These must be deleted beforehand. The BAPI does not delete these automatically. The project definition is deleted as soon as a LUW (Logical Unit of Work) has been completed with the BAPI BAPI_PS_PRECOMMIT and COMMIT WORK. Only one project or one WBS element from a project can be processed at a time in one LUW. You cannot delete temporary objects. This means that if you create a project in an LUW, you cannot delete it immediately after creating it. You can delete it using this BAPI only after you physically create the project using the BAPIs "BAPI_PS_PRECOMMIT" and "COMMIT WORK".
REgards,
Nandha -
Bapi to upload data for hrp1001
Hi is there any standard Bapi to upload data in 1001.
I know it can be done by lsmw or BDC ..but i wanted to aout any bapiHi pratyush,
Try using FM RH_INSERT_INFTY.
Before RH_INSERT_INFTY, call function RH_PM_ENQUEUE, after RH_INSERT_INFTY, call function RH_PM_DEQUEUE.
Regards,
Dilek -
i m new one of sap i need to do the mass upload to infotype 2011 please help me..
Hi Vijayan,
Generally the time events (2011) are uploaded thru some Z program which is created by the ABAPers... but the SAP has provided a report to upload the time events in bulk and they are
RPTEUP00
RPTEUP10
run these report in the T.code se38., get the help of ur ABAPer to change the report for your requirement..
hope this will help u.. if its helpful provide me the points
Regards
Gopinath.BKrish -
Interface Using BAPI for Uploading shipment datas
Can any1 send me the example code for Inbound Interface using BAPI for Uploading shipment datas.please kindly send me the programs which u using with BAPI
Hi
Except hiring (or new joinee) for all other actions you can use below Function Module.
HR_INFOTYPE_OPERATION.
~~~Ganesh Kumar K. -
BAPI to upload serial number master
Hi Gurus,
Is there any BAPI to upload serial number masters?
Thanks in advance for your cooperation,
Regards,
Sudhir DahakeI found my question resloved.
Actually, in previous version, the standard program has been modified by taking access key. When the upgradation happened, it got overwrited to the previous one. So, in recent version it is not appearing.
Thanks.
Nrusingha -
Function or bapi to upload the lead questionnaire to lead partner portal
hi all,
Is there any function or bapi to upload the lead questionnaire that exists in the marketing leads-lead partner portal . The survey should get attached to the lead . I am able to create the lead though with the LDPO process by a function module .Any help on this will be very useful.
Thanks in advance.
MithunHi Bharani,
I can answer two of your questions:
2. No, with a BAPI you cannot see the screens during processing. After it is called you can display the BOM and check that the data is loaded correctly.
3. You can see the error messages of the BAPI by looking in the RETURN structure. This will contain details of any error, warning, information, and success messages generated during the creation of the BOM.
Cheers,
Brad -
Standard program / bdc / bapi to upload customer data.
hi experts,
i need standard program/bdc/lsmw/bapi to upload customer amster data .Hi,
Please check this links on how to use direct input program RFBIDE00.
http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Regards,
Ferry Lianto -
Bulk Uploading to Infotype 0015
Hi All,
I need to upload bulk data from file to infotype 0015 while uploading standard infotype validations also need to be performed as i know FM HR_INFOTYPE_OPERATION can be used to upload but it needs to be called for each records so it may result in performance issue .
So can any one know suggest the best way to upload mass data to the infotype with standard validations as i cannot go with LSMW.
Regards,
PrakashHi,
You will have to update records one by one using this Function module.
1. Use FM HR_PSBUFFER_INITIALIZE to initialize the buffer.
2. Sort your internal table by Pernr (Assuming there can be multiple records for a given employee)
3. Loop at the internal table.
4. AT NEW PERNR, lock the pernr using FM BAPI_EMPLOYEE_ENQUEUE. Upto this point, if you have not checked whether employee exist in the system or not, then call FM BAPI_EMPLOYEE_CHECKEXISTENCE before calling FM BAPI_EMPLOYEE_ENQUEUE. ENDAT.
5. Call function HR_INFOTYPE _RECORD with a single update record. Do not set the flag for COMMIT.
6. On change of Pernr, use BAPI_EMPLOYEE_DEQUEUE to unlock the employee. Endon.
7. Endloop.
8. Commit Work after endloop.
Regards,
Jayesh
Edited by: Jayesh Gupta on Apr 23, 2010 10:49 AM -
Bapi for IA05: Please let me know if there is any bapi to upload Task list
Hi,
Please let me know if there is any BAPI to upload Task list (TCOde : IA05).
Thanksyou can try with below LSMW Batch Input method
Object 0490 Gen.task list
Method 0000
Program Name IBIP
Program Type B Batch Input
or BAPI_ROUTING_CREATE
refer below link
Transaction IA05 - Create general maintenance task list -
Is there any BAPI for Upload Documents of WBS elements?
Hi Guys,
Can anbody tell me is there any BAPI for Uploading Documents of WBS elements ?
Thanks,
Gopi.hi
check these BAPI
Change WBS Elements Using BAPI
BAPI_BUS2054_CHANGE_MULTI
Create WBS Elements Using BAPI
BAPI_BUS2054_CREATE_MULTI
Delete WBS Elements Using BAPI
BAPI_BUS2054_DELETE_MULTI
Detail Data for WBS Elements
BAPI_BUS2054_GETDATA
Reading the GUIDs using the WBS Key
BAPI_BUS2054_GET_GUID_FROM_KEY
Reading the WBS Key using the GUIDs
BAPI_BUS2054_GET_KEY_FROM_GUID
Check Existence of a WBS Element
BAPI_PROJECT_EXISTENCECHECK
Element
thnks
sitaram -
Bapi for uploading opening balances for AUC
Hi All experts,
I want Bapi for uploading opening balances for AUC.
Please help me its urgent.hi ,
try
BAPI_GL_GETGLACCBALANCE - closing balance of G/L account for a chosen year.
BAPI_GL_GETGLACCCURRENTBALANCE - closing balance of G/L account for the current year
BAPI_GL_GETGLACCPERIODBALANCES - Posting period balances for each G/L account.
Maybe you are looking for
-
Getting an error at the i-Tunes Store
I just got an i-Phone 4 and started doing the set up on it. Downloaded the program for the i-Tunes. Attempted to use it and an error message came up as follows: "We could not complete your i-Tunes store request. An unknown error occured (0x8009201
-
All my songs got deleted off ipod touch 4g and are not syncing back. How do I fix this?
READ THE WHOLE THING. I went to download a Taylor Swift CD to my ipod. I imported it like usual then hit sync. It didnt work. I tried importing it again and syncing it didnt work. So in the top menu where it says music, summary, ipod etc, I clicked o
-
I can't open iTunes message says" can't read itunes library.itl because it was created with a newer version" thank you for any help!
-
How to open applications with Automator?
How would I got about opening, say, Contacts, Mail, etc using Automator? I then will want to map it onto F13-F19. I'll also want to open specific Web pages by pressing a Fn key. FWIW, with the method described in this article I can open Contacts but
-
Hi I am working on ESS in ERP 04. I need to do changes in ESS UI. Can anyone advice on Where and How we can use Badi's and tables to bring changes in UI. Thanks Rakesh