Passing sys_id between screens in Mobile App Builder (Need Spare Part → Spare Parts List)

RaoFahadA
Tera Contributor

Hi everyone 👋,

I’m working on a Mobile App Builder use case where a technician opens a record (ticket) and clicks a Need Spare Part button. This button redirects to the SAHL Spare Parts list screen, and I want to pass the current ticket’s sys_id to that screen so I can attach the selected spare parts to the correct parent record later.

Here’s what I’ve done so far:

  • Added a UI parameter named parent_sys_id (carried ).

  • Set the Function table to x_nah_nhc_cfm_nhc_community_facility_management (ticket table).

  • In Redirection destination fields, mapped:

    • Source field → sys_id

    • Destination UI parameter → parent_sys_id

    • Type → Field

  • On the Spare Parts list screen, added a UI parameter also named parent_sys_id with input type = Source field, input source = Auto fill, and carried = .

However, when I open the Need Spare Part function, it redirects correctly, but the parent_sys_id value is not appearing on the next screen (it seems undefined).

Can anyone guide me on:

  1. The correct configuration for passing a sys_id between screens in Mobile App Builder?

  2. Whether the List Screen should use a “Screen Parameter” or “UI Parameter”?

  3. How I can verify or debug that the parameter is being passed properly?

Thanks a lot in advance! 🙏
Fahad

 

1 REPLY 1

welcomegandhi
Tera Contributor

Hi i am also looking for same kind of configuration where i need to get 1 input field value named model when user select model in this screen and when submit the request it open the list screen if that particular record exists. Now We have button in over flow menu when user clicks from list screen it opens another input screen and there we want that it should auto populate the value of model user selected in 1 screen. Did you get the solution of your requirement it seems like we are also looking for similar solution.