‎2007 Apr 03 1:58 PM
Dear all,
can anyone let me know the actual purpose of using the below mentioned function modules and the difference between them.
1. 'CONVERSION_EXIT_ABPSP_OUTPUT'.
2. 'CONVERSION_EXIT_ABPSN_INPUT'
Thanks and Regards,
Prasad KR.
‎2007 Apr 03 2:06 PM
Hi,
You have written wrongly the name of the fun modules;I think you are asking about the fun modules
CONVERSION_EXIT_ALPHA_OUTPUT
CONVERSION_EXIT_ALPHA_INPUT
certain fields like KUNNR, LIFNR, MATNR when passing to certain fun modules, we have to pass complete 10 char fields. for ex: 23456 is customer number ,but it wont accepted unless you pass as '0000023456'. so to do that these fun modules are used.
reward if useful
regards,
Anji
‎2007 Apr 04 6:19 AM
Dear Anji,
Thanks for your immediate response and giving information about the below function modules
CONVERSION_EXIT_ALPHA_OUTPUT,
CONVERSION_EXIT_ALPHA_INPUT.
But i want the the information about the function modules mentioned in my question. The names of the function modules mentioned are correct.
Thanks & Regards,
Prasad KR.
‎2007 Apr 04 6:30 AM
Hi,
The difference is given below
CONVERSION_EXIT_ALPHA_INPUT - converts any number into a string fill with zeroes-right
example:
input = 896
output = 0000000000000...000000000000896
CONVERSION_EXIT_ALPHA_OUTPUT - converts any number with zeroes-right into a simple integer
example:
input = 00000000000896
output = 896
reward points if helpful,
Prajith
‎2007 Apr 03 2:06 PM
Hi!
These automated conversion routines can be used for formatting the content of a field, between its two forms: stored and on the output.
For example you store a number in your table like this: "012345" (INPUT), but you wanted to show it on the screen like this: "01-234-5" (OUTPUT), you can write a conversion rutin what you asked about.
You only have to assign the routin to the domain and the automation will be solved.
Just check the example domain in SE11, its name is: PS_POSID.
Regards
Tamá
‎2007 Apr 03 2:08 PM
These function modules are used to convert PSPNR field(8 digit long) e.g 00137488 to the POSID field(24 digit long) e.g.EG-000453-CA0100 and Vice Versa
‎2007 Apr 03 2:10 PM
Hi..
These are conversion routines..
CONVERSION_EXIT_ABPSP_OUTPUT ::
this will change the input number say 12 ,given into the format... <<<PR00000012>>>..f
CONVERSION_EXIT_ABPSN_INPUT
THIS WILL gives u the output whatever u have input...
‎2007 Apr 03 2:17 PM
HI PRASAD
1 CONVERSION_EXIT_ABPSP_OUTPUT
This FM
is used in context with PS Module.
It has got to do with WBS Element.
2. For more help see the documentaion
on datalement of table
ISEG Field PS_PSP_PNR
3. In se37, open the above FM
Execute
Type 1 in Input Prameter
Again execute
4. In oUTPUT u WILL GET something like
DWT.04.SAN.001
(This might be some coding of WBS element
in the PS module)
5. Now to test the reverse.
Open the revere FM
CONVERSION_EXIT_ABPSP_INPUT <---INPUT
6. Here, in Input type, what u got above.
DWT.04.SAN.001
And in output u will get 000001
This is what i could search till now.
I hope it helps.
*----
From documentaion :
*----
Definition:
WBS Element
Project System (PS)
A structural element in a work breakdown structure representing the
hierarchical organization of a project.
A WBS element describes a task or a partial task that can be divided.
Project System (PS)
WBS elements are the individual structure elements in the work breakdown
structure (WBS).
The term describes a concrete task, or a partial task, which can be
further subdivided.
Material Requirements Planning (PP-MRP)
Individual structural element in a work breakdown structure (WBS)
representing the hierarchical organization of an R/3 project. Describes
either a concrete task or a partial one that can be further subdivided.
Return ->
You give the POSID - (Work Breakdown Structure Element (WBS Element) as input to the function module 'CONVERSION_EXIT_ABPSP_INPUT' and get the PSPNR ie the WBS Element as the output.
data: w_posid like prps-posid
value '8-1-2001-003-000002-1001'.
data: w_pspnr like prps-pspnr.
call function 'CONVERSION_EXIT_ABPSP_INPUT'
EXPORTING
input = w_posid
IMPORTING
output = w_pspnr
EXCEPTIONS
not_found = 1
others = 2.
regards,
navjot
reward if helpfull