‎2006 Jul 11 10:31 AM
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)
‎2006 Jul 11 10:34 AM
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.
‎2006 Jul 11 10:35 AM
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
‎2006 Jul 11 10:38 AM
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
‎2006 Jul 11 10:45 AM
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
‎2006 Jul 11 10:52 AM
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.
‎2006 Jul 11 10:56 AM
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
‎2006 Jul 11 11:10 AM
Hi Ravi,
Only mandatory field values will pass of internal table for processing your BDC.I was trying but.J