cancel
Showing results for 
Search instead for 
Did you mean: 

Populating BAPI tables

Former Member
0 Kudos

In Visual Composer, how do I populate tables when calling a BAPI that creates data in R/3. I'm not refering here to tables in the IMPORT section of a BAPI, but tables in the TABLES section of a BAPI.

For example, BAPI_SALESORDER_CREATEFROMDAT2 has an INPUT table for sales order header data, but the line items and partner information in the TABLES section. In Visual Composer I can't seem to create a grid or form that will serve as input to the later. I can only create these object for output from the BAPI.

Many Thanks

Jim

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jim:

The current version of Visual Composer does not support BAPI which have table inputs. This feature will be available in our next release that is planned for Q3 2004.

Right now we can work with BAPIs which have Import parameters as inputs.

Regards.

Himanshu

Former Member
0 Kudos

Six months later...

I've downloaded version 6 and still can't input to the TABLES parameters. Am I missing something or is this capability still not available.

Thanks

Jim

Lisi
Advisor
Advisor
0 Kudos

Hi Jim,

In order to create an input table you need to:

1. Select the input table (in the right side of the BAPI diagram), right click on it and select "Flip Port".

Now you can see it in the left side as an input table.

2. Drag out a line from input port you have just flipped and select "Add input table"

Regards,

Lisi

Former Member
0 Kudos

I am having a similar problem. I have a BAPI that requires both input from a table and input from a form. When I click the submit button on the form it appears that only the form information is submitted. If I click on the table submit button it appears that only the table information is submitted. Am I missing something or is this functionality not yet supported?

Lisi
Advisor
Advisor
0 Kudos

Hi Eric,

When you need more than one input for a BAPI you should do the following:

1. Create the inputs you need (form, table etc.)

2. Right click on the connecting line between the input form and the BAPI and select "Define Properties"

3. Change the name to "*submit"

4. Do the same with the input table (or any other input the BAPI requires).

Now when you push one of the submit buttons, the data from all the forms will be submitted.

Regards,

Lisi

Former Member
0 Kudos

Hi Lisi,

I am working with Eric. We already done the following things:

When you need more than one input for a BAPI you should do the following:

1. Create the inputs you need (form, table etc.)

2. Right click on the connecting line between the input form and the BAPI and select "Define Properties"

3. Change the name to "*submit"

4. Do the same with the input table (or any other input the BAPI requires).

Still the Submit action triggered on the Inputform not triggers the Submit action on input table and the Submit action triggered on the Input table not triggers the submit action on the Input form .

Any suggestions???..

Thanks in advance .

Greetson

Former Member
0 Kudos

Hi Lisi,

I forgot to point you onething . if I do a Test Function call it works fine only thig it's not working whenw e test this from the Preview page.

"the Submit action triggered on the Inputform not triggers the Submit action on input table and the Submit action triggered on the Input table not triggers the submit action on the Input form ."

Thanks,

Greetson

Lisi
Advisor
Advisor
0 Kudos

Hi Greetson,

If you are using RFC's from the IDES system I suggest that you export your model and send it to me by mail (elizabeth.gutt@sap.com) so I can check it for you.

Please specify also the Input parameters to test the model.

regards,

Lisi

Former Member
0 Kudos

Hi Lisi ,

I had sent you the Exported Model to your e-mail id : elizabeth.gutt@sap.com.

Thanks in Advance.

Thanks,

Greetson

Lisi
Advisor
Advisor
0 Kudos

Hi Greetson,

There is a bug in the preview of scenarios with multiple inputs, when you try to run the iView you get a message that "Event SUBMIT is declared but cannot be raised".

We will try to fix that for one of the next patches,

In the meantime you can deploy your iView to the portal and test it in runtime.

Regards,

Lisi