cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_DOCUMENT_GETDETAIL2 returns empty OBJECTLINKS-OBJECTDESCRIPTION

0 Kudos

Hi,

BAPI_DOCUMENT_GETDETAIL2 returns empty OBJECTLINKS-OBJECTDESCRIPTION


Depending on the type of existing object links for a given document info record BAPI_ DOCUMENT_GETDETAIL2 does not return all objectdescriptions in table OBJECTLINKS.

BAPI_ DOCUMENT_GETDETAIL2 is called with Parameter GETOBJECTLINKS = ‘X’, eg. from Sapeasydms or from SE37.

  • 1.)Existing objectlinks for a document: PRPS and VBAP à everything fine, Objectdescription of the VBAP and PRPS are filled. (note 1171060)
  • 2.)Add an objectlink PMAUFK to the document (no matter from sapeasydms or CV02N) – (note 1673931).
  • 3.)Run BAPI_DOCUMENT_GETDETAIL2 for the same document again. Result: Objectdescription of the PMAUFK-link is filled, Objectdescription of the VBAP and PRPS remains empty.

Guess: this behavior is related with note 1071675

If an objectdescription is found via CL_EX_DOCUMENT_OBJ ( PMAUFK is found in this example ), the field lf_run_no_action remains ‘X’, even if the objectlinks-dokob changes to VBAP.

Can anyone please identify the problem why is it not working?


Thanks

Accepted Solutions (0)

Answers (0)