--- title: "Create Login Request (Integration function)" slug: "de-lobster-scm-base-authentication-create-login-request-filter" updated: 2026-04-29T09:38:09Z published: 2026-04-29T09:38:09Z canonical: "docs.lobstersoftware.com/de-lobster-scm-base-authentication-create-login-request-filter" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Create Login Request (Integration function) The [Create Login Request (Integration function)](/v1/docs/en/de-lobster-scm-base-authentication-create-login-request-filter) function creates the XML structure for a [Integration login](/v1/docs/en/base-lobster-data-login-request) object (`LobsterDataLoginRequest`) based on the specifications for parameters (**b** to **e**) and saves it in the variable with the name defined in parameter **a**. - For example, an [ImportResponder (Responder)](/v1/docs/en/de-lobster-scm-edi-import-responder) (in the field "Additional parameters") can refer to this variable to define the login context for an [Import](/v1/docs/en/orchestration-integration-import). - The [Import (Integration function)](/v1/docs/en/de-lobster-scm-dw-filters-scm-import-filter) function also provides a separate parameter for a [Integration login](/v1/docs/en/base-lobster-data-login-request) object to which this variable can be assigned as a source. ![images/download/attachments/201673980/image2020-10-19_19-48-15-version-1-modificationdate-1747043925452-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-10-19_19-48-15-version-1-modificationdate-1747043925452-api-v2.png) ## Parameters | Parameter | Description | Example | Note | | --- | --- | --- | --- | | a | Name of the variable in which the [Integration login](/v1/docs/en/base-lobster-data-login-request) XML is to be saved. | `var__SCM_Login_Request` | This parameter must be assigned the name of the variable as a text value (typically a static assignment with parameter type "#"). **CAUTION****:** In conjunction with parameter type "%", the specified variable name would be defined as the *source* of the text value defining the name of the *target* *variable*. This is usually not effective. However, a temporary change to the parameter type "%" can be helpful if an existing variable is to be selected by dropdown. Afterwards, the parameter type must be set to "#" again so that the selected variable name is assigned as a static text value at runtime. | | b | User name (`username`) of a user (see [Users](/v1/docs/en/base-user)) *Standard:* `MSG_CALL_SCM_User_username` | `jabend` | As in the login dialog, the identification of the user account is case-sensitive. Without an assignment for this parameter, the value of the metadata variable `MSG_CALL_SCM_User_username` is used, which is automatically preset when a profile is called from **Lobster Data Platform/Orchestration**. | | c | ID (`id`)or name (`roleName`) of a role (see [Roles](/v1/docs/en/base-role)) *Standard:* `MSG_CALL_SCM_Role_id` | `Administrator` `101` | The identification of a role by name is case sensitive. Without an assignment for this parameter, the value of the metadata variable `MSG_CALL_SCM_Role_id` is used, which is automatically preset when a profile is called from **Lobster Data Platform/Orchestration**. | | d | ID (`id`) or name 1 (`address.Name1`) of a company (see [Companies/Clients](/v1/docs/en/base-company-account)) *Standard*: `MSG_CALL_SCM_Company_id` | `Smart Logistics AG` `51` | Either the ID of a company or the exact name of the field "Name 1" in the company account can be entered. Without an assignment for this parameter, the value of the metadata variable `MSG_CALL_SCM_Company_id` is used, which is automatically preset when a profile is called from **Lobster Data Platform/Orchestration**. | | e | Determines whether the check of the selection of company and role (via parameter **c** and **d**) against the `companies` and `roles` assigned to the user account identified via parameter **d** should be dropped. *Standard:* `false` ("Check will take place"*)* | `true` `false` | With the value `true` the specified login context is accepted regardless of existing assignments for [Companies/Clients](/v1/docs/en/base-company-account) and [Roles](/v1/docs/en/base-role) in the referenced user account. Otherwise, (e.g. with the value `false` or if no value is assigned), a check of company and role against the referenced user account takes place when the [Integration login](/v1/docs/en/base-lobster-data-login-request) is processed at runtime. If a referenced company or role is then not "legitimized" in the referenced user account, an error occurs. However, this check does not take place when calling the function [Create Login Request (Integration function)](/v1/docs/en/de-lobster-scm-base-authentication-create-login-request-filter). | ## Example A profile call from **Lobster Data Platform/Orchestration** should, among other things, cause the deletion of certain entities via [Batch import](/v1/docs/en/core-batch-import), which should be executed with a login in the role "Super User" (with ID 1), so that the deletion can be executed reliably regardless of ownership and role permissions. Under certain circumstances, the same [Batch import](/v1/docs/en/core-batch-import) may also create new entities for which a specific company from the existing hierarchy ("ACME Holding Ltd.") must be assigned as `ownerId`. At the same time, the user in whose context the profile was called up should be traceable, e.g. as "creator" (`creatorId`) of the added entities. Configuration: In the target structure of the profile the function [Create Login Request (Integration function)](/v1/docs/en/de-lobster-scm-base-authentication-create-login-request-filter) is parameterized in a calculation field as follows: ![images/download/attachments/201673980/image2020-10-19_19-50-36-version-1-modificationdate-1747043925454-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-10-19_19-50-36-version-1-modificationdate-1747043925454-api-v2.png) - The parameter **a** identifies the name of a variable in which the [Integration login](/v1/docs/en/base-lobster-data-login-request) is to be stored as `var__RUNAS_SUPERUSER_HOLDING`. - The parameter **b** is not assigned, so that the logged-in user is taken from the variable `MSG_CALL_SCM_User_username`, which was initialized with the profile call. - The parameter **c** identifies the role "Super User" via the internal ID 1. - The parameter **d** references the exact name (`address.name1`) of an existing company account. - The parameter **e** with the value `true` ensures that there is no check as to whether or not the same user could interactively log in as "Super User" in the context of "ACME Holding Ltd". In the response path set up for the [Import](/v1/docs/en/orchestration-integration-import), the [ImportResponder (Responder)](/v1/docs/en/de-lobster-scm-edi-import-responder) refers to the variable set in the mapping: ![images/download/attachments/201673980/image2020-10-19_19-51-49-version-1-modificationdate-1747043925456-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-10-19_19-51-49-version-1-modificationdate-1747043925456-api-v2.png)