Im trying to check in a file to existing DIR through a zprogram using this BAPI BAPI_DOCUMENT_CHECKIN2.
But the file is not getting checked in.
I'm passing the parameters as per the inputs mentioned in the FM documentation.
I've even tried passing the flag checked_in as 'X'.
i tried using CALL FUNCTION 'BAPI_DOCUMENT_SETCOMMITMODE'
auto_commit = 'X'.
still the file is not getting checked in..
Please let me know,if any other parameters required to achieve this.
Looking forward for your feedback.