Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP and VB

Former Member
0 Likes
669

Hi

Actually i m trying to call a BAPI viz : BAPI_VERSION_CONTR_VALIDATE from VB and while i m trying to set the export parametes i.e oRetrun it gives error 0 as its value and does not return the data

Set oReturn = objBAPIControl.DimAs(VersionController, "ContrValidate", "Return")

my obeservation is the parameters to be exported in the BAPI are mentioned under "EXPORT" tab and not under "TABLES" tab

I have checked with the other BAPI's that are working fine because the the parameters to be exported in the BAPI are mentioned under "TABLES" tab and not under "EXPORT" tab.

Kindly help

Thanks

Priya

Hi

Actually i m trying to call a BAPI viz : BAPI_VERSION_CONTR_VALIDATE from VB and while i m trying to set the export parametes i.e oRetrun it gives error 0 as its value and does not return the data

Set oReturn = objBAPIControl.DimAs(VersionController, "ContrValidate", "Return")

my obeservation is the parameters to be exported in the BAPI are mentioned under "EXPORT" tab and not under "TABLES" tab

I have checked with the other BAPI's that are working fine because the the parameters to be exported in the BAPI are mentioned under "TABLES" tab and not under "EXPORT" tab.

Kindly help

Thanks

Priya

4 REPLIES 4
Read only

Former Member
0 Likes
629

Could you please let us know, which SAP Version you are using. This BAPI is not available in 4.7

Read only

Former Member
0 Likes
629

Hi

Actually this is a custom BAPI

Read only

Former Member
0 Likes
629

I hope you have acitvated the RFC button in ATTRIBUTES.

Parameters EXPORT/IMPORT store single values & TABLES will have multiple values.

DO raise exceptions if validation fails.

Read only

0 Likes
629

Hi

Now the Return (ParameterName) is of Associated Type(BAPIRETUR1) and BAPIRETURN1 is a structure

Thanks

Priya