Hi Susan
For this use case, I would use IF statements in my script and only upload if the line is not blank. For scripts that are mapped to use in forms, you would enter a variable name, and that variable can be mapped to the same field in the form as the address line manually.
If formstreet4 is not empty then upload street4
When you import the updated script, you will see formstreet4 - but you can manually map that to street4 - the field you have visible on your form.
Then you'll only upload data if there is data in street4, otherwise you won't. You can do that for each line that could be blank.
Hope that gives you an idea.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
------------------------------
Original Message:
Sent: 02-24-2025 15:32
From: Susan Raatz
Subject: Address field 2,3, and 4
I have created a form to process ship to requests in SAP. Addresses can potentially take between 1-5 lines. However, if the ship to is less than 5 lines and I try to process the form it fails because it wants to see data in the other address fields. Is there any way I can bypass this or only make it applicable when necessary?
Err:Cursor field (ADDR1_DATA-STR_SUPPL3 Street 4) . SAPMF02D 7000 does not exist in the screen

Thank you,
Susan
------------------------------
Susan Raatz
Senior Data Admin
Pactiv Evergreen
Lake Forest IL
------------------------------