2006 Jul 21 10:19 AM
Hi,
does anyone understood the follwing spec lines.can anyone guide how to go abt it.
TECH SPEC:
create a RFC function Z_DICOM_GET_FIELD_INFO, to get field info from SAP field Dictionary
IMPORT PARAM: FIELD NAME( EG: INVFO_SGTXT)
EXPORT PARM: FIELD DESCRIPTION, FIELD TYPE, FIELD LENGTH
END OF SPECIFICATION.
thanks in advance
2006 Jul 21 10:23 AM
GO to the se37.
IN function module write: Z_DICOM_GET_FIELD_INFO
clic create. Fill function group (if you dont have own one you have to create it in se80) and text.
CLick save.
IN fm attributes - processing type - mark remote-enabled.
Fill export and imort parameter names (you will find in intabs)
Save&activeta.
Thats all
BR< Jacek
Hi,
does anyone understood the follwing spec lines.can anyone guide how to go abt it.
TECH SPEC:
create a RFC function Z_DICOM_GET_FIELD_INFO, to get field info from SAP field Dictionary
IMPORT PARAM: FIELD NAME( EG: INVFO_SGTXT)
EXPORT PARM: FIELD DESCRIPTION, FIELD TYPE, FIELD LENGTH
END OF SPECIFICATION.
thanks in advance
2006 Jul 21 10:23 AM
GO to the se37.
IN function module write: Z_DICOM_GET_FIELD_INFO
clic create. Fill function group (if you dont have own one you have to create it in se80) and text.
CLick save.
IN fm attributes - processing type - mark remote-enabled.
Fill export and imort parameter names (you will find in intabs)
Save&activeta.
Thats all
BR< Jacek
2006 Jul 21 10:24 AM
Hi,
Just you need to create a RFC Function module <b>Z_DICOM_GET_FIELD_INFO</b>, In this function module you need to pass <b><b>FIELD DESCRIPTION, FIELD TYPE, FIELD LENGTH</b></b> and get the <b>FIELD NAME</b>.
example: in you pass the Material no, and the type of that filed and the lenght of that field then function module retrive the MATNR
hope you understand
Thanks
Sudheer
2006 Jul 21 10:24 AM
This is what I can make out:
U need to RFC enable the FM (that option can be found in the header); fetch the field desc, type & length for the field name from the SAP tables.
DOes that make sense?
-Aarthi.
2006 Jul 21 10:25 AM
Hi,
1)U have create a Function Module; which is RFC Enabled.
click the radio button RFC in Attribute Tab.
2) Importing Parametr is Data element.
eg:- check this in Se11 transaction ( data element )
Data element :- BP_PARTNER
3)Exporting will be
Short Description : Business Partner Numb
Data Type : CHAR
Length : 10
2006 Jul 21 10:29 AM
goto SE37 and create one FM with name Z_DICOM_GET_FIELD_INFO.
in attributes give it as Remote enabled
then write select statement in the source code
to get text
<b>select single DDTEXT from DD03T where fieldname = importparameter-fieldname.</b>
to get datatype and length
<b>Select inttype intlen from dd03l where fieldname = importparameter-fieldname.</b>
Message was edited by: Chandrasekhar Jagarlamudi
Message was edited by: Chandrasekhar Jagarlamudi
2006 Jul 21 10:40 AM
Hi,
If whant to find details of data element then do this
<b>FIELD TYPE, FIELD LENGTH</b>
select single <b>DATATYPE LEN</b>
from DD04l
where ROLLNAME = <Field Name>
<b>FIELD DESCRIPTION</b>
select single D<b>DTEXT</b>
from DD04T
where ROLLNAME = <Field Name>
and DDLANGUAGE = 'E'.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |