on 02-03-2014 7:44 PM
Hello, do we have any function module equal to
CONVERSION_EXIT_ABPSP_OUTPUT
in BW?
I tried to use it but it does not return any value in BW but in ECC it returns value.
Please let me know
Thanks.
Hi venkat,
We have two function modules only. Those two are already known to you.
Are you using at field level to convert their format.
CONVERSION_EXIT_ABPSP_INPUT - Thus function module works opposite to above function module.
Even at SE37 you can try to use F4 help by using Conversion_exit*, you will get all function modules which are conversion related. thru them you can find it available exits.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Conversion function modules need access to data for both sides of the conversion. In ECC you have WBS internal and external numbers in PRPS table. In BW you have to have the appropriate attribute for 0WBS_ELEMT. These conversion functions in BW convert WBS_ELEMT value to WBS_ELEMT_EX and vice versa.
When I run my RSA3, the WBS Element comes up as P-130-121 which is what I want. but then what happens is when i extract it in to my PSA. it converts it self in to numbers like '7532' which is NOT what i want (This number matches with what shows up for field PSPNR in table PRPS, Go to PRPS in SE11, Under setting menu, take check off of Consider conversion exit and then run the table, then you will a number appear for PSPNR, this same number appears in my PSA for wbs field and i don't want this number, i want what shows up in POSID field for PRPS table).
In my datasource there is a standard routine (ABPSP) for WBS field and has three options internal, external and check. i tried all three but no one seems to converts this back to RSA3 format. Can some one help me in retaining the format that shows up in RSA3 screen please?
I tried to use the function module 'CONVERSION_EXIT_ABPSP_OUTPUT' in BW but is does not work in BW, but works in ECC.
Thanks.
Let the PSA update WBS element master data. Number 7532 will become the key value for 0WBS_ELEMT infoobject. P-130-121 is probably mapped to attribute 0WBS_ELEMT_EX of infoobject 0WBS_ELEMT. Infoobject 0WBS_ELEMT in BW is defined with conversion routine of WBSEL. So when you use 0WBS_ELEMT in queries, the conversion routine is executed and you should see P-130-121 as output and not 7532.
In ECC 7532(PSPNR) is the key. Users can change the external WBS number assigned to this key. You want to maintain the same on BW side.
As you probably already know, field conversion has two functions. For example WBSEL conversion in BW has:
CONVERSION_EXIT_WBSEL_INPUT
CONVERSION_EXIT_WBSEL_OUTPUT
INPUT function is invoked when you enter a value in an input field and it tries to convert the input value from external format to internal format,
OUTPUT function is invoked when the field value has to be displayed and it will convert internal format to external format.
If you lookup the code for these two function modules in BW using SE37, you will be able to follow the conversion process and see the logic.
In ECC conversion exit is ABPSP which has its corresponding conversion functions. As a result if you put in 7535 in PSPNR, it tries to convert that to an internal format and fails to find any records in ECC. Database stores it as 7535 with the idea that you never have to see 7535 number and use the user friendly P-130-121 number.
Hope that helps.
Hi Venkat,
The FM (I had a quick look at the coding)- CONVERSION_EXIT_ABPSP_OUTPUT
In ECC, FM first checks the WBS values in buffer and then if it do not find anything in buffer then it checks in the database tables PRPS and VSPRPS_CN for its existance and all other processing.
In BW system, the tables are not maintained so the FM do not provide any values in output.
I don't think you will be able to check/convert the value. I suggest you check in the other datasources where the link is extracted from ECC. Or you may try to built a FM based datasource but that would be extreme so better try any other datasource first if there is any available which you can use.
Please let me know if there are any questions.
Thanks
Amit
Are you trying to convert WBS Elements?
If yes, you may use this CONVERSION_EXIT_WBSEL_INPUT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.