‎2007 Nov 16 5:21 AM
Hello All,
I am using BAPI for contract creation and i want to extend this BAPI. For this i am using BAPE_VBAK. This Structure of contains around 50 z-fields whose sequesnce is not relevant to my requirement.Whenever i am populating w_bape_vbak structure similar to BAPE_VBAK. and passing it to valuepart1 it is not picking up all the values as some values are corssing 240 characters ( size of valuepart1).
wa_extensionin-structure = 'BAPE_VBAK'.
wa_extensionin-valuepart1 = wa_bape_vbak.
For this do i need to use valuepart2 also. If yes how to use it.its will be better If explained in code format.
Rushikesh
‎2007 Nov 16 5:31 AM
Hi,
Create a append structure in the structure BAPIPAREX .Now add ur zfields in the new append structure...
Regards,
Nagaraj
‎2024 Nov 25 11:24 AM
You can do it by below code
wa_extensionin-valuepart1 = wa_bape_vbak+0(240).
wa_extensionin-valuepart2 = wa_bape_vbak+240.