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