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

SQ02 conversion exit TPLNR

ratana_pouy
Participant
0 Likes
1,915

Dear All,

I am using SQ02 to fetch functional location from table: ILOA field TPLNR. I wrote ABAP code  as the following:

--------------------

Clear ZTPLNR.

select TPLNR from ILOA into ZTPLNR where ILOAN = ZILOAN.

endselect.

--------------------

ZILOAN is Loc/AccAssmt from table EQUZ

Result of Fiel ZTPLRN display ?0100000000000000073

then i go to check table: ILOA there is conversion exit; but i don't know how to do it

please help urgently

Note: I am not good in abap code.

Regards,

Rtn

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,360

Dear Ratana,

Please use the below FM :

CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT'

  EXPORTING

    input  = ZTPLNR

  importing

    output = ZTPLNR .

Regards,

Yance

Dear All,

I am using SQ02 to fetch functional location from table: ILOA field TPLNR. I wrote ABAP code  as the following:

--------------------

Clear ZTPLNR.

select TPLNR from ILOA into ZTPLNR where ILOAN = ZILOAN.

endselect.

--------------------

ZILOAN is Loc/AccAssmt from table EQUZ

Result of Fiel ZTPLRN display ?0100000000000000073

then i go to check table: ILOA there is conversion exit; but i don't know how to do it

please help urgently

Note: I am not good in abap code.

Regards,

Rtn

2 REPLIES 2
Read only

Former Member
0 Likes
1,361

Dear Ratana,

Please use the below FM :

CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT'

  EXPORTING

    input  = ZTPLNR

  importing

    output = ZTPLNR .

Regards,

Yance

Read only

0 Likes
1,360

Thanks Yance.