Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

Reg:Error has been occur when try to send the Data to SAP using ASP.Net

$
0
0

I am getting the below mentioned error when i have tried to send the Data to SAP

"Element DEALER_CODE of container metadata ZTTGPCWMSINT001 unknown". I have mentioned the below code used to send the Data.

 

IRfcStructure structInputs = prd.Repository.GetStructureMetadata("ZTTGPCWMSINT001").CreateStructure();  // Structure Name
                                    for (int i = 0; i < SAPDealerResult.Tables[0].Rows.Count; i++)
                                    {
                                        for (int j = 0; j < SAPDealerResult.Tables[0].Columns.Count; j++)
                                        {
                                            //structInputs.SetValue(SAPDealerResult.Tables[0].Columns[j].ColumnName.ToString(), SAPDealerResult.Tables[0].Rows[i][j].ToString());
                                            structInputs.SetValue("DEALER_CODE", SAPDealerResult.Tables[0].Rows[i][j].ToString());
                                           
                                        }
                                        table.Insert(structInputs);
                                    }
                                    RfcSessionManager.BeginContext(prd);

                                    Dealer.Invoke(prd);

 

Kindly suggest me.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>