Skip to Content
avatar image
Former Member

Field values are blank in PO form after changes are made

Hello,

I have created a Purchase Order form in SFP (Form Builder) using the MEDRUCK_PDF interface. After I create a purchase order in ME21N and click Print Preview, most of the fields populate. I have Item number, Material number, and Order Qty to name a few. Two new fields I have added, Order Number, KOMK-AUFNR, and Material Group, EKPO-MATKL, don't populate even at creation.

If I go back and make changes to the form in ME22N, when I click Print Preview, several of the fields that originally had values are now blank in the preview and also when the form is printed.

Is there a setting in SFP that needs to be set so the data will be retained after changes are made?

Thanks,

Chris

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 22, 2016 at 03:33 PM

    In the Include program FM06PE03, in the form adobe_entry_neu, there is code that checks if

    nast-aende EQ space. It's a change message flag. If it is blank, meaning it's a newly created record, all the data will be shown in Print Preview. However, if it is checked, then the program checks NAST for the latest change to the document and only shows recently changed data.

    I have no idea why anyone thinks this is a good idea.

    So, to get around this rather odd "functionality", I put in an Enhancement point to clear this field,

    nast-aende, every time.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2016 at 12:51 PM

    Hi,

    in Interactive Forms the collection of data and the layout/context should be separated.

    So I would guess that the data doesn't get passed to the form. (And therefore, the problem shouldn't be in transaction SFP, but in the print program). You can verify that by activating the trace for the form via SFP and check if the fields are populated in the XFD.xml file.

    Maybe the message you are trying to print is a change message?

    Best regard,

    Rebekka

    Add comment
    10|10000 characters needed characters exceeded