Update Operation to SAP Failed using BDC Model
Hi All,
I am working in Duet Enterprise 1.0 development in SharePoint. At SAP front Query, Read and Update operations have been developed and the corresponding WSDL and Endpoint URLs are generated.
I need to use these WSDL and Endpoint urls and perform Update operation in SharePoint. For this I need to pass the parameters POSCLKey, CorrelationID, ReleaseCode and PONumber for the update operation.
I have written the following code:
using (new Microsoft.SharePoint.SPServiceContextScope(SPServiceContext.GetContext(site)))
BdcService service =
SPFarm.Local.Services.GetValue<BdcService>();
IMetadataCatalog
catalog = service.GetDatabaseBackedMetadataCatalog(SPServiceContext.Current);
//IEntity entity = catalog.GetEntity(ConfigurationManager.AppSettings["NameSpace"], ConfigurationManager.AppSettings["EntityName"]);
IEntity entity = catalog.GetEntity("http://bccplmoss:9999",
"Purchase Order V1");
foreach (KeyValuePair<string,
IMethod> methods in entity.GetMethods())
ILobSystemInstance LobSysteminstance = entity.GetLobSystem().GetLobSystemInstances()[0].Value;
IFieldCollection fieldCollection = entity.GetUpdaterView("UpdatePO").Fields;
IMethodInstance methodInstance = entity.GetMethodInstance("UpdatePO",
MethodInstanceType.Updater);
string Relcode = "V1";
//string[] parameters = { "1022_7400000011_ZPURCHASE_ORDER_HEADER_SPI_SERV_160", "7400000011", Relcode };
Identity identity = new
Identity("1022_7400000011_ZPURCHASE_ORDER_HEADER_SPI_SERV_160");
IMethodInstance methodinstance = methods.Value.GetMethodInstances()[methods.Key];
IEntityInstance
entityinstance = null;
entityinstance = entity.FindSpecific(identity, LobSysteminstance);
entityinstance.Update();
Error Details Are:
Error Occurred in the following line:
entityinstance = entity.FindSpecific(identity, LobSysteminstance);
Error Description: The shim execution failed unexpectedly - The incoming policy could not be validated. For more information, please see the event log..
Is there any Alternate Method to update the data into SAP through BDC model? Please suggest me at the earliest.
Thanks & Regards,
Murali Krishna Tatoju
Best Regards, Murali Krishna Tatoju SAP Duet Developer
Hi all,
Now we are able to pass all the required input data to the update operation
and no errors exist for this operation. But when we execute the update operation, the PO is not getting updated at SAP. But same operation
is working fine from DUET-ABAP. As a test, we executed this operation from DUET ABAP front and generated the log (/iwfnd/view_log) log
has been generated. The same operation when we executed from Sharepoint and when we looked into 14-hive logs, nothing has got generated
for update operation.
Note: when executed this update operation from SharePoint, in /iwfnd/view_log, no logs generated for updated operation.
Please suggest me a way so that I can sort out this issue.
Best Regards, Murali Krishna Tatoju SAP Duet Developer
Similar Messages
-
Problem with OPERATION TEXT(LTXA1) uploading using BDC For C202 Transaction
Hi Experts,
Im presently doing a BDC for the trransaction C202 (Change Master Recipe),my task was to upload the 'OPERATION TEXT' field PLPOD-LTXA1 which is actually Long text to an existing master recipe from a flat file during updation of the 'OPERATION TEXT the number of lines i was able to were 34 which we number lines on the displayed page and while updating the 35th line using the concept of bdc table control it is failing to insert the update text.
I used all the ok codes but failed to update more than 34 lines.So,can someone tell me how to update the longtext beyound it.
This is the Screenshot of my problem:
[BDC_C202_error|http://www.freeimagehosting.net/uploads/79af6bac49.jpg]
Thanx in advance.Hi,
There is a better way of doing the long text upload in SAP. In your BDC, if I change the text editor, the BDC will not work.
Hence ,
Use function module " Save_Text" to update long texts in SAP.
Please check its FM documentation or perform a search for this FM in SDN for more clarity.
Write back in case you face further issues.
Regards,
Rijuraj
Edited by: Rijuraj Raju on Sep 10, 2010 3:05 PM -
Updating of delivery dates failed using BAPI_SALESORDER_CREATEFROMDAT2
Hi,
I am trying to create a new sales order using <i>BAPI_SALESORDER_CREATEFROMDAT2</i>.
However, when i enter the following fields (<i>GI_DATE, LOAD_DATE, MS_DATE, TP_DATE</i>) into table structure <i>ORDER_SCHEDULES_IN</i>, the input values are not reflected in the new sales order instead all values are defaulted to the <i>REQ_DATE (first date)</i> field value.
Does anyone has similar problem? Would appreciate some advise. Thanks.Hi Maggie,
I don't know much about BAPIs myself but I cmae across the following that you may or may not be aware of:
<b>"Method:
SalesOrder.CreateFromDat2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further Information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD."</b>
By reading that all I can suggest, in additon to what Robert has suggested is that perhaps you need to use BAPI..COMMIT? Like I said I'm not really an expert on this but I hope I've helped.
Hafeez -
Problem in creating and updating of material by the use of bapi and bdc
Hello All,
I am using bapi (BAPI_MATERIAL_SAVEDATA ) and than bdc to create and update classification data of material.
I am facing a problem.
1) firstly I am creating material by the use of bapi and than after creation i want to update classification data for taht perticular material .
2) To update classification data i am using bdc . while at the time of updating material through bdc system showing me error that material is currently locked by user (my login name ).
Please suggest what to do.
Tkank you
With Regards
Shantanu ModiWhen u update/create data it takes sometime to commit. So after using BAPI
give 10 minutes wait in ur program before updating classification data.
you can write like
wait up to 20 seconds.
and update the classification. -
Problem in Wfetch client for Update operations
Hi,
I am using the Wfetch client for the 'Update' operation of an RFC Gateway consumption model . But it seems to always give this error : 'HTTP/1.0 400 Bad Request\r\n'
I have passed only those fields that have been exposed in the GW Data model. Is there anything else that needs to be taken care of ?
The read and query operations are executed successfully though.
Thanks,
ShubhadaHi Shubhada,
Just recheck two things in Wfetch with below details.
1. Check the path. It should be below formate for update operation
Verb : Put
Path: /sap/opu/sdata/sap/<CONSUM_MODEL>/<data_model>Collection(value=' ',scheme_id='<DATA_MODEL>',scheme_agency_id=' ')?sap-client=< >&$format=xml
Above formate you can take from Read operation which you already executed successfully.
2. Check the XML formate on right handside in Wfetch it should be header & body with below details.
Xml Formate:
x-requested-with: XMLHttpRequest\r\n
\r\n
<?xml version="1.0" encoding="utf-8" standalone="yes"?>\r\n
<entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">\r\n
<content type="application/xml">\r\n
<m:properties>\r\n
<d:value> </d:value> \r\n
<d:scheme_id> </d:scheme_id> \r\n
<d:scheme_agency_id> </d:scheme_agency_id> \r\n
Just copy from read operation Read operation which you already executed successfully. And update the fields what you required.
</m:properties>\r\n
</content>\r\n
</entry>\r\n
Hope you this will help above information.
Thanks & Regards,
Mahesh Devershetty -
Problem in update operation for duet enterprise 1.0 from SharePoint end.
Hi Everyone, I have developed a sap netweaver duet enterprise 1.0 to send the data from sap to share point and from share point to sap. The problem is that I am able to test the data successfully from duet system in sap for all the operations Query, Read & Update and I am getting the required output.
But from share point end when they are hitting the data for Query, Read & Update operations the query and read operations are successful but the update operation is getting failed. I unable to trigger the break point for update operation. I have checked the log but in that i am getting BULK READ status.
Can anyone help me out in resolving this issue.
Thanks in advance
Regards
SrinuHi Binson,
I want to ristrict the crude operation (create, update etc) by giving roles in backend system. i am able to apply restriction at sharepoint end but i don't want that. i want SAP role based security.
So i want, according to given roles in backend system user is able to do operations at sharepoint.
Thanks & Regards
Virender Solanki -
How to upload chunks of Jpeg pictures in smartform using BDC.
helo expert,
Could you please tell me how can i upload pictures in sap tables using bdc or something else.
actually i would like to display pics as a field value dynamically in samrtforms while printing an invoice.
IS there any facility to upload JPEG type pics because i need clarity in pics while printing ?
Thanks........
Santosh.............Use the standard process and BMP's uploaded into the graphics manager. BMP's work fine for photos and you can mass upload them directly using the code from SE78 via LSMW or a program (no BDC required) and then call them dynamically in your smartforms.
-
How can I use the update operation in a VC Model
Hello experts,
i try to to use the update operation in my VC model. I have developed an AS wich return a table. Now i want to update a table row. So I add the update operation to my model. But it doesn´t work. I mapped all attribute between the table and the update service. The event name is submit.
Another strange thing is: If i try to update in the service browser it cames the error message that the vandatory attribute ... is missing.
Any ideas??
Thanks
MarcoHi Marco,
In this case it is possible that your update service requires a mandatory parameter which you are not providing.
When you drag your service onto the VC screen, right click on the service and test it.It will give you a clear picture of which parameters are required by the service and besides you can also use some test data to check if the service is working properly.
Do let me know if this helps.
Thanks,
Gaurav. -
Hello All,
Is there any Data Mapping document Between S&OP ( model that uses supply planning operator ) and SAP ECC that I will help in Data Mapping activity.
Thanks,
MowneshThere are standard templates in HCI data sources.
e.g. 1) Customer Master data template is SOP_MD_CustomerMaster for extracting master data from SAP ECC and load it to S&OP
KNVP is the table for customer in ECC from that you can select the fields as required
KUNNR for customer Number
ADRNR for Address
List of a few commonly used table names of ECC:
Product Related:
MARA – Material Master (MATNR)
MARC – Material Master with Plant Data (MATNR, WERKS)
MARD – Material Master with Storage Location Data (MATNR, LGORT, WERKS)
MAKT – Material Master Material Descriptions (MATNR, MATKL)
MBEW – Material Valuation Data (MATNR, BWTAR)
MVKE – Material Master : Sales related Data
MDKP, MDTB – MRP related Data( Header, Item)
MCHA, MCHB – Material Batches (Header, Item) (MATNR, WERKS, LGORT, CHARG)
Vendor/Supplier related:
LFA1 – vendor data (LIFNR)
LFB1 -- Company Code Segment : Vendor Data(LIFNR, BUKRS)
LFC1 -- FI Related Vendor Data (LIFNR, BELNR)
LFM1 – Pur. Orgn. Related Vendor Data (LIFNR, EKORG)
PReq/PO, BOM Related:
EBAN – Pur. Req. Data( BANFN, BNFPO, BADAT, MATNR)
EINA – Purchase Info. Record(General Data)(INFNR, MATNR, LIFNR)
EINE – Purchase Info. Record (pur. Orgn. Data) (INFNR, EKORG)
ELBK, ELBN, ELBP – Vendor Evaluation Related Data
EKKO – PO Data (Header) (EBELN, BSTYP, BSART)
EKPO – PO Data (Item) (EBELN, EBELP, MATNR)
Pur. Req., RFQ and PO are differentiated by Doc Type (BSTYP) in EKKO table.
For RFQ it is ‘A’ and for PO it is ‘F’
MKPF – GRN Data (Header) (EBELN, BLDAT, BUDAT, XBLNR, BKTXT)
MSEG – GRN Data(Item) MBLNR, BWART, LIFNR, MATNR, EBELN)
Apart from this there are lot of tables which begin with ‘M’ & ‘E’, but we
use the following very often.
EQUK – Quota (Header)(QUNUM, MATNR)
EQUP – Quota (Item) (QUNUM, QUPOS, LIFNR)
EKBE – PO History Data (EBELN, EBELP, BELNR, BLDAT, MATNR, VGABE)
EKBZ – PO History with Delivery Costs(EBELN, BELNR, LIFNR, XBLNR)
EKET – Schedule lines data of a PO(EBELN, EINDT, SLFDT)
EKES – Vendor Confirmations Data (EBELN, EBTYP, EINDT, XBLNR)
T163F – Confirmation Texts (EBTYP, EBTXT)
T156 – Movement Types (BWARE)
T024 – Purchasing Groups
T024E – Purchase Organizations
T163 – Item Category’s in Purchasing Documents(PSTYP)
T149D – Valuation Types
T134 – Material Types
FVLK – Delivery Types
STKO, STPO – BOM(Bill Of Material) related Data (Header & Item)
STPU, STPN, STST, STZU – BOM Related Tables
RKPF, RBKP, RSEG (Header & Item) – MM – FI Related Data
KONO, KONH – Pricing data
T006 – Basic Unit Of Measurements
Customer/Sales Order Related:
VBAK : Sales Document(Header Data) (VBELN)
VBAP : Sales Document(Item Data) (VBELN, POSNR, MATNR, ARKTX, CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP Field) in VBAK, VBAP Tables for Enquiry VBTYP = A, for Quotation ‘B’ & for Order it is ‘C’.)
LIKP : Delivery Table(Header Data) (VBELN, LFART, KUNNR, WADAT, INCOL)
LIPS : Delivery Table(Item Data)(VBELN, POSNR, WERKS, LGORT, MATNR, VGBEL)
(LIPS – VBGELN = VBAK- VBELN, LIPS-VGPOS = VBAP-POSNR)
VTTK : Shipment Table(Header Data) (TKNUM)
VTTP : Shipment Table (Item Data)(TKNUM, TPNUM, VBELN)
(VTTP – VBELN = LIKP – VBELN)
VBRK : Billing Table(Header Data) (VBELN, FKART, BELNF)
VBRP : Billing Table(Item Data) (VBELN, POSNR, FKIMG, NEWR, VGBEL, VGPOS)
(VERP – AUBEL = VBAK- VBELN, VBRP – VBEL = LIKP – VBELN)
Apart from these tables there are lot of other tables which starts with ‘V’, but we use the
following tables frequently.
VBUK: All Sales Documents status & Admn. Data(Header) (VBELN, VBTYP)
VBTYP = ‘C’ (Sales Order) VBTYP = ‘L’(Delivery) VBTYP = ‘M’(Invoice)
VBUP: Sales Documents status & Admin. Data(Item) (VBELN, POSNR)
VBEP : Sales Document Schedule Lines Data (VBELN, POSNR, EDATU, WMENG)
VBKD: To get sales related Business data like Payment terms etc.(VBELN, ZTERM)
VBFA: Sales Document flow data(VBELV, VBELN, POSNV, VBTYP)
VBPA: Partner functions Data(VBELN, PARVW, KUNNR, LIFNR)
TVLKT: Delivery Type: Texts(LFART, VTEXT)
KNA1, KNB1, KNC1 : Customer Master Data and Other Partner’s Data(KUNNR,
NAME1,LAND1)
KNVK: Customer Master Contact Person(PARNR, KUNNR)
KNVV: Customer Master Sales Data.
LFA1, LFB1, LFC1: Vendor Master Data(To get Transporter data)(LIFNR, NAME1, ORT01)
MARA, MARC, MARD : Material Master Data(Basic, Plant, St. Location Views)
TVKO: Sales Organizations(VKORG)
TVKOV: Distribution Channels(VTWEG)
TVTA: Divisions(SPART)
TVKBZ: Sales Office(VKBUR)
TVBVK: Sales Group(VKGRP)
T077D: Customer Account Group(KTOKD)
T001W: Plants(WERKS)
T001L: Storage Locations(LGORT)
TWLAD: To get address of Storage Location and Plant(LGORT, ADRNR)
TVAU: Sales Document (Order) Types
KONV: Condition Types (pricing) (KNUMV, KSCHL, KWETR)
T685T: Condition Types Texts.
ADRC: To get Addresses of Partners
VBBE, VBBS: Sales Requirements Data
VBKA: Sales Activities Data
VBPV: Sales Document Product Proposal
Based on the functionality you can search ECC table names and fields
Hope this information is helpful for you.
Thanks and Regards,
Anjali -
Error while importing BDC models to SharePoint from SAP
Hi Team,
I am facing error while importing the BDC models to SharePoint from SAP Duet environment. Please find the attached screen shot and text document for reference.
Below are the tasks performed before importing the BDC models.
1) SSL & STS certificated created in the SharePoint environment.
2) Certificates are uploaded to the SAP duet environment.
3) SSL certificate created in SAP duet environment is uploaded to Trust location in SharePoint central admin.
Error while importing the BDC models manually through Central Admin.
Application definition while import failed. The following error occurred: The BDC model file is not well-formed. Data at root level is invalid at. Line 1,position 1.
C:\Program Files\Duet Enterprise\1.0>duetconfig/importbdc C:\Users\adm-in.itsupp
ort\Desktop\Rahul\BDC\models.xml
Starting import of models from C:\Users\adm-in.itsupport\Desktop\Rahul\BDC ...
Attempting to import model: Account
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '48' and Position: '20'.
Failed to import model: Account
Attempting to import model: AccountDocumentStorageCategory
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: AccountDocumentStorageCategory
Attempting to import model: AccountDocumentTypeStatus
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: AccountDocumentTypeStatus
Attempting to import model: AccountDocuments
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: AccountDocuments
Attempting to import model: AccountTitle
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: AccountTitle
Attempting to import model: BOM
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: BOM
Attempting to import model: Contact
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: Contact
Attempting to import model: ContactTitle
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: ContactTitle
Attempting to import model: CountryCode
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '48' and Position: '20'.
Failed to import model: CountryCode
Attempting to import model: CustomerInquiry
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: CustomerInquiry
Attempting to import model: CustomerInquiryItem
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '44' and Position: '20'.
Failed to import model: CustomerInquiryItem
Attempting to import model: CustomerInquiryPartner
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '44' and Position: '20'.
Failed to import model: CustomerInquiryPartner
Attempting to import model: CustomerQuotation
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '49' and Position: '20'.
Failed to import model: CustomerQuotation
Attempting to import model: CustomerQuotationItem
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: CustomerQuotationItem
Attempting to import model: CustomerQuotationPartner
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: CustomerQuotationPartner
Attempting to import model: Employee
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: Employee
Attempting to import model: InquiryItemDocument
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '49' and Position: '20'.
Failed to import model: InquiryItemDocument
Attempting to import model: InquiryItemDocumentStorageCategory
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '20'.
Failed to import model: InquiryItemDocumentStorageCategory
Attempting to import model: InquiryItemDocumentTypeStatus
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '20'.
Failed to import model: InquiryItemDocumentTypeStatus
Attempting to import model: JobFunction
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '47' and Position: '20'.
Failed to import model: JobFunction
Attempting to import model: Product
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: Product
Attempting to import model: ProductDocument
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '42' and Position: '20'.
Failed to import model: ProductDocument
Attempting to import model: ProductDocumentStorageCategory
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '20'.
Failed to import model: ProductDocumentStorageCategory
Attempting to import model: ProductDocumentTypeStatus
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '20'.
Failed to import model: ProductDocumentTypeStatus
Attempting to import model: QuotationItemDocument
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '20'.
Failed to import model: QuotationItemDocument
Attempting to import model: QuotationItemDocumentStorageCategory
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: QuotationItemDocumentStorageCategory
Attempting to import model: QuotationItemDocumentTypeStatus
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '46' and Position: '20'.
Failed to import model: QuotationItemDocumentTypeStatus
Attempting to import model: ReportTemplate
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '49' and Position: '20'.
Failed to import model: ReportTemplate
Attempting to import model: Role
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '65' and Position: '20'.
Failed to import model: Role
Attempting to import model: UserRoles
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '42' and Position: '20'.
Failed to import model: UserRoles
Attempting to import model: SAP.Office.DuetEnterprise.Workflow.UserSubscription
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '42' and Position: '20'.
Failed to import model: SAP.Office.DuetEnterprise.Workflow.UserSubscription
Attempting to import model: SAP.Office.DuetEnterprise.Workflow
[ERROR] The remote certificate is invalid according to the validation procedure.
Error was encountered at or just before Line: '45' and Position: '11'.
Failed to import model: SAP.Office.DuetEnterprise.Workflow
[WARNING] Duet Enterprise configuration utility has completed importing the BDC
models but some models could not be imported. Review the logs for detailed infor
mation on the errors which occurred during the import operation.
Failed to import the following models -
Account
AccountDocumentStorageCategory
AccountDocumentTypeStatus
AccountDocuments
AccountTitle
BOM
Contact
ContactTitle
CountryCode
CustomerInquiry
CustomerInquiryItem
CustomerInquiryPartner
CustomerQuotation
CustomerQuotationItem
CustomerQuotationPartner
Employee
InquiryItemDocument
InquiryItemDocumentStorageCategory
InquiryItemDocumentTypeStatus
JobFunction
Product
ProductDocument
ProductDocumentStorageCategory
ProductDocumentTypeStatus
QuotationItemDocument
QuotationItemDocumentStorageCategory
QuotationItemDocumentTypeStatus
ReportTemplate
Role
UserRoles
SAP.Office.DuetEnterprise.Workflow.UserSubscription
SAP.Office.DuetEnterprise.Workflow
C:\Program Files\Duet Enterprise\1.0>
C:\Program Files\Duet Enterprise\1.0>
Qucik response is much appreciated.
Regards,
Rahul Reddy.Take a look at this blog post,
http://brainof-dave.blogspot.com/2008/08/remote-certificate-is-invalid-according.html
Dimitri Ayrapetov (MCSE: SharePoint) -
Update Transaction(IQS2) using BDC
Hi All,
I am developing BAPI (using BDC) which creates quality notification in SAP which is entered via front end web application. Structure p_qmsm contain 3 lines of task in notification. The code is as given below. To avoid problem of large no of lines on screen,code lines starting with * is used. This actually for pagedown after entering every 2 lines and creates new line. so that 2 lines always push up on screen and there will not be problem for creating large no of lines on screen
perform bdc_dynpro using 'SAPLIQS0' '7200'.
perform bdc_field using 'BDC_OKCODE' '=10\TAB11'.
LOOP AT p_qmsm INTO wa_qmsm.
perform bdc_dynpro using 'SAPLIQS0' '7204'.
perform bdc_field using 'BDC_OKCODE' '/00'.
CONCATENATE 'VIQMSM-QSMNUM(' wa_qmsm_cntr ')' INTO wm_qmsm_qsmnum.
CONCATENATE 'VIQMSM-MNGRP(' wa_qmsm_cntr ')' INTO wm_qmsm_mngrp.
CONCATENATE 'VIQMSM-MNCOD(' wa_qmsm_cntr ')' INTO wm_qmsm_mncod.
CONCATENATE 'VIQMSM-MATXT(' wa_qmsm_cntr ')' INTO wm_qmsm_matxt.
CONCATENATE 'VIQMSM-PSTER(' wa_qmsm_cntr ')' INTO wm_qmsm_pster.
CONCATENATE 'VIQMSM-PETER(' wa_qmsm_cntr ')' INTO wm_qmsm_peter.
perform bdc_field using wm_qmsm_qsmnum wa_qmsm-qsmnum.
perform bdc_field using wm_qmsm_mngrp wa_qmsm-mngrp.
perform bdc_field using wm_qmsm_mncod wa_qmsm-mncod.
perform bdc_field using wm_qmsm_matxt wa_qmsm-matxt.
perform bdc_field using wm_qmsm_pster wa_qmsm_pster.
perform bdc_field using wm_qmsm_peter wa_qmsm_peter.
wa_qmsm_cntr = wa_qmsm_cntr + 01.
ENDLOOP.
CALL TRANSACTION 'IQS2' USING wt_bdc
MODE 'N'
UPDATE 'A'
MESSAGES INTO P_MESSTAB.
The same code is used in modify mode also. web application is sending all 3 lines in modify mode even if single line is modified. It is already decided to send all rows back from web application to SAP in same sequence. It is working fine if i comment 5 lines which is starting with *. But in modify mode, how can i ensure that correct row is modified? and how can i achieve problem of large no of lines on screen?
Please suggest?
Edited by: Rob Burbank on Dec 14, 2009 3:20 PMModerator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And please do not try to get around this by using two posts. I was able to re-format this by simply removing your commented out code.
-
How to tcack the table update event in sap for all tables by use of single
Hello,
I want to store the list of all OM,HR tables in a file which are updated after perticular date. For that i tried TRIGGER but i can write only one trigger for one table, i want such a that i have to write only one trigger which will be invoked affter update operation on every HR,OM tables and i store information in a file regarding which rows are updated and external application can use it.
Thanks in advance,
SANDIPhi all the log for the change of any thing will be available in the tables DBTABLOG..REPOSRC ....
regards,
venkat. -
Work Center update during work order save (SAP PM) using exit IWO10009
Hi All,
I am updating the work center in the operation record of a work order using exit IWO1009. In the debug, the internal table for operation is updated successfully. But once the processing is done and I see the order though t-code IW33, I couldn't see the updated workcenter. And surprisingly, plant field which I am updating with work center, is getting updated in the operation and I can see this in IW33.
Pls help.
Thanks,
BhaskarHere is the code:
REFRESH : lt_afvgd.
Getting Operation details
CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
EXPORTING
aufnr_imp = caufvd_imp-aufnr
TABLES
afvgd_get = lt_afvgd.
IF caufvd_imp-AUART = lc_auart1 or caufvd_imp-AUART = lc_auart2 .
Determination of Work Centre for Operation Relevent To PTE Eng.
CLEAR : ls_afvgd.
READ TABLE lt_afvgd INTO ls_afvgd WITH KEY usr00 = 'PTE'.
IF sy-subrc eq 0.
ls_afvgd-arbpl = caufvd_imp-VAPLZ.
ls_afvgd-WERKS = caufvd_imp-VAWRK.
MODIFY lt_afvgd FROM ls_afvgd TRANSPORTING arbpl WERKS WHERE usr00 = 'PTE'.
ENDIF.
endif.
**-- Updating operations buffer
CALL FUNCTION 'CO_BO_UPDATE_OPR_OF_ORDER'
TABLES
afvgd_upd = lt_afvgd. -
Download Data From Excel - VBA Code to SAP Using BDC
Hi ,
I am Sudhir Dure, working with Satyam Computers.
I need help on the below query:
I have an excel file which download data from Excel to SAP using RFC function & with the help of VBA interface.
In this VBA code I have used BDC recording of SAP Transaction KE21N to post data into SAP.
Now I am facing problem to find sub screen (tab page screen ) in SAP from VBA code .
How to pass BDC Subscreen details from VBA code to SAP using below code?
BDCTABLE.Rows.Add
BDCTABLE.Cell(J, "PROGRAM") = PROGRAMNAME
BDCTABLE.Cell(J, "DYNPRO") = "0200"
BDCTABLE.Cell(J, "DYNBEGIN") = "X"
BDCTABLE.Cell(J, "FNAM") = "BDC_OKCODE"
BDCTABLE.Cell(J, "FVAL") = "=NEXT"
Thanks,
Sudhir Dure
9972097464can anyone tell me how to get the PurchaseOrder number and item quantity from the Salesorder...? what are the fields here as given below..??
For Each oItem In oSalesOrder.items
wsTemplate.Range(cols(3) & Indexv).Value = oItem.material.material
'wsTemplate.Range(cols(4) & Indexv).Value = ' I need item quantity here ????
wsTemplate.Range(cols(1) & Indexv).Value = sapSoNumber
wsTemplate.Range(cols(2) & Indexv).Value = ' I need purchase order number here>???
Indexv = (Indexv + 1)
Next
reply fast. please .. thanks -
SUP 2.0 Update operation Failing
Been banging my head against the wall with this all day:
I have an MBO that joins two tables together - sales_order_items and product - from the sampledb
I have an update operation that runs fine standalone, but fails to execute when I try to test it in the MBO test execute wizard.
here is the sql for the update:
UPDATE sales_order_items soi, product p
SET p.name = :name,
p.description = :description,
soi.quantity= :quantity,
soi.ship_date= convert(varchar, :ship_date, 121)
WHERE soi.prod_id = p.id
AND (soi.id = :id)
AND (soi.line_id = :line_id)
AND (p.name = rtrim(:old.name))
AND (p.description = rtrim(:old.description))
AND (soi.quantity = :old.quantity)
AND (soi.ship_date = convert(varchar, :old.ship_date, 121))
It is failing with the following (from the workspace debug window):
java.lang.RuntimeException: Failed to execute EISOperation.
at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:283)
at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:165)
at com.sybase.uep.tooling.eis.JdbcEISOperationImpl.execute(JdbcEISOperationImpl.java:190)
at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.getRecordSet(ExecuteSection.java:289)
at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.access$300(ExecuteSection.java:75)
at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection$3.run(ExecuteSection.java:192)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.sybase.vader.da.jdbc.MinCheckAffectedRowCountException
at com.sybase.vader.da.jdbc.JdbcCheckAffectedRowCount.execute(JdbcCheckAffectedRowCount.java:27)
at com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation.execute(PipelineCompositeInteractionOperation.java:55)
at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:265)
... 6 more
I read that the EIS data source and the MBO attributes need to have the same character length and I have confirmed that this is the case. Still failing.
Does anyone have any ideas on what the issue is?I'm getting exactly the same error.
What do you mean by a stored procedure? How do you pass the parameters from the UPDATE operation to the stored procedure?
Anyway I don't see why this is failing... It's an error known by Sybase, I found it here:
[http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01206.0200/doc/html/mqu1254774265030.html]
But I don't understand the explanation of the error that they give...
Can anybody help me?
Maybe you are looking for
-
Installation of Solaris 10 on HP dv6500t
Hi, I am looking at purchasing this laptop later this year to run Solaris 10. I searched through the HCL and I can't believe that there will be a good chance that I will be first. Here are the hardware specs I'm looking at: processor - Intel Core 2 D
-
Can servlet talk to a GUI?
Hi everybody, I am still new to java programming and I have a problem with a task and don't find any documentation on this specific subject. I have to write a program which is retrieving information from a database and displays this information in a
-
Is it possible to play Clash of Clans on an IPad and an IPhone but have 2 seperate games?
I have been playing clash of clans on the iPad for a while and my boyfriend wants to start one too on his iPhone - but they have the same Game Centre .. He downloaded the app and when it loaded it asked If he wanted to load the game from the IPad he
-
Error preverifying class javax.xml.soap.Node
Hi everybody, I want to send SOAP messages from a mobile phone. So I use the J2ME Wireless Toolkit 2.2 and the packages saaj-api.jar and dom.jar. But when I build the project, I always have that error: Error preverifying class javax.xml.soap.Node
-
Has anyone had the problem of the cursor moving while you are typing or the whole sentence being highlighted and then deleted while you are typing? I have been having this happen a lot and dont understand why. It happens a lot when I go to myspace.co