BAPI to get Honorarium data
Hi,
I need a BAPI call to get Honorarium data of an Employee.
e.g.
salary, salary grade,percentage of duties undertaken..
kind regards,
Andre
Try BAPI_EMPATTABS_GETDETAIL
Regards,
Suresh Datti
Similar Messages
-
Hi,
I have developed the BAPI which gets the data from few tables and puts them in one structure. But when I am running I am not getting the output. When I am debugging the same the structure is getting populated but it is not getting returned. Please let me know what could be the issue.
Regards,
AshutoshDear Aushutosh ,
Please check whether You have created structure of table in which you are taking values
Do as Such
Create Structure
through se11
Data Type : zname .
having field which you required
such as
name1
waers
klimk
skfor
cskfor
Then assign this Structure to your RFC i.e BAPi
in TAbles Tab
such as
Result like zname .
and then you use your code
to append data in result table
whit proper import parameter and Export parameter if any .
Regards
Deepak . -
Any BAPI or FM to get ECN data.
Hi,
Anybody help me for how to get ECN data, Which is shown in CC07 transaction for given change number. If there is any BAPI for FM please inform,
Thanks.
MaheshHi,
check with these bapi it maight be useful to u.
these are for generic engineering node
BAPI_1197_EXISTENCECHECK
BAPI_1197_REPLICATE
BAPI_1197_SAVEREPLICA
reward if hepful. -
BAPI to get Additional Absence data needed
Hi,
do you know a BAPI to get additional Absence data (pa61 INFTY=82)??
cheers,
AndreTry BAPI_EMPATTABS_GETDETAIL
Regards,
Suresh Datti -
Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?
Hi Experts,
A requirement has come up where I want to get Customer closing balance based on its sales organization as this particular customer is extented to 2 different sales organizations. I want to get the closing balance of individual sales organization vise.
Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?AFAIK there is no such BAPI, cause there is no database table with balance for customer per sales organisation. (No KNCx table for VKORG)
First ask functionals (*) how to recover sales organisation from a FI document (I suppose for SD invoice it is easy if no merging between organisation) will be a little tricker for pure FI document like payment transactions (hope thet are quickly cleared...) Then start from non cleared records of BSID (also BSAD if you use a past date of reference, in case you have to add the records of BSAD with clearing date greater than reference date) and cross it with SD information to break FI into sales organisation.
Regards,
Raymond
(*) Ask for where do they store VKORG in FI documents -
Hi i want to create BAPI to get approver of the employee
hi i want to create BAPI to get approver of the employee
in this BAPI if there are two approver for that employee than i need both approver personal no.
please help me
thanks in advanced.Hi
I doubt whether there is a direct Standard BAPI for that.
The below report will get you the employees approver org position. Even if there are two approvers are there, it will display both the approvers position.
*& Report ZGD_TEST_HR_ORG_STR
REPORT ZGD_TEST_HR_ORG_STR.
DATA: plvar LIKE hrsobid-plvar.
DATA: otype LIKE hrsobid-otype.
DATA: sobid LIKE hrsobid-sobid.
DATA: date LIKE sy-datum.
DATA: leading_position LIKE hrobject OCCURS 1 WITH HEADER LINE.
DATA: org_agent LIKE swhactor.
DATA: lv_sw_vapos TYPE xflag,
lv_subrc TYPE sy-subrc.
DATA spfli_wa TYPE spfli.
DATA carrid_buffer TYPE spfli-carrid.
IF plvar IS INITIAL.
CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR'
IMPORTING
act_plvar = plvar
EXCEPTIONS
no_active_plvar = 1.
IF sy-subrc > 0.
MESSAGE e300(5w) RAISING no_active_plvar.
ENDIF.
ENDIF.
IF otype IS INITIAL OR sobid IS INITIAL.
otype = 'US'.
sobid = sy-uname.
ENDIF.
CALL FUNCTION 'RH_GET_LEADING_POSITION'
EXPORTING
plvar = plvar
otype = otype
sobid = sobid
date = sy-datum
auth = ' '
consider_vac_pos = space
TABLES
leading_pos = leading_position
EXCEPTIONS
no_lead_pos_found = 1
OTHERS = 2.
IF sy-subrc > 0.
MESSAGE e802(5w) WITH otype sobid
RAISING no_lead_pos_found.
ELSE.
LOOP AT leading_position.
write : / leading_position-otype,
leading_position-objid.
ENDLOOP.
endif.
Hope it helps you -
Calling Bapi through BADI gives data statement error
Dear Experts,
I am trying to call BAPI through BADI ME_PROCESS_REQ_CUST --> process_item.
I get an error stating that "The addition OCCURS no longer supported in OO objects"
If, I remove OCCURS statement I get an error stating that "Tables with headers are no longer supported in OO context" for the following data statement.
Appreciate, if you could provide possible solution to overcome the problem.
Regards
Kumar
BAPI code is as follows.
DATA: LV_TABIX LIKE SY-TABIX,
LT_WMDVSX LIKE BAPIWMDVS OCCURS 0 WITH HEADER LINE,
LT_WMDVEX LIKE BAPIWMDVE OCCURS 0 WITH HEADER LINE.
LV_TABIX = SY-TABIX.
CLEAR: LT_WMDVSX, LT_WMDVEX.
REFRESH: LT_WMDVSX, LT_WMDVEX.
Fill communication table
LT_WMDVSX-REQ_DATE = ET_PROCUREMENT_ITEM-DELIV_DATE.
LT_WMDVSX-REQ_QTY = ET_PROCUREMENT_ITEM-QUANTITY.
APPEND LT_WMDVSX.
Availability check with check rule '03'
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
PLANT = ET_PROCUREMENT_ITEM-PLANT
MATERIAL = ET_PROCUREMENT_ITEM-MATERIAL
UNIT = ET_PROCUREMENT_ITEM-UNIT
CHECK_RULE = '03'
TABLES
WMDVSX = LT_WMDVSX
WMDVEX = LT_WMDVEX
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC EQ 0.
READ TABLE LT_WMDVEX WITH KEY
COM_DATE = ET_PROCUREMENT_ITEM-DELIV_DATE.
IF SY-SUBRC EQ 0.
ET_PROCUREMENT_ITEM-AVAIL_QTY = LT_WMDVEX-COM_QTY.
ENDIF.
ENDIF.Hi,
Occurs is no more supported by SAP ( is an obsolete statement )
<b>Instead of following code</b>
DATA: LV_TABIX LIKE SY-TABIX,
LT_WMDVSX LIKE BAPIWMDVS OCCURS 0 WITH HEADER LINE,
LT_WMDVEX LIKE BAPIWMDVE OCCURS 0 WITH HEADER LINE.
you can use
data: LT_WMDVSX type standard table of BAPIWMDVS,
LT_WMDVEX type standrad table of BAPIWMDVE,
LS_WMDVSX like line of LT_WMDVSX , "( work area )
LS_WMDVEX like line of LT_WMDVEX. "(work area)
use workarea to get the data and then append the records from workarea to Internal tables
Reward points if usefull
Regards,
Mohan -
JCO - Get meta data - Grey status in JCO connections tab
Hi all,
I read many post on this topics within this forum but I didn't succeed to get meta data required and to set correctly my connection.
Let's start quickly to give you my conf
In the j2ee admin
-> Services > SLD Data Supplier > CIM Client Generation Settings
I set fields with : SLD7000 / 50000 and my logon info
Save and test -> result is ok !
In my web dynpro application, I am able to get correct BAPI from BCE system using my logon info. And I map my view to display data from the corresponding BAPI called.
So at this time, in my IDE, the connection to the SAP Backend system SAP works because I can get the list of BAPIs from the BCE SAP Backend System as well.
Build and deploy my application.
Now, let's go to webdynpro welcome page on my j2ee server : http://<host>:<port>/webdynpro/welcome
-> content administration
-> I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??
Last thing:
in the BCE backend system
transaction : RZ70
I have, host = sldmain and service = sapgw47
Also, in the list of data collection programs, everything is checked as active except the program "_SLD_RFC"
I don't know if it is important....?
Finally, I give you from the exception I got in my browser only lines "Caused by"....
Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create J2EE cluster node in SLD for 'J2E.SystemHome.localhost': com.sap.lcr.api.cimclient.LcrException: CIM_ERR_NOT_FOUND: No such instance: SAP_J2EEEngineCluster.CreationClassName="SAP_J2EEEngineCluster",Name="J2E.SystemHome.localhost"
Thanks a lot for your support and help,
Best regards,
Emmanuel.Hi Emmanuel
You said
" I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??"
What is their status ? Is it green on red? Usually create is greyed out if it is green. What about Edit?
Try creating a new Web Dynpro component with another destination name ,deploy and then check the Content administrator if these new destinations have Create enabled
After running RZ70 did you check the Technical System in SLD administration to see if the technical details have been propogated ?
Regards
Pran -
Getting delivery date for material number i PO...
Hi,
I am Smartform associated with PO in ME22N:
Now I need to get the delivery date associated with Differnet Grid items in a material.
So if I go to some material and then if I click on Delivery schedule:
I see columns for delivery date, sat. del da, Grid value, etc...
But I want to know the table or function module we need to use to get Delivery date associated with
prticular Grid item of a material in PO.
Please help me out.
Thanks.
Regards,
Ramesh.Hi ,
Check out for BAPI_PO_GETDETAIL.
In this BAPI,
fill parameters : PURCHASEORDER with PO number
ITEMS with 'X'
SCHEDULES with 'X'
Then in tables PO_ITEMS you will get Item details and
in table <b>PO_ITEM_SCHEDULES</b> you will get required details like delivery date
Hope this helps.
Regards,
Akshay Bhagwat -
BAPI to get Invoice Details based on PO Number
HI,
Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
Regards,
RameshHi Ramesh ,
there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
pass Vendor list , Document Dates.
<b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
Regards
Prabhu -
Performance Monitoring - How to get the data
Hi all,
we have a tool to monitor non sap systems and services and would like to use the same tool to get some runtime information from PI services, specially soap interfaces. The information we want is available at runtime workbench, performance monitoring.
Is there a standard function we can use to get this data (EJB , Bapi, RFC, etc...) ? Today we are importing daily a file with this information from RWB, but this is enough only for statistical purposes, not for monitoring.
Some tip?
thank you.
regards.
robertiRoberti,
Three are a number of ways to tackle these things - I usually like CCMS just because SAP spends so much time making it work for everything anyway - if your tool can connect to this - you can get some decent information from here about your system status, queue's and java.
Speficially for Messages, I don't think that there are monitors defined as RFC BADI's or BAPI's to use but if you feel saucy, tables for messages are SXMSPMAST2 and SXMSPMAST - should give you a programming head-start to get some data and pass that back although you would only replicate the functions in CCMS.
Of course with all SAP Products, you have to go through the application to get this data, no ODBC connections or otherwise - there are other options like DBCON to allow you to 'send' data to other Db's if you need to do it that way.
Hope that helps somewhat and if this answers your question, please set your thread to answered.
Edited by: David Milliken on Feb 22, 2008 8:06 PM -
FM or BAPI to change Operation data
Hi,
Is there any BAPI to change operation data? BAPI_ALM_ORDER_MAINTAIN is not useful in my case. I want to use IBAPI_ORDER_OPERATION_CHANGE but not able to get proper documentation for same.Can anyone give me a sample code about how to use IBAPI_ORDER_OPERATION_CHANGE?
My requirement is to tick check box 'Required Splitting' in operation if some conditions are met. I am planning to do this using cuatomer exit. Everything is working fine only i need to know how to use above BAPI. If this doesn't work then as a last option i will go with BDC.
Regards,
KamalHi Kamal,
Unfortunately I can not see any BAPI which changes operation data of a production order.
BAPI_PRODORD_CHANGE is available only for changing header details.
BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
I'm afraid BDC is the only option in this case.
Regards,
Marcelo Pacheco -
Hello Experts,
Are there any available FMs or BAPIs to get the material documents and its movement type?
Just like in transaction MB5B(Stocks on posting date)
Hope you can help me guys. Thank you and take care!As I said, I need an FM or BAPI and not a standard transaction.
Thanks. -
BAPI to get the Material in Stock
Hi Experts,
I have requirement in which I have to call the function module(RFC Enabled) or BAPI which give the following fields as listed below
1.Plant
2.Material
3.Material description
4.Batch number
5.Material type
6.Basic unit of measure
7.Storage location
8.Unrestricted quantity (not consignment)
9.Reserved quantity
10.Quantity under inspection,
11.Blocked
12.Returns
13.Stock in transit
Please help me out soon.
Thanks and regards,
Kuldeep VermaHi,
BAPI_MATERIAL_AVAILABILITY is the correct BAPI to get the details.
here is the sample code:
REPORT ZREPORT_MAT.
data: ENDLEADTME type BAPICM61M-WZTER,
AV_QTY_PLT type BAPICM61V-WKBST,
DIALOGFLAG type BAPICM61V-DIAFL,
RETURN type BAPIRETURN,
WMDVSX type table of BAPIWMDVS,
WMDVEX type table of BAPIWMDVE.
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
plant = '1100'
material = '000000000300000292'
unit = 'EA'
CHECK_RULE =
STGE_LOC =
BATCH =
CUSTOMER =
DOC_NUMBER =
ITM_NUMBER =
WBS_ELEM =
STOCK_IND =
DEC_FOR_ROUNDING =
DEC_FOR_ROUNDING_X =
READ_ATP_LOCK =
READ_ATP_LOCK_X =
MATERIAL_EVG =
IMPORTING
ENDLEADTME = ENDLEADTME
AV_QTY_PLT = AV_QTY_PLT
DIALOGFLAG = DIALOGFLAG
RETURN = RETURN
tables
wmdvsx = WMDVSX
wmdvex = WMDVEX
break developer.
write:/ AV_QTY_PLT.
Reward points if useful. -
BAPI to get all user lists for specific inputs
Hi Experts,
Is there any BAPI to get all input related user lists when I give input specific object, authorizations, profiles and values?
Thanks,
RohanHi
use the fun module/Bapi's
BAPI_USER_GET_DETAIL
BAPI_USER_LOCPROFILES_ASSIGN
BAPI_USER_LOCPROFILES_DELETE
BAPI_USER_LOCPROFILES_READ
BAPI_USER_PROFILES_ASSIGN
BAPI_USER_PROFILES_DELETE
SUSR_BAPI_USER_PROFILES_ASSIGN
SUSR_BAPI_USER_PROFILES_DELETE
also you can use the tables UST12 for user based authorizations
AGR_USERS -roles assignment for users
AGR_PROF - Profile data for roles
AGR_DEFINE - Auth Profiles for users
See the AGR_* and US* tables further
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala
Maybe you are looking for
-
Hi, I'm working on a project to convert several hundred thousand life sciences articles into epub format, and we have run in to a problem with character entities. Being that these are scientific articles, the characters are from a wide range of Unico
-
I am using an old Imac G5 2.16 GHz intel core 2 duo. Its 8 years old. I had my iphoto and itunes libraries on an external hard drive. Li The mac was running slow so I backed up important stuff and then did a factory reset. Then I did upgrades to snow
-
How Long Does It Take To Get BT Infinity & Telepho...
Hi I wanted to phone up BT and ask this question, but I couldn't get past "We Need The Phone Number This Enquiry Relates To Before We Can Proceed". Err, it's a pre-sales enquiry, I don't have a BT phone number. Anyway... I am moving into a new house
-
Recently re-installed I-Tunes will not connect the internet
I am attempting to de-authorize a PC from the I-tunes registry. I had unistalled I-Tunes from my pc at work, as I no longer us this for I-Tunes. I now need to de-authorize this pc. I re-installed I-Tunes, but it will no longer connect to the Inter
-
Is there a way to influence the size of popup windows? I am developing help that will be displayed in a narrow panel, and popups get to be ridiculously narrow. It seems that the autosizing algorithm prioritizes tall over wide, so that a pupup topic t