Automate

 View Only
  • 1.  Address field 2,3, and 4

    Posted 02-24-2025 15:32

    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
    ------------------------------


  • 2.  RE: Address field 2,3, and 4

    Posted 29 days ago

    I see only 4 street lines on your form, but won't be a problem to add an if statement in front of street 3 and or 4 if you know your specific sap customizing. I guess street 3 /4 will be shown in sap either based on your account group or country. 



    ------------------------------
    Rick Compen
    Data Engineer
    Lumileds Netherlands B.V.
    Eindhoven
    ------------------------------



  • 3.  RE: Address field 2,3, and 4

    Posted 29 days ago

    Hi Susan,

    As you describe the use of address lines to be potential, I consider it not as mandatory from SAP. Therefore the issue is to be expected in your script. Have you tested the script with the "stop on error" (1) option? SAP will show you where the script is stopped and which action is expected. It might be an issue with an OK-code 

    secondly you can try to fill the fields which are required to skip with a backslash (or any character you have entered at the Skip indicator (2)).



    ------------------------------
    Ronald Vlasveld
    Master Data Specialist
    Industrie- en Handelsonderneming Vreugdenhil B.V.
    ------------------------------



  • 4.  RE: Address field 2,3, and 4

    Employee
    Posted 27 days ago

    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.
    ------------------------------