Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAP BAPI - Packed Binary

Status
Not open for further replies.

PWarwick

Programmer
Nov 13, 2007
11
GB
Hi,

I am using Websphere Transformation Extender 8.1.0.2 in conjunction with Websphere Transformation Extender Pack for SAP R/3 version 7.5(64).

I have used the Importer Wizard of the Type Designer to create a type tree that represents a SAP BAPI. The type tree was automatically generated using the "Import from BAPI" option of the Importer wizard. I have not modified the generated type tree.

I can successfully call the SAP BAPI via WTX and the SAP adapter but there is one field that does not get processed correctly.

The field is defined within the type tree as Number, Interpret As Binary, Presentation=Packed, Length=7, Implied Places=3, Signed=Yes (Value=Trailing -).

I have had a look at the output file associated with the output card (that calls the BAPI) and it "look's OK" (e.g. 303 is displayed as 03 03 00 0F).

The BAPI is called successfully but the packed binary field is interpreted as 0 (zero).

Has anyone else had a similar problem??

Thanks.
 
Is it generating the full output - 00 00 00 03 03 00 0F?
 
Many thanks for your reply janhes. I appreciate you taking the time to reply.

I've since discovered that the problem was not with the WTX-SAP adapter itself. I should have been populating a different combination of BAPI fields to get the correct data into the desired target location within SAP.

Case closed :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top