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

BDC

Former Member
0 Likes
831

In BDC is it necessary to give all the values which is mentioned in internal table.

Give me an example for f-22 (for both Customer & vendor master update)

7 REPLIES 7
Read only

Former Member
0 Likes
797

Hi ravi,

1.

In BDC is it necessary to give all the values which is mentioned in internal table.

Absolutely No.

2. The only criteria is

the transaction data,

(compulsary fields which are required in that particular screen)

3. The screen expects some compulsary data,

which should be necessarily given,

other wise the transaction won't run further.

regards,

amit m.

Read only

Former Member
0 Likes
797

hi

all mandatory values need be given to the data internal table

if not it will result in an error saying

"please enter value for all mandatory fields "

Harish

Read only

Former Member
0 Likes
797

Hi Ravi,

Step 1.

Check which values are necessary to pass to the BDC program for Customer and Vendor master Update.For this exceute the transaction and check which fields need to be filled for required updation.

Step 2.

Record the transaction with the valid inputs and generate BDC program.Use this BDC program in your main program and pass the values that you passed on the screen while recording,from the internal table.

Message was edited by: mukesh kumar

Message was edited by: mukesh kumar

Read only

Former Member
0 Likes
797

Hi ravi,

Not all fields required , But you need to pass the Mandatory fields to the BDCTABLE or else you will end up with errors. Try to Record it using SHDB transaction , it will give you the sample code, you can modify that according to your requirement.

Regards

vijay

Read only

Former Member
0 Likes
797

Hi Ravi,

Only the Mandatory fields can be passed for successful completion of the transaction. If your Internal table has moe fields it may be for some additional information or functionality.

To find the mandatory fields whenever u have a BDC recording to do follow this method.

1)Goto transation F-22 (in your case) <b>Enter Customer Invoice: Header</b>

Hit <b>Enter</b>.

An error message will get displayed, asking you to enter Document Date (cursor is placed here). Enter this.

Follow same procedure , it will ask you to enter

<b>Company Code</b>, <b>Currency rate</b> etc....

Follow the same procedure for the rest of the screens,

till the transaction is successfully completed.

Now you know all the mandatory fields for transaction F-22.

Goto SHDB and do recording inputting only these Fields.

You can then create your BDC program using this recording.

Regards,

Arun Sambargi.

Read only

Former Member
0 Likes
797

Hi ravi,

A BDC using session or Call transaction is just a simulation of manual entry in a transaction.

What are fields you enter in the f-22 transaction are to be passed even in the bdc.

So, you do a SHDB recording for your transaction F-22 in this case and create a program which you can modify according to your requirement, as suggested by others too.

regards,

ravi

Read only

Former Member
0 Likes
797

Hi Ravi,

Only mandatory field values will pass of internal table for processing your BDC.I was trying but.J