Function Modul for read field label
hi all
i search a function modul for read the field label from data element.
Example for data element matnr, i must have field label text material.
Thx abap_begin
Hi,
If you give input parameters type, field and table you get data element using
RP_PRINT_GET_DATA_ELEMENT
Try also
KL_TABLE_INFO_GET
But not sure if this futfill your requirement...
Similar Messages
-
Function module for reading payroll results
HI,
I need a function module for reading payroll results RT table.
Import parameters are personal number, payroll area, and payroll period.
Export should be RT table.
Regards,
Wasim AhmedHai Wasim
Check the following Code
data: payroll_cluster like t500l-relid.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
clusterid = payroll_cluster
employeenumber = pernr-pernr
sequencenumber = payroll-evp-seqnr
READ_ONLY_BUFFER = ' '
READ_ONLY_INTERNATIONAL = ' '
CHECK_READ_AUTHORITY = 'X'
IMPORTING
VERSION_NUMBER_PAYVN =
VERSION_NUMBER_PCL2 =
changing
payroll_result = payroll_us
exceptions
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
others = 8
if sy-subrc <> 0.
if sy-subrc <> 0.
write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
write: /'zu Personalnummer'(008), pernr-pernr,
'bei Sequence-Number'(012),
payroll-evp-seqnr.
write: / 'Fehlercode ='(004), sy-subrc.
endif.
endif.
Thanks & regards
Sreenivasulu P -
Function module for reading service line items of a po
function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...Hi oskchaitanya ,
use bapi BAPI_PO_GETDETAIL1.
Regards
REA -
Function Module for splitting(field) in CO02 t-code
Function Module or enhancement for splitting(field) in CO02 t-code Need function module for inserting a value in field(Max No of splits) in Transaction CO02
Message was edited by:
Mohan KumarYou can use this SAP enhancement PPCO0012 to display your own additional
information on a separate tab page in the production order header. You
can also make user fields avaialble for input, change them, and return
the changes to the order header. -
Function modul for updating field contact in tab but000
Hello experts,
does anybody know a fm in order to update the field
'contact' in tx bp , in tab strip status ?
I have to update this field for many cp and in tx bp I only
can select this field on tab strib status.
Now I want to make a programm and so I need a fm.
Thanks for help
GerdHi Gerd,
Look at function module 'BAPI_BUPA_CENTRAL_CHANGE' . The importing parameter CENTRALDATA has got field CONTACTALLOWANCE and that is what you are aiming to change.
Don't forget to commit the changes.
Cheers,
Surendar
Edited by: Surendar Sangwan on May 15, 2008 3:10 PM -
Function Module for reading PCL2 - B2 FEHLER table
Hi,
Is there any function module can use to read the FEHLER table messages? There is a standard program called RPTERL00 that used to read the FEHLER messages. However, I wish to simplified and use FM to get all the FEHLER table data in my customise program. I will need to delete some of the entries in FEHLER table after the correction has been done. Do you know how to do this?
Thanks in advance.Hi, You don't need pass any data for table tgetbuff .
Try this simple report. It's work for me:
REPORT Z_JRQ038R NO STANDARD PAGE HEADING
LINE-COUNT 65
LINE-SIZE 175.
* D.A.T.A.
DATA: IT_FL TYPE PC2B8 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF tgetbuff occurs 0,
x(10),
END OF tgetbuff.
* S.E.L.L.E.C.T.I.O.N. .S.C.R.E.E.N.
SELECTION-SCREEN BEGIN OF BLOCK BL02 WITH FRAME TITLE TEXT-S20.
PARAMETERS:
PERNR LIKE PA0001-PERNR,
YEAR LIKE T549Q-PABRJ,
MONTH LIKE T549Q-PABRP.
SELECTION-SCREEN END OF BLOCK BL02.
* M.A.I.N. .P.R.O.G.R.A.M.
START-OF-SELECTION.
CALL FUNCTION 'HR_TIME_RESULTS_GET'
EXPORTING
GET_PERNR = PERNR
GET_PABRJ = YEAR
GET_PABRP = MONTH
TABLES
GET_TBUFF = TGETBUFF
GET_FEHLER = IT_FL
EXCEPTIONS
NO_PERIOD_SPECIFIED = 1
WRONG_CLUSTER_VERSION = 2
NO_READ_AUTHORITY = 3
CLUSTER_ARCHIVED = 4
TECHNICAL_ERROR = 5
OTHERS = 6.
CHECK IT_FL[] IS NOT INITIAL.
LOOP AT IT_FL.
WRITE: / IT_FL-LDATE, SPACE, IT_FL-LTIME, SPACE, IT_FL-ERRTY.
ENDLOOP.
Regards, -
Available Function Modules for Reading Master Recipe Info...
Hi
Is there a function module(s) available in ECC to read Master Recipe info.for Material/Plant inputs?
Thanks
BluescluesDear
Try the folloiwng :
1.BAPI_CONTROL_RECIPE_GET_LIST Read control recipe
2.BAPI_CONTROL_RECIPE_REQUEST Request and transfer control
3.MRTRS300_MASTER_RECIPE_READ
4.BAPI_CONTROL_RECIPE_GET_LIST
5.MRTRS300_MASTER_RECIPE_SAVE (Save Master Recipe data from internal table )
6.MRTRS300_MASTER_RECIPE_WRITE (Write Master Recipe data into internal table)
Regards
JH -
SAP HR Function Module for reading RT
Hi,
Is there any function module in SAP HR which takes multiple employee numbers and period as input and gives payroll results as output.
Thanks,
NidhiThere is no FM for that
But you can try reading the cluster by using import export commands.
Regards,
Manu -
Regarding BAPI/Function Module for updating fields FAKSK and LIFEX
Hi All,
I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
If anyone have come accross such situation Please advice.
Thanks ina dvahi satya ranjan,
put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
enter faksk and lifex and data field plus an active-flag for every data field.
e.g.:
ZZKZTRSPG ZZKZTRSPG CHAR 1 0
ZZTRSPG TRSPG CHAR 2 0
find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
if vbkok_wa-ZZKZTRSPG <> space .
perform likp_bearbeiten_vorbereiten(sapfv50k).
if not vbkok_wa-ZZKZTRSPG eq space.
likp-trspg = vbkok_wa-zztrspg.
endif.
perform likp_bearbeiten(sapfv50k).
endif.
regards
marcus -
Function Modul for Order Number from VA02
Hallo
i have a delivery number and want read the order number from VA02.
Of course, select the database from LIKP --> LIPS --> VBKD is possible but
maybe it has function modul for read the order number from transaction VA02.
THX ANUHi,
I think is better recover the data directly from DB tables (in table LIPS you have the fields VGBEL, VGPOS, VGTYP ) if you only want the order number.
With the delivery number you only need to acces 1 table. If you use a FM, you will recover this data and a few fields that is not interesting for you. The access to table LIPS is using table index (delivery number)
Regards,
Pepe -
Urgent: creation function module for chvw table
hi,
I want to make Function Module for the fields in which i have to display the production order and batch numbers.plzz tell me how to create for it.Hi Everybody,
About how to use this function Does anyone have an idea?
I've found it.
call function 'FI_DOCUMENT_READ'
exporting
i_awtyp = 'VBRK'
i_awref = vbfa_tab-vbeln
i_awsys = vbrk-logsys
i_bukrs = vbrk-bukrs
i_gjahr = vbrk-gjahr
tables
t_bkpf = xbkpf
t_bseg = xbseg
exceptions
wrong_input = 1
not_found = 2.
But this is not enough.
Best Regards Rasim. -
Help required in creating function module which reads payroll clusters.
Hi ,
We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions:
1.Read the payroll results from one system.
2.write the payroll results to other system.
please do the needful as soon as possible.
Thanks in advance.
Regards,
Durga.hi
Refer to the below thread
Programming with Clusters for HR-Payroll
Regards
Sameer -
Buffered Function Modules for EKKO, EKPO, EKBE, EKES etc
Hi,
Could you please let me know of some buffered function modules for reading data from EKKO EKPO EKBE EKES EKET?
Regards,
SurajTry BAPI_PO_GETDETAIL , BAPI_PO_GETITEMS , BAPI_PO_GET_LIST
-
Function Module for REBDBU0012-BU Field Modification Criteria - Sample reqd
We are using three distinct type of Business Entities to look after three types of business of client. For this we have defined three number ranges for each such BE. Now, we wish to use Transaction code "REBDBU0012-BU Field Modification Criteria " and wish to define the field status of based in BE number range criteria.
I have discussed this in detail with my developer but he is unable to find any help/functional module. Is there any sample object available with in SAP library or if any member from SAP community could help us in it.
Regards
Rohit GoelHi Rohit,
function module that gets field status für BU in standard is REBU_REBU_EVENT_FMOD2.
There is no such function module that fulfills your requirement available yet.
For your requirement you have to develop your own function module with the same parameters and in the function module you have to insert the logic to determine the field status as you require it.
You may use REBU_GET_BUSOBJ to get the data of the object and so you should have all necessary information. As I already mentioned you can use RERO_RERO_EVENT_FMOD2_USAGE as an example.
Hope that helps.
Regards, Franz -
How can create a function module for currency and quantity fields
hi,
i want to create a function module with some fields.when i activated it give some errors for
netpr,menge,wemng fields(currency, quantity fields).error is it asks for reference fields.
please send me solution for it.
sreenu.Hi Sreenu,
While creating CURRENCY/QUANTITY fields in the DataBase Table, you have to enter a REFERENCE TABLE and a REFERENCE FIELD to the field.
For that, after entering the field name and the data type in the correcponding columns, you have to place the cursor on the data type of the required field and click the CURRENCY/QUANTITY FIELDS tab. You will find two columns called REFERENCE TABLE and a REFERENCE FIELD.
you have to enter a reference table in which a currency/quantity field is used and a reference field which is a currency/quantity field in that table.
For Example, below is the table details.
FIELD DATATYPE LENGTH DEC.PLACES REF.TABLE REF.FIELD
1.SNO CHAR 5
2.AMOUNT CURR 10 2 T001 WAERS
3.NOS QUAN 5 KNA1 /VSO/R_PAL_UL
Here Field 2(AMOUNT) is a CURR field whose Ref. Table is T001 and Ref. Field is WAERS and Field 3(NOS) is a QUAN field whose Ref. Table is KNA1 and Ref. Field is /VSO/R_PAL_UL.
Hope this will help you.
Regards,
Vaitheeswaran
Maybe you are looking for
-
Report in Transaction CJE0 - LOAD_PROGRAM_NOT_FOUND
Hi ABAP Gurus, After double clicking a project report in Transaction CJE0, Dump LOAD_PROGRAM_NOT_FOUND occurs. Can you kindly provide advise on how to check this? Thank you. Best regards. Brando
-
Display infopath form in listview, select item to populate the form
Hi- I once used a list where if you selected the list item by clicking a <-> button,it then populated the infopath form on that page. I have a page with two webpart zones, one for the list and one for the related infopath form. How can i connect the
-
CAF Services not deployed to J2EE engine
HI @all, I desgined an application service in CAF and deployed it to my CE-systtem. Developer Studio doesn't display any errors. I'm using the user Administrator with the roles CAF_Admin and CAF_Developer But when I use the "test service" functionali
-
Wireless Messaging API simulator
hi, does anybody know about simulator that can simulate sms for testing the WMA?
-
I get this message when I click on the Verizon Cloud link in the forum (Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here.). Is this private forum? I'm