Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Call Table SUB_HEADER from BAPI1077 GetDetail via VBA

$
0
0

Hello,

 

I have a problem with calling the table SUB_HEADER from the BAPI_BUS1077__GETDETAIL with VBA.

 

I tried that BAPI with SE37 - everything works well.

However, with VBA I cannot find the table SUB_HEADER (the table REFSUBS can be found).

 

My VBA-code:

Dim oMat As Object
Set oMat = SAPBAPIControl1.GetSAPObject("BUS1077")
Dim oRangeSubNr As Object
Set oRangeSubNr = SAPBAPIControl1.DimAs(oMat, "GETDETAIL", "SUB_HEADER")


The Error says:

Parameter SUB_HEADER not found

 

Where is my problem?

I hope, anyone can help me with this problem.

 

Thanks already in advance!

 

Carsten


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>