LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  SAP error when trying to access MARD table with ERPAquisitionHelper node

    Employee
    Posted 07-20-2015 05:17

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: dhrobertson

    Hi,

    I am extracting data from a number of tables in SAP. I have managed to extract from all the tables (10 or so) except 1.

    when I try and pull anything back from MARD table I get the following SAP error:

    Error in ASSIGN assignment in program SAPLSDTX

    ASSIGN_BASE_WRONG_ALIGNMENT

    Any ideas on how I can solve this?

    thanks

    Douglas


  • 2.  RE: SAP error when trying to access MARD table with ERPAquisitionHelper node

    Employee
    Posted 07-20-2015 05:30

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hi,

    I think this might just be a problem with the RFC_READ_TABLE function that the node uses by the looks.
    From the thread here: https://scn.sap.com/thread/451211

    There are a few comments around this, with one of them :
    I remember something like that: If the table contains floating point fields and/or one or more of the systems involved is running on unicode, this happens.

    There isn't really any good way to just dump table data from SAP without writing your own functions unfortunately.
    This node uses the RFC_READ_TABLE function, but it isn't supported by SAP and has limitations - which is why these helper libraries aren't supported by Lavastorm.
    What you could do is attempt to write your own version of RFC_READ_TABLE, and set the RFC_READ_TABLE_Alternative parameter to the name of the function name.
    Otherwise, you would have to try & solve your problem using your own BAPIs or those provided with the SAP system I think.

    Tim.