I am trying to create an entry in SAP with the functions and structures I got from ABAP. I was referring to this link Creating Purchase Info Record in SAP
The same problem happens to me. I could not see the record. When we are checking ERRORS as suggested by the above post.... We got this error..
RFC_ERROR_SYSTEM_FAILURE: THE CURRENT APPLICATION TRIGGERED A TERMINATION WITH A SHORT DUMP.
Since there is a short dump, we need to check the transaction code ST22 to check the exact error for the issue. Then we can adjust the calling code according to the dump details.