Skip to Content
author's profile photo Former Member
Former Member

WBS Element - Conversion of CONVERSION_EXIT_ABPSP_OUTPUT function

Hello dear all,

I am trying to format the POSID field using only SQL, to show it then in a specific table that i'm creating.

I searched and found that this function CONVERSION_EXIT_ABPSP_OUTPUT is the responsible to format the field as needed.

Is there any information that I can use to create the same result given by that function, using only SQL?

Thank you for you time.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 21, 2015 at 03:33 PM

    I think you need to find a way to provide the formatted value of POSID as the result of the conversion exit function. If no other option, consider adding a field to PRPS (thru CI_PRPS customer include) or create a Z table with a key of PSPNR and another column with formatted POSID value.

    It would be a lot of work to duplicate the logic of that conversion exit in SQL, as you would have to read the configuration for project masks and duplicate a lot of logic. Let SAP do it for you!

    Jim

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2015 at 08:48 PM

    If the FM works as advertised, why are you looking for a different solution?

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2015 at 02:42 PM

    What do you mean format POSID? Do you have PSPNR? If so you can do a select on PRPS with PSPNR to get POSID.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If you have PSPNR just do the select as you will get it formatted correctly.

      Edit: Sorry, I didn't understand your response at first. If it isn't formatted correctly in the table then I'm not sure how you will get it formatted.

      Message was edited by: Aaron Shover

  • Posted on May 21, 2015 at 02:48 PM

    So don't transfer PRPS-PSPNR to other system but PRPS-POSID (as a BW extractor for sample) ?

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.