When is a conversion exit triggered?
Hi,
are conversion exits only triggered via GUI:s ?
Hi
Conversion Exits will triggered when u r input/output to a perticular data element which is associated with domain which is attached with conv routine.
take an example
suppose
kunnr a domain whih is attached with ALPHA
if i am giving 80 to store it in database it will store 0000000080 as its length is 10 char
and while ouput it will show me 0000000080.
i think now u got
if helpful
Reward me points
Regs
Manas Ranjan Panda
Similar Messages
-
Question on Language Conversion exit
Does anybody know whether Language Conversion exit gets executed when sourcing data from SAP systems (R/3, CRM)?
I am sourcing data from CRM, SPRAS(2 digit) is mapped to 0LANG(1 digit) in the transfer structure. Spanish(ES) and English(EN) for some reason is interpreted as English(E) instead of E and S.
In T002 table I see both the entries for english (E) and spanish (S) and if the conversion exit would have applied, these two digit language code from the datasource should be converted to the corresponding one digit code.
Can I assume that these conversion routines are executed only when sourcing data from non-sap systems.
Please let me know your ideas.
thanks
GeorgeConversion routine ISOLA converts the two-digit ISO language abbreviation INPUT into its SAP internal OUTPUT presentation. These are assigned using the LAISO and SPRAS fields in table T002. An INPUT that cannot be
converted (because it is not defined as T002-LAISO) produces an error message and triggers the UNKNOWN_LANGUAGE exception.
Because they are compatible, single-digit entries are supported in that they are transferred to OUTPUT unchanged. They are not checked against table T002.
The difference between upper and lower case letters is irrelevant with two-digit entries however with single-digit entries, upper and lower case letters stand for different languages.
Now I have no system availabilty...try to search in SE37 with ISOLA and then F4...
Did you debug your transfer rules ?
Bye,
Roberto -
User exit triggering after material save
Hi all,
I am lookin for user exit/badi which will get triggered once user creates material master(mm01).i tried with mga00001 & mb_document_badi.None of them works.mga00001 triggers before material is saved in d.b.Please help me.
Regards
AnoopHi Anup,
Try with these badis:
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_MATERIAL_OD
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATMAS_ALE_CR Change Data in MATMAS IDoc When Generating an IDoc
BADI_MATMAS_ALE_IN Change Data in MATMAS IDoc Before Posting
BADI_MATN1 BAdI for Conversion Exit MATN1
BADI_MATRIX_SORT Sorting of Matrix Axis Population
Thank you,
Thanks,
AMS -
Conversion exit error while activating the transfer rules
Hello gurus,
We are doing a function module extraction with 3.X data sources.
On activating the transfer rules , i am getting a conversion exit error for "0fiscyear", but in the infoobject we don't have the conversion exit for it.
Points will be awarded for any kind of response.
Thanks and Regards,
Anu.Hi,
1. Please check in the transformation, its necessary to provide the fiscal variant mapping as well when ur mapping fiscal year object. as on the basis of that value fiscal period will be derived.
2 I guess ur doing direct mapping (Time conversion) and there is no routine written for that. if any u can check that as well for any error.
Thanks
dipika
Edited by: Dipika Tyagi on Jun 25, 2008 7:39 AM -
How to find out the conversion exit format for VBRP-VRKME
Hi Gurus,
I am writing a report to fetch delivery details based on storage location'123'. My requirement is tat i shud convert the Billed Quantity unit TO Base unit of measure. In my VBRP table the field value/contents of VBRP-VRKME have values PAK for PAC( packets) and KAR for CAR(carton). When i click on User-specific Settings - - Check the filed CHEECK CONVERSION EXITS , i am able to get see the PAC and CAR respectively.
But unfortunately when i selecting te fields form vbrp in my internal table i am getting the values 'PAK' for PAC and 'KAR' for CAR'. AS i am writing a report can any one suggest me how to convert this , as i wud b making use of FM MD_CONVERT_MATERIAL_UNIT to convert to base unit of measure, n this FM is not accepting the values like PAK and CAK.
Your Sugesstions are of utmost importance for me.
Thanking you,
ZIaHi,
Conversion routines are maintained at Domain Level(Definition Tab), Meins is the domain for VRKME data element.
You have to use the following routines,
CONVERSION_EXIT_CUNIT_INPUT
CONVERSION_EXIT_CUNIT_OUTPUT
Regards
Srini -
Short Dump DYNPRO_MSG_IN_HELP in Conversion Exit
Hi Gurus,
I've written the following conversion exit:
FUNCTION CONVERSION_EXIT_ZBZEI_INPUT.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(INPUT)
*" EXPORTING
*" VALUE(OUTPUT)
*" EXCEPTIONS
*" INPUT_NOT_VALID
DATA : CPI_OUT(4) type n, CPI_IN(5), cpi_in2(5), cpi_in3(5).
DATA : CPI_YEAR(4), CPI_PERIOD(3).
DATA : CPI_NUM2(2) TYPE N.
DATA : CPI_NUM3(2) TYPE N,
index(2) type n,
index2(2) type n,
merker(1).
DATA : CPI_C8, CPI_C7, CPI_C6, CPI_C5.
DATA: SONDERZ. "nimmt das Trennungszeichen auf
*-initializations-----------------------------------------------------*
check not input is initial.
CPI_IN2 = INPUT.
CLEAR : cpi_in, cpi_in3, cpi_out, OUTPUT, index, index2, merker,
cpi_num2, cpi_num3.
do.
if cpi_in2+index(1) co '0123456789' and merker ne 'X'.
cpi_in+index2(1) = cpi_in2+index(1).
add 1 to index2.
endif.
if cpi_in2+index(1) = ':'.
merker = 'X'.
clear index2.
endif.
if cpi_in2+index(1) co '0123456789' and merker = 'X'.
cpi_in3+index2(1) = cpi_in2+index(1).
add 1 to index2.
endif.
add 1 to index.
if index = 5.
exit.
endif.
enddo.
if cpi_in3 is initial.
cpi_out = cpi_in.
else.
cpi_num2 = cpi_in.
cpi_num3 = cpi_in3.
cpi_out(2) = cpi_num2.
cpi_out+2(2) = cpi_num3.
endif.
if cpi_out(2) > 23.
message e000 raising input_not_valid.
endif.
if cpi_out+2(2) > 59.
message e001 raising input_not_valid.
endif.
output = cpi_out.
* output+2(2) = cpi_in+3(2).
endfunction.
The problem is when the user inputs an invalid value and presses directly after this F4 the conversion exit will call and I get the short dump DYNPRO_MSG_IN_HELP when I trigger the error message.
Is there any way to know that the program is in value-request? Maybe a system field? Can I catch this error?
Thanks for help.
LarsHello Lars,
refering to OSS 84510 SAP does not allow error messages in this environment. However, to find out if you are in a F4- context you can use the kernel function 'DY_GET_DYNPRO_EVENT'
data: event(3).
"check if we are in F4 environment
call 'DY_GET_DYNPRO_EVENT' id 'EVENT' field event.
if sy-subrc <> 0 or ( event <> 'PAI'
and event <> 'INP' )."PAI also POV
" not F4 help
message e000 raising input_not_valid.
else.
"F4 help -> only S message
message s000 display like 'E' raising input_not_valid.
endif.
Kind regards, miro -
Assigning Conversion Exit to a Select-Option on Selection Screen.
Hi,
Is it possible to assign Conversion Exit (Like ALPHA) to a Select-Option on a Selection Screen. If so can anyone please tell me how is this achieved.
Thanks & Regards,
Goutham.
P.S.: Points will be definitely awarded.Hi Anjaneyulu,
Thanks for the Reply.
But the problem comes here, when he enters both the ranges as well as single values, using the extension button provided for the select-option.
One option i found was in the layout of selection screen, to the select-option i assigned the ALPHA as conversion exit. But it says that this will be over-written once program/screen is generated.
Kindly let me know if any one has a solution for this.
Thanks & Regards,
Goutham. -
Error 'Unit ST is not created in language EN...' at conversion exit
Hi
When i try to load a flat file i have this error message :
Error 'Unit ST is not created in language EN...' at conversion exit CONVERSION_EXIT_CUNIT_INPUT (field SALES_UNIT record 1, value ST)
My source has unit field. in the field in have sometime PC or ST --> ST is coming from BW
But when i load the file it gives the error for ST value.
In my datasource i have the correct CUNIT conversion routine apply on the unit field
Thanks for your help
CyrilYes this value is not maintained in T006 table. that's why i have the problem.
So how to solve it.
I have an ETL tools which read my DSO tables and it extract ST so i need to convert it this value exist in BI (internal code of PC)
Cyril -
Function Module to retrive conversion exit function module names based on conversion routine
Hi All,
Can you people help me out in finding a function module, which takes conversion routine name as input and gives all the conversion exit function modules as output.
Thanks and Regards,
Shivaraj Naik.Curious, I looked for the way SAP do the job in SE11, and they also use the CONCATENATE option...
From Include LSD11F01 Form OBJ_GOTO
* Objektspezifische Navigationsziele
* --> GOTOID Kennung für Navigationsziele
* --> DDNAME Dictonary-Name
form obj_goto using gotoid type gotoid
ddname.
case gotoid.
when 'CNVE'. "Konvertierungsexit zu Domäne
data: wb_request type ref to cl_wb_request.
data: fb_name like tfdir-funcname
value 'CONVERSION_EXIT_'.
concatenate fb_name ddname '*' into fb_name.
condense fb_name.
* Request für Infosystem erzeugen
class cl_wb_infosystem definition load.
call method cl_wb_infosystem=>create_request
exporting
p_object_type = 'FF'
p_object_name = fb_name
p_operation = swbm_c_op_search
p_suppress_selection = 'X'
p_show_as_popup = 'X'
importing
p_wb_request = wb_request
exceptions
action_cancelled = 1
execute_in_batch = 2
error_occured = 3.
Regards,
Raymond -
BRFplus: Conversion Exits in Elements ?
Hi all,
I have created a custom DDIC Domain with a conversion exit (that is, with FMs CONVERSION_EXIT_xxxxx_INPUT and CONVERSION_EXIT_xxxxx_OUTPUT). The idea is to define a single duration field that will hold days, hours and minutes. Internally it is defined as type NUMC; externally it may be entered and displayed as format "DDD HH:MM". This works fine when used as a parameter on the selection screen of an ABAP program.
In BRFplus I have created an Element that is bound to this DDIC Element. However BRFplus seems to treat it as just plain text without a conversion exit - no formatting of the value takes place.
Also, it is not recognising the Output Length of the DDIC Domain - only allowing character entry up to the internal length.
Can anyone advise whether BRFplus (NW 701) supports conversion exits on an Element ? If yes, then what else do I need to try to get it to work ??
Thanks & regards,
Grogan
Edited by: gr0gan on Aug 18, 2011 6:45 AMHi Grogan,
Conversion exits are not supported in NW701 and also in later releases there are still some limitations.
BR,
Carsten -
Hi all
In my report program, i am calling a conversion exit dynamically(i.e) the name of the conversion exit for a particular data type is generated accordingly.
The data is converted by the conversion exit to the specified format( i used MATNR)
for a value 3 it converted to 000000000000000003 (which is the proper format for MATNR).
but still i am not able to fetch values on the basis of this.
But if in my select option i pass the value of MATNR as 000000000000000003 directly, the correct data is fetched.
Note: For all other fields (such as ebeln, correct data is fetched, so it rules out any problems with the select query)
Plz help.
Thanks & Regards
Ravish Garg<b>* select statement to get the conversion exit name for the field *</b>
select convexit
into varconv_exit
from dd01l
where domname = vardomname.
endselect.
<b>
if conversion exit found for a field *</b>
concatenate 'CONVERSION_EXIT_'
varconv_exit
'_INPUT'
into
varconv_exit.
perform f_conversion_exit
using p_table
p_field
varconv_exit:
changing s_range-low,
s_range-high.
<b>&----
*& Form f_conversion_exit
text
<--P_S_RANGE_LOW text
<--P_S_RANGE_HIGH text
----</b>
form f_conversion_exit using p_tabname
p_fname
p_convexit
changing p_value1.
call function p_convexit
exporting
input = p_value1
importing
output = p_value1
exceptions
length_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " f_conversion_exit
<b>&----
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .</b>
select * into corresponding fields of table <dyn_table>
from (p_table) where (it_where) .
if sy-dbcnt = 0.
write :/ 'No Data matching Your Criteria!'.
leave program.
endif.
endform. " get_data
When i put matnr in the filed name and a value for it,
it gets the right conversion exit name : "CONVERSION_EXIT_MATN1_INPUT" for matnr. -
Hi all ,
We have created a conversion exit for BANKN (LFBK-BANKN) field to mask it ; This field is getting masked in most of hthe reports execpt few . When i checked the issue , CDPOS table doesnt contain this field against the change number (say of a particular vendor ) . Any idea , why the field is not present in this table and how to bring the same in it.
Thanks
Supriya murudkarYes, You are right. The field is not in the CDPOS table but probably we don''t need that field .
BANKN (LFBK-BANKN) field has internally masked with the CDPOS-CHANGENR (Document change number). So whatever the data you required from the CDPOS, You can get by the BANKN (change number).
plz chk. -
Conversion exit ALPHA, external- internal
What does the below Alpha Conversion do :
<b>Conversion exit ALPHA, external->internal</b>
An example wud help me understand better!!Hi,
A conversion routine is identified by its five-place name and is stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
CONVERSION_EXIT_xxxxx_INPUT
CONVERSION_EXIT_xxxxx_OUTPUT
The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs the conversion from internal format to display format.
E.g. If you specify ALPHA conversion for Material number then when user enters the value for MATNR as 123; internally it is converted to 0000123 and is stored in that format in the database. In this case, conversion is done from external format to internal format and the other way if you are reading value from database; it is converted from internal to external format and value is shown as 123, instead of 0000123.
Hope this helps.
PB -
Hi all,
Can anyone send me a example having 'CONVERSION_EXIT_ALPHA_INPUT'
and 'CONVERSION_EXIT_ALPHA_OUTPUT' functions.So i can understnad how to use it.
Regards,
Swati gargHi Swathi,
I f you go through this report you can get to know the usage of the conversion exit for the asset number field (anln1) in table ANLA.
*& Report ZASSET_MASTER *
*& Purpose : Report to display the master details of Assets
REPORT zasset_master LINE-SIZE 1023
NO STANDARD PAGE HEADING.
TABLES: anla, anlz, zasset_master, zasset_transfer.
TYPE-POOLS: slis.
DATA : fieldcat TYPE slis_fieldcat_alv, " FIELD CATOLOG
fieldcat_t TYPE slis_t_fieldcat_alv, " FIELD CATOLOG
pos TYPE sy-tabix, " POSITION FOR FIELDCAT
name TYPE sy-repid, " NAME OF THE REPORT
sort TYPE slis_sortinfo_alv, " SORTING ITAB
sort_t TYPE slis_t_sortinfo_alv, " SORTING ITAB
top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
user_command TYPE slis_formname VALUE 'USER_COMMAND'.
DATA : BEGIN OF it_main OCCURS 0,
bukrs TYPE anla-bukrs, " Company Code
anln1 TYPE anla-anln1, " Asset Number
txt50 TYPE anla-txt50, " Asset Description
anlkl TYPE anla-anlkl, " Asset Class
ktogr TYPE anla-ktogr, " Account Determination
aktiv TYPE anla-aktiv, " Capitalization Date
ord41 TYPE anla-ord41, " Evaluation Group1
ord42 TYPE anla-ord42, " Evaluation Group2
lifnr TYPE anla-lifnr, " Vendor Code
menge TYPE anla-menge, " Quantity
meins TYPE anla-meins, " Unit of measure
invnr TYPE anla-invnr, " Inventory No.
sernr TYPE anla-sernr, " Serial No.
ernam TYPE anla-ernam, " Created By
erdat TYPE anla-erdat, " Created Date
aenam TYPE anla-aenam, " Changed By
aedat TYPE anla-aedat, " Changed Date
gsber TYPE anlz-gsber, " Business Area
kostl TYPE anlz-kostl, " Cost Center
bondno TYPE zasset_master-bondno, " Master Bond No.
boeno TYPE zasset_master-boeno, " Bill of Entry No.
grnno TYPE zasset_master-grnno, " GR No.
zeile TYPE zasset_master-zeile, " GR Line Item No.
pono TYPE zasset_master-pono, " PO No.
prno TYPE zasset_master-prno, " PO No.
currplant TYPE zasset_transfer-currplant, " Curr Plant
currloc TYPE zasset_transfer-currloc, " Curr Location
currseatid TYPE zasset_transfer-currseatid, " Curr seatID
curruser TYPE zasset_transfer-curruser, " Current UserID
sbondno TYPE zasset_transfer-sbondno, " Shift Bond No.
transferdate TYPE zasset_transfer-transferdate," Transfer Date
anlgr TYPE anlb-anlgr, " Group Asset
END OF it_main.
DATA: it_anlz TYPE anlz OCCURS 0 WITH HEADER LINE,
it_zasset_transfer TYPE zasset_transfer OCCURS 0 WITH HEADER LINE,
wa_zasset_master TYPE zasset_master.
DATA: asset_no TYPE zasset_master-assetno.
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_anln1 FOR anla-anln1,
s_anlkl FOR anla-anlkl,
s_bukrs FOR anla-bukrs,
s_gsber FOR anlz-gsber NO INTERVALS NO-EXTENSION,
s_kostl FOR anlz-kostl NO INTERVALS NO-EXTENSION,
s_bondno FOR zasset_master-bondno NO INTERVALS
NO-EXTENSION,
s_boeno FOR zasset_master-bondno NO INTERVALS
NO-EXTENSION,
s_plant FOR zasset_transfer-currplant NO INTERVALS
NO-EXTENSION,
s_loc FOR zasset_transfer-currloc NO INTERVALS
NO-EXTENSION,
s_seat FOR zasset_transfer-currseatid,
s_user FOR zasset_transfer-curruser NO INTERVALS
NO-EXTENSION,
s_ord41 FOR anla-ord41 NO INTERVALS NO-EXTENSION,
s_ord42 FOR anla-ord42 NO INTERVALS NO-EXTENSION,
s_lifnr FOR anla-lifnr,
s_ernam FOR anla-ernam NO INTERVALS NO-EXTENSION,
s_erdat FOR anla-erdat,
s_aenam FOR anla-aenam NO INTERVALS NO-EXTENSION,
s_aedat FOR anla-aedat.
SELECTION-SCREEN END OF BLOCK block1.
START-OF-SELECTION.
SELECT * FROM anla INTO CORRESPONDING FIELDS OF TABLE it_main
WHERE bukrs IN s_bukrs
AND anln1 IN s_anln1
AND anlkl IN s_anlkl
AND ord41 IN s_ord41
AND ord42 IN s_ord42
AND lifnr IN s_lifnr
AND ernam IN s_ernam
AND erdat IN s_erdat
AND aenam IN s_aenam
AND aedat IN s_aedat.
LOOP AT it_main.
select single anlgr from anlb into it_main-anlgr
where anln1 eq it_main-anln1.
SELECT * FROM anlz INTO TABLE it_anlz
WHERE anln1 EQ it_main-anln1.
SORT it_anlz DESCENDING BY adatu.
READ TABLE it_anlz INDEX 1.
IF it_anlz-gsber IN s_gsber AND it_anlz-kostl IN s_kostl
AND it_anlz-werks IN s_plant AND it_anlz-stort IN s_loc
AND it_anlz-raumn IN s_seat AND it_anlz-pernr IN s_user.
MOVE : it_anlz-gsber TO it_main-gsber,
it_anlz-kostl TO it_main-kostl,
it_anlz-werks TO it_main-currplant,
it_anlz-stort TO it_main-currloc,
it_anlz-raumn TO it_main-currseatid,
it_anlz-pernr TO it_main-curruser.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = it_main-anln1
IMPORTING
output = asset_no.
SELECT SINGLE pbondno pboeno pgrnno pzeile ppono pprno
fsbondno ftransferdate
INTO CORRESPONDING FIELDS OF it_main
FROM ( zasset_master AS p INNER JOIN
zasset_transfer AS f ON passetno = fassetno )
WHERE p~assetno EQ asset_no
AND f~transferdate EQ it_anlz-adatu.
IF it_main-bondno in s_bondno and it_main-boeno in s_boeno.
MODIFY it_main.
ELSE.
DELETE it_main WHERE anln1 EQ it_anlz-anln1.
ENDIF.
ELSE.
DELETE it_main WHERE anln1 EQ it_anlz-anln1.
ENDIF.
clear : asset_no, it_anlz.
refresh : it_anlz.
endloop.
SORT it_main BY anln1.
CLEAR : fieldcat_t,pos.
CLEAR fieldcat.
fieldcat-fieldname = 'ANLN1'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Asset No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'TXT50'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Asset Description'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ANLKL'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Asset Class'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'MENGE'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Quantity'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'MEINS'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Unit'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ORD41'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Evaluation Group1'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ORD42'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Evaluation Group2'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'INVNR'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Inventory No.'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'SERNR'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Serial No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'BONDNO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Master Bond No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'SBONDNO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Shift Bond No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'BOENO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Bill of Entry No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'AKTIV'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Capitalization Date'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ANLGR'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Group Asset'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'CURRPLANT'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Plant'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'CURRLOC'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Location'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'CURRSEATID'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Seat ID'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'CURRUSER'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Employee ID'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'BUKRS'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Company Code'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'GSBER'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Business Area'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'KOSTL'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Cost Center'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'LIFNR'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Vendor'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'PRNO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Purchase Requisition'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'PONO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Purchase Order'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'GRNNO'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Goods Receipt Note'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ZEILE'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'GR Line Item No'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
fieldcat-no_zero = 'X'.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ERNAM'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Created By'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'ERDAT'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Created Date'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'AENAM'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Changed By'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'AEDAT'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Changed Date'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CLEAR fieldcat.
fieldcat-fieldname = 'TRANSFERDATE'.
fieldcat-tabname = 'IT_MAIN'.
fieldcat-seltext_l = 'Last Transfer Date'.
fieldcat-just = 'L'.
fieldcat-col_pos = pos.
pos = pos + 1.
APPEND fieldcat TO fieldcat_t.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page =
i_callback_pf_status_set = pf_status_set
i_callback_user_command = user_command
i_grid_title = 'Asset Master Details'
is_layout = layout
it_fieldcat = fieldcat_t
it_sort = sort_t
TABLES
t_outtab = it_main.
*& Form USERCOMMAND
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
CASE ucomm.
WHEN '&IC1'.
READ TABLE it_main INDEX selfield-tabindex.
SET PARAMETER ID 'AN1' FIELD it_main-anln1.
SET PARAMETER ID 'BUK' FIELD it_main-bukrs.
CALL TRANSACTION 'AS03' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. "user_command3
Reward points if the example is useful.
Regards,
Radhu -
Hi,
I have an InfoObject ZPRODUCT1 with ALPHA Conversion Exit in RSD1 definition.In the Infosource and in the DataSource/Trans. Structure TAB when i check for the corresponding field it has some other Conversion exit called 'PRID1' and i couldn't change it.
When i load the data i get the error at the PSA level itself and the message is,
InfoObject /BIC/ZPRODUCT1 does not contain alpa-conforming value 80001909.
How to fix this problem?
Thank you
arunThanks,
I already did that and it worked properly.
Can you explain how come the conversion exit in Data source transfer structure and the InfoObject can be different?How did this worked?
Will i be able to modify the Conversion exit assignment in the infoobject or Data Source/Trans. Structure TAB? How do i do this, it looks display only in RSD1?
Thank you
arun
Maybe you are looking for
-
WebLogic Server EAR Deployment Queries!
Hi All, I have few queries with respect to EAR deployment in BEA WebLogic Server a) we have a requirement wherein we need to deploy the modified EAR file to one node in a cluster, whereas the other node will still continue to use the old EAR file. Is
-
The other day, I made a custom ringtone loop and loaded it onto my iPhone. In iTunes, the loop sounded perfect; when I tried the tone as a ringtone, it also worked perfectly. However, when I try to use the same tone as an alarm tone, there is a short
-
Hi dudes, I want to create task list (IA05) in SAP but I have a limit in entering operation descriptions. because the length of this field is just 40 words but the as maintenance members of the company said, they have much more tasks than 40 characte
-
Mac mini won't install Adobe flash player
Hi all! I have had this newer version of my mac mini (OS X 10.6.8) for about 4-5 months now. Never had any problems until this weekend when I was prompted to install the newer version of adobe flash player to view an interactive map. I completed th
-
How can I add my own screensaver? Macbook pro 10.8.2
once upon a time i found a screen saver and i downloaded it, it was cool, i just recently upgraded to mountain lion and for some reason it is way out of alignment and all pushed up to the top of the screen. So I went to the website to see if I could