2009 Jun 15 12:02 PM
Hi,
In bapi we required wbs element for employees,we got the same from hrt1018-posnr.
data element used is PS_POSNR which has Convers. Routine .
bapi when called from other non sap application doesnot return proper value.
hence we used CONVERSION_EXIT_ABPSP_OUTPUT to resolve the problem.
required value : MLTD-000009
but now we are getting only 000009
initial data type was numc length 8 hence we created a new data element with char 24 length.
after activating ther o/p structure , we are getting error
BAPI-structure: invalid change: length of field WBS was changed
How to resolve the above issue?
2009 Jun 15 12:17 PM
Hi,
If you are exporting the value of WBS element from the FM then keep the parameter of length 24 only.
Get the value of hrt1018-posnr into a variable of type PS_PSP_PNR. Then use the conversion exit 'CONVERSION_EXIT_ABPSP_OUTPUT' and pass the value into the exporting parameter.
Regards,
Ankur Parab
Hi,
If you are exporting the value of WBS element from the FM then keep the parameter of length 24 only.
Get the value of hrt1018-posnr into a variable of type PS_PSP_PNR. Then use the conversion exit 'CONVERSION_EXIT_ABPSP_OUTPUT' and pass the value into the exporting parameter.
Regards,
Ankur Parab
2009 Jun 15 12:17 PM
Hi,
If you are exporting the value of WBS element from the FM then keep the parameter of length 24 only.
Get the value of hrt1018-posnr into a variable of type PS_PSP_PNR. Then use the conversion exit 'CONVERSION_EXIT_ABPSP_OUTPUT' and pass the value into the exporting parameter.
Regards,
Ankur Parab
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |