Function Module/Table to retrieve check table for standard fields
Hi,
Is there any function module or database table that holds the check table for standard field? Ex. BUKRS = T001.
Hi MArc,
Goto DD03L table
Enter fieldname and tablename, you will get check table in CHECKTABLE field.
e.g. fname - MATNR, tbname MARD then CHECKTABLE - MARA
Reg,
Sachin
Similar Messages
-
Function Module that will retrieve the parameters for a given function Modu
Hi
We have a requirement where we will be calling Function Module that will be maintained in a table entry. How we will determine what is the parameters that is required by this function module. Is there a FM that will suffice the requirement.
Thanks in advance
arghadipHi,
You have to write a custom code for that. Use the table FUPARAREF to retrieve the parameters for a function module. Give function module name as input.
Pls reward points if solved your issue.
Regards,
Renjith Michael. -
IBASE Status update Function Module/ Table Field for status
Dear Experts
We need function module to change status of IBase. Please tell me standard function module if any. Or if no standard fuction moudle exists, please tell me tables which contains user and system status.
Thanks and regardsHi,
Try using FM CRM_IBASE_CHANGE and please remember to call FM CRM_IBASE_SAVE to save the changes made. Thanks.
Regards, AC -
Function Module TABLES parameters
Hi All,
I want to pass my internal table to a function module but when I try to access the componenbts of the table it is giving me syntax error. Is it required that I should create DDIC structure for this? Is there any other option?
I have declared the internal table using types. And in function module tables parameters just declared internal table.
Regards,
DilipHi
In the function
Say import parameter is TAB ( with no type definition )
From program you pass an internal table ITAB .
You don't need to define TAB in your function.
In the code you can diretcly use
LOOP AT TAB.
ENDLOOP.
( At runtime TAB will take the structure of ITAB from program )
Cheers -
How to find the Check table for a field ?
Hello All,
I have the filed name f1.
Now I want to know the check table of this field programatically and if this field has a configuration table then I need that table also.
eg: if werks is the field the Master Table is : MARC
and Configuration Table is : T001W.
Is this possible first of all programatically ?
If yes can anyone help me out ?
Regards,
Deepu.KHi again,
1. I don't know the master table for the field werks
A field is never independent. It is always linked to a table,
otherwise the information is only half.
2. So incase if we do not know the tablename,
its best to query the table DD03L with WERKS,
and filer out CHECKTABLE with *,
and take any one record.
regards,
amit m. -
Function module to find the attachment list for an accounting document?
Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
<b><REMOVED BY MODERATOR></b>
Thanks,
Ning
Message was edited by:
Alvaro Tejada GalindoHi,
i_object1-typeid = 'YARSATTA'. "<<< Give your Object id name
i_object1-catid = 'BO'.
i_object1-instid = i_yarsitem-docno. "<<<< Document Number
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
read table i_stat1 into wa_stat1 index 1.
if sy-subrc eq c_0.
move wa_stat1-counter to v_attno1.
endif.
For link you need to check for table SRGBTBREL
and also please check class CL_GOS*
a® -
Use 'SDPARTNERLIST' as a table for pick fields
Hi Experts,
can we use 'SDPARTNERLIST' as a table for pick the fields paertenr function, partner and name1 in scripts,
or is any reference table for these fields,,, if any could u tell me fields and tables
Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:46 PMHi,
You acn code your select in the following no>
select single vorna nachn from PA0002 into
(gv_vorna , gv_nachn )
where pernr = ......
subty = ...... and
OBJPS = ...... and
SPRPS = ......and
ENDDA = ......and
BEGDA = ......and
SEQNR = ........
Whatever key fields data available you can pass it in the where clause of the select query.
Then after the select query, you can pass in the same variables in the script gv_vorna , gv_nachn to print the data.
Hope this helps.
Regards,
JLN -
Function module which uses both BAPI's for sales order create and change
Please name the function module which uses both BAPI's for sales order create and change.
BAPI_SALESORDER_CREATEFORMDAT2
BAPI_SALESORDERCHANGEYup.
you must write a piece of code for this.
with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
logic somethig like this.
Amit. -
Function Module to get ABAP source code for a specific version
Hi all
Is there a function module that I can use to get the source code of another function module at a specific version?
For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
Thanks in advance.
StuartThanks guys
That's incredibly helpful! I have one more question that I just thought of last night...
Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
Any ideas?
Thanks! -
R/3 tables for the fields of 0fi_gl_40
How to find the r/3 tables for the fields of the datasource 0FI_GL_40.For example this datasource has ANLN1(Asset),ANLN2(Asset Subnumber) and AUFNR(Order)
fields.Is there any tcode or table that gives the r/3 tables for the the fields of the above datasource?Sometimes the help really does provide the information
http://help.sap.com/saphelp_nw70/helpdata/EN/88/3c36861f874739a916df63ab6d7ca0/content.htm -
Maintain separate table for these fields
I want to maintain separate table for this fields.
1. Sales order number
2.item number
3.material
4.qty pricing date price change date if u user changes price manually.
5. Order price
6.sales value
Where will we get these fields from which table.Hi,
1. Sales order number = VBAK-VBELN
2.item number = VBAP-POSNR
3.material = VBAP-MATNR
4.qty pricing date price change date if u user changes price manually.
Qty from VBAP-KWMENG
Price date = VBKD-PRSDT
Change Date = VBAK-AEDAT
5. Order price = VBAK-NETWR
Thanks,
Mandar -
Hi Experts,
I am working on an ESS MSS project. Currently I am working on a report in which I have to find the expenses of an employee.
The field BETRG gives me the expenses for that employee. but I am unable to find a table for this field.
Does anybody know how to extract fieldHi Mukul,
Goto SE11 and give this data element and try a where used list.
U can get list of tables which uses this field.
Here are some list of tables which uses this field.
HRP1501(DB Table for Infotype 1501)
HRP1502(DB Table for Infotype 1502)
PA0021(For infotye 0021)
PA0052(Wage maintainence)
I thnk u shuld use these tables since ur looking for employee expenses.Still there are many PA tables associated with it .
Chk which table suits ur requirement.
P01CBF
P01CEF
P01CGP
P01CSL
P01CSO
P01Y15
Regards,
Lakshman. -
Master table for the field BSART
hi friends
pls tell me, which is the master table for the field BSART.
because i want to get the search help fo that field....Hi babu,
If u want know what the table and where the fields are resued go to T-code SE15. u can find ...
Regards,
Bharani. -
Function Module/Document to change Reversal date for FI document.
Can anyone please provide me with the Function Module/Document to change Reversal date for FI document.
Hi Vikram,
Normally, you post a reversing document in the same period you posted the original document. The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
Regards,
Manoj. -
F4 HELP for standard field..
i want to put F4 help for standard field FERTH in mm01 and mm02 ...
is there any way to put F4 help for this field..try this
1. First go to SE11 and create your own search help( if you dont know how to create a search help please feel free to ask me, it is very easy).
2. Now in your module pool program program go to the layout of your screen.
3. Now when you see the attributes of this field in the Dict tab you will find the field Search Help. Now here you can specify the name of the search help you created in SE11.
There is also another mehtod to create the dynamic search help. eg:- in a posted document data get the Document nos related to that company code.
The sample code is like this:-
First of all declare the module below in the flow logic of your screen then create it in your main program.
You declare the module in the PROCESS ON VALUE-REQUEST.
PROCESS ON VALUE-REQUEST.
FIELD TXT_DOCNO MODULE VALUE_BELNR.
You also need to create an internal table where you wil store results of the select query fired below in the module.
here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
MODULE VALUE_BELNR INPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'TXT_CODCO'.
APPEND field_value TO dynpro_values.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'BKPF'
fieldname = 'BUKRS'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'TXT_CODCO'.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
SELECT BUKRS BELNR
FROM BKPF
INTO CORRESPONDING FIELDS OF TABLE it_doc1
WHERE BUKRS = field_value-fieldvalue.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BELNR'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'TXT_BELNR'
value_org = 'S'
TABLES
value_tab = it_doc1.
ENDMODULE. " VALUE_BELNR INPUT
Maybe you are looking for
-
How can i add & update records in a database by using text feild & buttons
i ,ve a difficulty to make an application which should add,retreive,update,find&delete records to a database in SQL server2000. how can i do it easily plz reply me as soon as possible.
-
.mac web gallery images from iPhoto
Is any one having this problem? When you create a web gallery from an Event in iPhoto and you go to the My Gallery section each gallery of photos does not have an image, it is just gray with a gray image. It is suppose to have an image from the galle
-
Illegible concersions from PDF to Word
My pdfs recently converted to docx format in Word for Mac (runing Yosemite) are in unreadable characters. Does anyone have an idea of how to reproduce these files so they can be cut and pasted? Otherwise this $23 a year is going to be a big waste. T
-
don't know what the prob is with my HP 530. a friend of mine was playing a game on it and suddenly it brought a blue screen saying that i should uninstall any hardware or software install or I should do something to my bios and went off. later tried
-
Hi While Doing Vendor Invoice ( T Code F-60) I have entered worng cost center. Please can anybody tell me from where i get change this. Manoj J Moderator: Please, search SDN; that's standard operation and it's described several times on the forums