341 SAP Message of Class UPB Object &4, layout &3: Variable &1 available in other layouts is missing











341(UPB) - Object &4, layout &3: Variable &1 available in other layouts is missing

Message number 341 of class UPB is used to display message "Object &4, layout &3: Variable &1 available in other layouts is missing" and can be triggered using the following ABAP code:

DATA: lv_val1(100) TYPE C.
lv_val1 = '123'.

    MESSAGE E341(UPB) WITH lv_val1. "Error message example

    MESSAGE W341(UPB) WITH lv_val1. "Warning message example

    MESSAGE I341(UPB) WITH lv_val1. "Information message example
See here for more options


What causes this issue

Variable &1 is used in some layout headers of the planning folder. It
does not occur in layout &3 of planning object &4. Since header areasof layouts are not used when executing the folder, the data of thelayout can be easily misinterpreted.This warning is not displayed when executing the folder.

System Response



How to fix

There are several possibilities.
,,1) Include variable &1 in the header are of layout &3.
,,2) Remove variable &1 from the header areas of the other layouts of
the folder,,3) If this layout Customizing is intended, then the labeling of the
layout object should ,,consider,, this by way of explanation.In most cases it makes sense if the header areas of all layouts used
are identical, since the headers are not displayed. If it is necessaryor desired to use a folder with layouts with some differentcharacteristics or characteristic values, this should be noted in thetexts and quick infos of the layouts (for example: The input areacontains one layout per region to be planned and an output area with alayout that aggregates over all regions).
&SYS_ADMIN&

Message text extract from SAP system. Copyright SAP SE.


Return to Message Class UPB main page



Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!