2008 Jul 02 6:57 AM
Hi, all
I call BAPI_GOODSMVT_CREATE in my message flow through SAP adapter node.
Here is the xml format BO created in ESQL,
<NS1:SapbapigdmvcrtWrapper xmlns:NS1="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapbapigdmvcrtwrapper">
<SapBapiGoodsmvtCreate>
<SapGoodsmvtHeader>
<PstngDate>2008-07-02</PstngDate>
</SapGoodsmvtHeader>
<SapGoodsmvtCode>
<GmCode>03</GmCode>
</SapGoodsmvtCode>
<SapGoodsmvtItem>
<Material>PWRPACK52</Material>
<Plant>1000</Plant>
<StgeLoc>0001</StgeLoc>
<MoveType>201</MoveType>
<EntryQnt>33.000</EntryQnt>
<EntryUom>PC</EntryUom>
<EntryUomIso>PCE</EntryUomIso>
<Costcenter>1000</Costcenter>
</SapGoodsmvtItem>
</SapBapiGoodsmvtCreate>
</NS1:SapbapigdmvcrtWrapper>
By switch on user trace on broker, I got the message that the request bo is not correct.
But I can running BAPI_GOODSMVT_CREATE function without error in SAP GUI function builder test with same input data.
The only thing I am not sure is the posting date, for ESQL messageset, it's defined as DATE, I populated it by CURRENT_DATE function. But in the funtion builder test GUI, I input it as 02.07.2008 format. Is this the problem?
Hi, all
I call BAPI_GOODSMVT_CREATE in my message flow through SAP adapter node.
Here is the xml format BO created in ESQL,
<NS1:SapbapigdmvcrtWrapper xmlns:NS1="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapbapigdmvcrtwrapper">
<SapBapiGoodsmvtCreate>
<SapGoodsmvtHeader>
<PstngDate>2008-07-02</PstngDate>
</SapGoodsmvtHeader>
<SapGoodsmvtCode>
<GmCode>03</GmCode>
</SapGoodsmvtCode>
<SapGoodsmvtItem>
<Material>PWRPACK52</Material>
<Plant>1000</Plant>
<StgeLoc>0001</StgeLoc>
<MoveType>201</MoveType>
<EntryQnt>33.000</EntryQnt>
<EntryUom>PC</EntryUom>
<EntryUomIso>PCE</EntryUomIso>
<Costcenter>1000</Costcenter>
</SapGoodsmvtItem>
</SapBapiGoodsmvtCreate>
</NS1:SapbapigdmvcrtWrapper>
By switch on user trace on broker, I got the message that the request bo is not correct.
But I can running BAPI_GOODSMVT_CREATE function without error in SAP GUI function builder test with same input data.
The only thing I am not sure is the posting date, for ESQL messageset, it's defined as DATE, I populated it by CURRENT_DATE function. But in the funtion builder test GUI, I input it as 02.07.2008 format. Is this the problem?
2008 Jul 02 7:04 AM
Hi
Try passing the date in the format YYYYMMDD . Hope this will work.
2008 Jul 02 7:47 AM
Change the data format to YYYYMMDD also doesn't work.
And changed the user profile data format dd.mm.yyyy to yyyy-mm-dd, still remain bo xml input date yyyy-mm-dd, still doesn't work.
;-(
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |