Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Please reply ASAP.....

Former Member
0 Likes
976

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.

7 REPLIES 7
Read only

Former Member
0 Likes
902

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

Read only

0 Likes
902

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.

Read only

0 Likes
902

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

Read only

Former Member
0 Likes
902

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á

Read only

Former Member
0 Likes
902

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

Read only

Former Member
0 Likes
902

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...

Read only

Former Member
0 Likes
902

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