2021 Mar 17 4:29 PM
Hi experts,
I have a requirement to call a custom RFC function module and store the data into BW table. We have one filed in the FM output PS_PSP_PNR which is having internal and external format. When I call this FM into BW, I am getting the data in internal format. Can you help me how I can get the external format.
2021 Mar 17 5:17 PM
Hi Praveen,
PS_PSP_PNR Data Element (Work Breakdown Structure Element (WBS Element)) is using Domain PS_POSNR that has Conversion Routine ABPSP.
1-) On BW side if you are using InfoObject or/and InfoObject referenced field / data element (like /BI0/* or /BIC/* then make sure the InfoObject using the same ABPSP Conversion Routine in the definition. As long as the InfoObject using ABPSP Conversion Routine in BW side then values will be stored in internal format but displayed in external format. That would be the best practice - matching on SAP and BW side and not relying on external format.
2-) If you are using just a regular data element & domain in BW side the same thing either you can make sure the domain has the same ABPSP Conversion Routine then internal & external conversion will be taken care of OR you can use function modules in your ABAP for converting between internal and external values:
a-) CONVERSION_EXIT_ABPSP_INPUT Conversion External > Internal WBS Element Number
b-) CONVERSION_EXIT_ABPSP_OUTPUT Conversion Internal > External WBS Element Number
Thanks,
Tuncay
Hi experts,
I have a requirement to call a custom RFC function module and store the data into BW table. We have one filed in the FM output PS_PSP_PNR which is having internal and external format. When I call this FM into BW, I am getting the data in internal format. Can you help me how I can get the external format.
2021 Mar 17 4:41 PM
"A remote function module" isn't really helpful. Is is a custom one? Or a standard one? And if it's standard, which one?
2021 Mar 17 5:17 PM
Hi Praveen,
PS_PSP_PNR Data Element (Work Breakdown Structure Element (WBS Element)) is using Domain PS_POSNR that has Conversion Routine ABPSP.
1-) On BW side if you are using InfoObject or/and InfoObject referenced field / data element (like /BI0/* or /BIC/* then make sure the InfoObject using the same ABPSP Conversion Routine in the definition. As long as the InfoObject using ABPSP Conversion Routine in BW side then values will be stored in internal format but displayed in external format. That would be the best practice - matching on SAP and BW side and not relying on external format.
2-) If you are using just a regular data element & domain in BW side the same thing either you can make sure the domain has the same ABPSP Conversion Routine then internal & external conversion will be taken care of OR you can use function modules in your ABAP for converting between internal and external values:
a-) CONVERSION_EXIT_ABPSP_INPUT Conversion External > Internal WBS Element Number
b-) CONVERSION_EXIT_ABPSP_OUTPUT Conversion Internal > External WBS Element Number
Thanks,
Tuncay
2021 Mar 17 6:00 PM
Hi tuncay.karaca ,
Thanks for the answer. In the BW, I am using the regular data element. When I execute the conversion FM's in BW, I am not getting the data where as if I execute in S4, we are getting the data. So, The only way we can get is to do the conversion in S4 and get the data in BW. Please correct me if I am wrong.
Do we have any setting where we can get the external format as a FM output.
2021 Mar 17 6:46 PM
Praveen,
I see that even tough the FM CONVERSION_EXIT_ABPSP_OUTPUT exists in BW its code has a call function for FM CONVERSION_EXIT_KONPR_OUTPUT which does not exist in BW. Because it seems PS (Project Systems) app not installed in BW.
In this case yes you can do the conversion in S4 and transfer to BW.
Tuncay
2021 Mar 17 7:21 PM
Probably not very performing when called in bulk, but at least it should work:
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |