Skip to content

Malformed 'P' type field data #19

@t-perry

Description

@t-perry

I am trying to use RSAPReadTable to extract material information from SAP (Table MARC) and one of the fields required is LGRAD, which is a P of length 3.
MARC-LGRAD

The problem I am getting is the value is always returning as 0.
image

I have checked in SAP transaction and MM03 for the first row in the above image and the Service Level (LGRAD) field is set to 99.0

So I dug into the data with RSAPInvoke, I can see that the field is actually being returned with a *.0 or 0.0 value which the number handling in RSAPReadTable is correcting to 0.
image

I have a feeling that this is because the length is 3 but the value actually has a character length of 4.. but I wouldn't have a clue how to potentially address this or even if it is in RSAP or in RFC_READ_TABLE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions