Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

NWBC.exe Parameter Options

Former Member
0 Kudos

Hi,

Can someone point me in the direction of where I can find the parameter options for NWBC.exe? In particular, I am looking for a method of selectively starting NWBC.exe with different NwbcOptions.xml files.

In the SAPLogon world, "saplogon.exe /INI_FILE=" can be used to start saplogon with a ".ini" file of your choice. For example,

     saplogon.exe /INI_FILE="C:\ temp\MysaplogonA.ini"

     saplogon.exe /INI_FILE="C:\ temp\MysaplogonB.ini"

Similarly, in NWBC I'd like to be able setup two different shortcuts to NWBC.exe:

1. One shortcut that accesses our Production System with automatic SSO.

2. Another shortcut which presents a list of systems to chose from (i.e. our DEV and Test systems).

My understanding is the NwbcOptions.xml file contains the list of possible systems as well as a setting to indicate if an option should be automatically chosen (i.e. <AutologonMode>True</AutologonMode> ). I can create files named NwbcOptions-PROD_SSO.xml & NwbcOptions-All_Systems.xml, but how do I pass one of these files to NWBC as a parameter?

I am using NWBC version 4.0

Regards,
Richard.

1 ACCEPTED SOLUTION

claudia_binder
Participant
0 Kudos
Hi Richard,
NWBC is different from SAP GUI here; you cannot parametrize start-up to use different NwbcOptions.xml files.
With NWBC for Desktop (no matter whether you are using  v3.5 or 4.0), the solution would be as follows:
1. One shortcut that accesses our Production System with automatic SSO.
Create a NWBC desktop shortcut directly accessing the production system via startup URL, e.g.
You can find details about the syntax of this URL in the NWBC documentation, chapters 6.1 and 6.2
2. Another shortcut which presents a list of systems to chose from (i.e. our DEV and Test systems).
To support this case, the general desktop shortcut generated when you install the client  (pointing to NWBC.exe) can be used. Configuration should be set in a way that the system selector shows up when starting NWBC.
  • Either the user unchecks the "Hide System Selector on Startup" option in menu Settings > Personalize...
  • Or you as an administrator predefine this setting like you described above in the admin file NwbcOptions.xml (documentation chapter 3.5😞
    [...]
    <SingleOptions>
         <AutologonMode>false</AutologonMode>
         [...]
    </SingleOptions>
    [...]

Best regards,

Claudia

6 REPLIES 6

claudia_binder
Participant
0 Kudos
Hi Richard,
NWBC is different from SAP GUI here; you cannot parametrize start-up to use different NwbcOptions.xml files.
With NWBC for Desktop (no matter whether you are using  v3.5 or 4.0), the solution would be as follows:
1. One shortcut that accesses our Production System with automatic SSO.
Create a NWBC desktop shortcut directly accessing the production system via startup URL, e.g.
You can find details about the syntax of this URL in the NWBC documentation, chapters 6.1 and 6.2
2. Another shortcut which presents a list of systems to chose from (i.e. our DEV and Test systems).
To support this case, the general desktop shortcut generated when you install the client  (pointing to NWBC.exe) can be used. Configuration should be set in a way that the system selector shows up when starting NWBC.
  • Either the user unchecks the "Hide System Selector on Startup" option in menu Settings > Personalize...
  • Or you as an administrator predefine this setting like you described above in the admin file NwbcOptions.xml (documentation chapter 3.5😞
    [...]
    <SingleOptions>
         <AutologonMode>false</AutologonMode>
         [...]
    </SingleOptions>
    [...]

Best regards,

Claudia

0 Kudos

Hi Claudia,

Just to add to Richard's request; it is painful not having an option to use here. e.g. Within Citrix we have an option at my client to let people single sign-on directly to production; and the default set-up for the configuration here is to have auto logon on - but we also want to enable support people to have to select a system when they access the NWBC Citrix to ensure they don't accidentally log into production (note - we're hoping to use theming to help them distinguish betwen production and non-production but that's a few months away).

I'm sure it could all be figured out, but when you have a separation between desktop support (a.k.a. rollout of software) and your SAP team; management of XML files and associated testing, does make this hard to just get it sorted and a quick nwbc.exe parameter would be great. e.g. Infrastructure vendors just want to know - what's the url, or what's the executable path and parameters.

Cheers,

Matt

former_member193202
Participant
0 Kudos

hi richard, 

do you have an idea is it possible to genereate a link for starting nwbc that it uses an active nwbc-sessions , comparable to sapgui-shortcuts? would be useful for links sending per email and starting a transaction or wda in an active running nwbc?

kind regards oliver

0 Kudos

Currently, this is not possible. But a way to open an application within an NWBC window hosting the same connection is definitely a top feature candidate for a next NWBC for Desktop version

0 Kudos

this would be definitely important for us, as so it is a disadvantage comparing to sapgui-links and as always, user don't wanna loose comfort they are familiar with 😉

0 Kudos

Are there any news on this topic? We also need a solution for using an existing nbwc-session when opening a link from email.