2023 Nov 14 7:13 PM
Hello,
I am currently developing a flow in SAP Build Process Automation to update the ZZFECPAGOP field in the BSEG table. I have successfully established a connection with SAP using the "Set SAP Connection (Basic)" activity, which is functioning correctly.
I have set up the necessary parameters for the BAPI FI_ITEMS_MASS_CHANGE. In the import section, I have included the S_BSEG table with the ZZFECPAGOP column.
In the table sections, I have IT_BUZTAB and IT_FLDTAB, configured as shown in the attached images
Additionally, in TPIT_T_ERRDOC, I have replicated the structure as it appears in the images.
In my flow, I have used the "Execute BAPI" and "Commit BAPI" activities. For "Execute BAPI", I have specified FI_ITEMS_MASS_CHANGE as the BAPI name, the SAP connection, and the variables related to the import and table sections. I have left the "changing" field empty. In "outputs", I have attempted to use the variable associated with TPIT_T_ERRDOC, but encountered compatibility issues.
When executing the flow, I face two main errors:
If I specify a field in "outputs" (like BELNR within the DOC object in TPIT_T_ERRDOC), I receive the error: "Cannot read properties of undefined (reading 'DOC')".
f I leave the "outputs" field empty, the error is: "BAPI exception: cannot find STRUCTURE specified by TPIT_T_ERRDOC".
Additionally, I have noticed that TPIT_T_ERRDOC does not appear as a table or structure in transaction SE11, but as a view. This leads me to believe that this could be the root of the problem.
I would greatly appreciate any guidance or solution you can provide to resolve these issues.
I am attaching relevant images for a better understanding of the current configuration.
Best Regards,
DC
2023 Nov 14 8:11 PM
Hi @digital_core,
Did you test it first directly in the backend before getting onto Build Process Automation? Did it work over there?
Thank you,
Venkat Vyza
2023 Nov 15 1:29 PM
Hi venkat_vyza
Yes, I did test it directly in the backend before implementing it in Build Process Automation, and everything worked correctly there.
2023 Nov 21 2:22 PM
Hello chaitanyapriya.puvvada,
I was wondering if you have an idea of how to solve this issue while i'm trying to call FI_ITEMS_MASS_CHANGE BAPI. I'll be gratefull if you can help me to solve this problem.
Thank you.