2010 Oct 08 7:46 AM
Hi All,
Please help me in finding the CONVERSION EXIT for IMZO-POSNR.
I have tried:
CONVERSION_EXIT_POSNR_INPUT
CONVERSION_EXIT_POSNR_OUTPUT
CONVERSION_EXIT_POSID_INPUT
CONVERSION_EXIT_POSID_OUTPUT
CONVERSION_EXIT_PROJN_INPUT
CONVERSION_EXIT_PROJN_OUTPUT
CONVERSION_EXIT_PSPID_OUTPUT
but, none of them worked.
IMZO-POSNR is of NUMC(8).
Table contents are displayed as:
MANDT POSNR OBJNR
240 WLN INR COR IQ100000000013
With conversion exit, it is displaying as:
MANDT POSNR OBJNR
240 00000013 IQ100000000013
Thanks In Advance.
2010 Oct 08 7:55 AM
Hi Ajoy,
The domain has conversion routine POSNR and it is recommended to use CONVERSION_EXIT_POSNR_INPUT and CONVERSION_EXIT_POSNR_OUTPUT.
When I checked the code for the input function module, there was only output = input.
What you could do is,
Hope it helps.
Sujay
Hi All,
Please help me in finding the CONVERSION EXIT for IMZO-POSNR.
I have tried:
CONVERSION_EXIT_POSNR_INPUT
CONVERSION_EXIT_POSNR_OUTPUT
CONVERSION_EXIT_POSID_INPUT
CONVERSION_EXIT_POSID_OUTPUT
CONVERSION_EXIT_PROJN_INPUT
CONVERSION_EXIT_PROJN_OUTPUT
CONVERSION_EXIT_PSPID_OUTPUT
but, none of them worked.
IMZO-POSNR is of NUMC(8).
Table contents are displayed as:
MANDT POSNR OBJNR
240 WLN INR COR IQ100000000013
With conversion exit, it is displaying as:
MANDT POSNR OBJNR
240 00000013 IQ100000000013
Thanks In Advance.
2010 Oct 08 7:53 AM
Hi,
CONVERSION_EXIT_POSNR_INPUT
CONVERSION_EXIT_POSNR_OUTPUT
are correct. One of them should work when calles correctly!
Regards
Klaus
2010 Oct 08 7:58 AM
I have already tried to use it (please find the code).
Entered ACTIVITY_TYPE = WLS EXP CAP COR.
lv_act_type is blank!
DATA lv_act_type(8) TYPE n.
CALL FUNCTION 'CONVERSION_EXIT_POSNR_INPUT'
EXPORTING
input = activity_type
IMPORTING
OUTPUT = lv_act_type.
2010 Oct 08 8:10 AM
Thanks a lot Sujay. It has solved the problem.
Can you please share the approach (how did you reach at IMPR table.
2010 Oct 08 8:14 AM
Hi,
The code to get the output value was in CONVERSION_EXIT_POSNR_OUTPUT. In that
l_posnr = input.
select posid into (l_posid) from impr
where posnr eq l_posnr.
endselect.
It's the reverse for the input.
Sujay
2010 Oct 08 7:55 AM
Hi Ajoy,
The domain has conversion routine POSNR and it is recommended to use CONVERSION_EXIT_POSNR_INPUT and CONVERSION_EXIT_POSNR_OUTPUT.
When I checked the code for the input function module, there was only output = input.
What you could do is,
Hope it helps.
Sujay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |