ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Failed to set attribute for object in SAP BAPI call

Post new topic  Reply to topic
 Failed to set attribute for object in SAP BAPI call « View previous topic :: View next topic » 
Author Message
petervh
PostPosted: Wed Dec 12, 2007 6:29 am    Post subject: Failed to set attribute for object in SAP BAPI call Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 31

I'm trying to call a BAPI routine in SAP from Message Broker. It looks like the call is OK:



    <StartHeader>
    <Version = 3.0>
    <EndHeader>
    <StartBO:sap_z_cust_statement>

    BusinessObject = sap_z_cust_statement
    Verb = Create
    Locale = en_US

    DATUM = 10.12.2007
    KUNNR = 13882
    NAME1 = FRED
    ORT01 = CT
    <StartChild>
    sap_zbsad = CxBlank
    <StartBO:sap_zbsad>
    <EndBO:sap_zbsad>
    <EndChild>
    <StartChild>
    sap_zbsid = CxBlank
    <StartBO:sap_zbsid>
    <EndBO:sap_zbsid>
    <EndChild>
    ObjectEventId = CxIgnore

    <EndBO:sap_z_cust_statement>]
    [Time: 2007/12/12 13:58:59.882] [System: ConnectorAgent] [SS: SAPConnector] [Thread: SAP47PHL/REQUESTQUEUEJmsThreadPool.thread5 (#664100295)] [Type: Trace] [Mesg: :[Type: Info] [MsgID: 24001] [Mesg: New instance of module class: " com.crossworlds.connectors.sap.bapimodule.BapiBOHandler " has been created.]



But then I get a meesage in the replytoqueue as follows:



    <?xml version="1.0" encoding="UTF-8"?>
    <?CWRSD status="-1" description="[Type: Error] [MsgID: 27007] [Mesg: Failed to set Attribute for Object: sap_z_cust_statement; AttrName: DATUM; AttrValue: 10.12.2007; App Spec Info: IDATUM:.] "?>
    <Q1:sap_z_cust_statement..xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/sap_z_cust_statement" version="3.0.0" verb="Create" locale="en_US" delta="false">
    <Q1:DATUM>10.12.2007</Q1:DATUM>
    <Q1:KUNNR>13882</Q1:KUNNR>
    <Q1:NAME1>FRED</Q1:NAME1>
    <Q1:ORT01>CT</Q1:ORT01>
    </Q1:sap_z_cust_statement>



What attribute is not being set and where do I need to set it?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Failed to set attribute for object in SAP BAPI call
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.