Using /1BCDWB/DOCPARAMS - LANGU in Interface coding initialization

Hello,
I have build an pdf interactive offline form using a DDIC form interface. I am using this interface (FM) in my print report like
call function module fm_name
exporting
  /1BCDWB/DOCPARAMS
One important parameter of /1BCDWB/DOCPARAMS that is filled in my print  report is obviously LANGU.
As you know you can have alternative language in AIF that are used when the LANGU isn't available. (REPLANGU1, REPLANGU2 and REPLANGU3)
The challenge I am currently struggeling with is, how to get these information in my "coding initialization" part of my interface.
Either I would like to have the langu variable of /1BCDWB/DOCPARAMS or even better the final language that is used to create the pdf form.
I have tried to use /1BCDWB/DOCPARAMS-LANGU directly in my coding initialization and I have tried to define /1BCDWB/DOCPARAMS as an input parameter of the coding initialization (as all the other import parameters).
However, when I try to activate it gives me the error that /1BCDWB/DOCPARAMS is unkown.
Do you have an idea how to get the pdf language in the coding initialization?
BR
Carsten

Hi,
To display form in login language refer below code...and To change the form element labels you do need to translate the form in different languages use t-code se63.
data : LW_SFPDOCPARAMS type SFPDOCPARAMS.
LW_SFPDOCPARAMS-LANGU  =  SY-LANGU.
CALL FUNCTION 'XXXXXXXXXXX'
  EXPORTING
   /1BCDWB/DOCPARAMS        = LW_SFPDOCPARAMS
other parameters..........

Similar Messages

  • How to pass parameter /1BCDWB/DOCPARAMS from webdynpro?

    Hi Experts,
    We create a wdp view and indert an adobe form into it. And this form has an interface based on XML schema.
    Now we want to translate this form into multi-language, and in wdp side, we will display diffenent language version of form for different regions.
    I found that there is a paramater /1BCDWB/DOCPARAMS-LANGU, and it seems can control the language version in processing.
    But I donot know how to pass parameter /1BCDWB/DOCPARAMS from wdp to adobe form.
    Its my 1st to use adobe form and wdp, i really have no way out. Any advice will be Appreciated.
    Thank you.
    Richard

    @sahai: Hey no , I am using very very simple example without any query or complex statement. I just have 2 radio buttons in VIEW1. On clicking the radio button, the naviagtion to view2 is done and the value of selected radio button is passed as a parameter in the plug.
    In the view2 , i just have a caption in my layout where i am displaying the parameter value by setting the attribute.THe warning i get is in view2. Here is the code. Apart from this there is no coding in view2.
    METHOD HANDLEPLUG_IN_V2 .
        DATA:
          NODE_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_CAPT_MSG                       TYPE IF_VIEW2=>ELEMENT_CAPT_MSG ,
          ITEM_MSG                            LIKE STRU_CAPT_MSG-MSG.
    *   navigate from <CONTEXT> to <CAPT_MSG> via lead selection
        NODE_CAPT_MSG = WD_CONTEXT->GET_CHILD_NODE( NAME = `CAPT_MSG` ).
    *   get single attribute
        NODE_CAPT_MSG->SET_ATTRIBUTE(
          EXPORTING
            NAME =  `MSG`
            VALUE = PAR_1 ).
    ENDMETHOD.

  • I'm having an intermittent problem with my midi controllers triggering Mainstage 3. I'm using a PreSonus Firebox audio interface. It's been working fine for months, but now when I first turn on the computer in the morning , I'm not able to trigger Ma

    I’m having an intermittent problem with my midi controllers triggering Mainstage 3.
    I’m using a PreSonus Firebox audio interface.
    It’s been working fine for months, but now when I first turn on the computer in the morning , I’m not able to trigger MainStage from the keyboard.  I tried different midi controllers, different keyboards, different midi cords, and check midi preferences.  The audio interface is working fine and is recogonized, but the midi doesn’twork.  I re-started the computer several times and then finally it miraculously starts working again.
      I’ve been having to this every day now.  Any help or ideas is very much appreciated.

    I Had the same problem with a FireStudio. Try unplugging the FireWire plug and the power plug. Wait for a few seconds, then plug both back in. The light on my FireStudio was flashing blue/red which means "not connecting." I did what I just described, and everything works again. Hope it works for you.

  • How to use a case ststement in interface?

    how to use a case statement in interface?
    My requirement is in interface for one column for
    Eg: In source column if a.b=c.d then i need to write as "Source"
    else when a.c=d.e then i need to write as "Target".
    please can you help in solving this.
    Regards,
    Sridhar

    You will literally write in the "Implemenation", the following:
    Case when a.b=c.d then "Source"
    Else
    "Target"
    End

  • How to use to use rank over() function in block coding

    Hi,
    I am having problem with using rank () over function in block coding. I can't use it in declaration section with select statement.
    How to use in executable section of pl sql ?
    --Sujan                                                                                                                                                                                                                                                                                                                                                                                                           

    thanks

  • How can I use a variable for an interface log and error fle

    I want to use a variable for the interface's log and error file so that when I migrate from Dev to QA to Prod I don't have to do a lot of editing.
    Specifically on the "flow" tab for the "target", I want a variable to be the first part of the path for the log (\\sundev1\fnd1-hypd1) and join this with the rest (\update\log\logfile.log) within the LOG_FILE_NAME field.
    Thank you!

    Hi,
    It is quite simple....
    just use the <%=odiRef.getSchemaName("D")%> before the file name and configure both path in the topology linked to each context.

  • Using journalized data in an interface with aggragate function

    Hi
    I am trying to use the journalized data of a source table in one of my interfaces in ODI. The trouble is that one of the mappings on the target columns involves a aggregate function(sum). When I run the interface i get an error saying "not a group by expression". I checked the code and found that the jrn_subscriber, jrn_flag and jrn_date columns are included in the select statement but not in the group by statement(the group by statement only contains the remiaining two columns of the target table).
    Is there a way around this? Do I have to manually modify the km? If so how would I go about doing it?
    Also I am using Oracle GoldenGate JKM (oracle to oracle OGG).
    Thanks and really aprreciate the help
    Ajay

    'ORA-00979' When Using The ODI CDC (Journalization) Feature With Knowledge Modules Including SQL Aggregate Functions [ID 424344.1]
         Modified 11-MAR-2009 Type PROBLEM Status MODERATED      
    In this Document
    Symptoms
    Cause
    Solution
    Alternatives :
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Oracle Data Integrator - Version: 3.2.03.01
    This problem can occur on any platform.
    Symptoms
    After having successfully tested an ODI Integration Interface using an aggregate function such as MIN, MAX, SUM, it is necessary to set up Changed Data Capture operations by using Journalized tables.
    However, during execution of the Integration Interface to retrieve only the Journalized records, problems arise at the Load Data step of the Loading Knowledge Module and the following message is displayed in ODI Log:
    ORA-00979: not a GROUP BY expression
    Cause
    Using both CDC - Journalization and aggregate functions gives rise to complex issues.
    Solution
    Technically there is a work around for this problem (see below).
    WARNING : Oracle engineers issue a severe warning that such a type of set up may give results that are not what may be expected. This is related to the way in which ODI Journalization is implemented as specific Journalization tables. In this case, the aggregate function will only operate on the subset which is stored (referenced) in the Journalization table and NOT over the entire Source table.
    We recommend to avoid such types of Integration Interface set ups.
    Alternatives :
    1.The problem is due to the missing JRN_* columns in the generated SQL "Group By" clause.
    The work around is to duplicate the Loading Knowledge Module (LKM), and in the clone, alter the "Load Data" step by editing the "Command on Source" tab and by replacing the following instruction:
    <%=odiRef.getGrpBy()%>
    with
    <%=odiRef.getGrpBy()%>
    <%if ((odiRef.getGrpBy().length() > 0) && (odiRef.getPop("HAS_JRN").equals("1"))) {%>
    ,JRN_FLAG,JRN_SUBSCRIBER,JRN_DATE
    <%}%>
    2. It is possible to develop two alternative solutions:
    (a) Develop two separate and distinct Integration Interfaces:
    * The first Integration Interface loads data into a temporary Table and specify the aggregate functions to be used in this initial Integration Interface.
    * The second Integration Interfaces uses the temporary Table as a Source. Note that if you create the Table in the Interface, it is necessary to drag and drop the Integration Interface into the Source panel.
    (b) Define two connections to the Database so that the Integration Interface references two distinct and separate Data Server Sources (one for the Journal, one for the other Tables). In this case, the aggregate function will be executed on the Source Schema.
    Show Related Information Related
    Products
    * Middleware > Business Intelligence > Oracle Data Integrator (ODI) > Oracle Data Integrator
    Keywords
    ODI; AGGREGATE; ORACLE DATA INTEGRATOR; KNOWLEDGE MODULES; CDC; SUNOPSIS
    Errors
    ORA-979
    Please find above the content from OTN.
    It should show you this if you search this ID in the Search Knowledge Base
    Cheers
    Sachin

  • When to use abstract classes instead of interfaces with extension methods in C#?

    "Abstract class" and "interface" are similar concepts, with interface being the more abstract of the two. One differentiating factor is that abstract classes provide method implementations for derived classes when needed. In C#, however,
    this differentiating factor has been reduced by the recent introduction of extension methods, which enable implementations to be provided for interface methods. Another differentiating factor is that a class can inherit only one abstract class (i.e., there
    is no multiple inheritance), but it can implement multiple interfaces. This makes interfaces less restrictive and more flexible. So, in C#, when should we use abstract classes
    instead of interfaces with extension methods?
    A notable example of the interface + extension method model is LINQ, where query functionality is provided for any type that implements IEnumerable via
    a multitude of extension methods.

    Hi
    Well I believe Interfaces have more uses in software design. You could decouple your component implementing against interfaces so that
    you have more flexibility on changing your code with less risk. Like Inversion of Control patterns where you can use interfaces and then when you decide you can change the concrete implementation that you want to use. Or other uses for interfaces is you could
    use Interceptors using interfaces (Unity
    Interceptor) to do different things where not all of these is feasible or at least as straightforward using abstract classes.
    Regards
    Aram

  • Photobooth crashes every single time when using Motu Hybrid MK3 audio interface?

    Photobooth crashes every single time when using Motu Hybrid MK3 audio interface.
    It is happening on my late 2013 IMAC, and also on my old 2011 Macbook pro.

    Same thing here with Mavericks and M-Audio Fast Track Ultra.  Very easy to reproduce, Apple. Set your audio interface for the external device, try to record Photo Booth video. It will crash. Every. Single. Time. Always.

  • Load Balancing using Virtual IP on DMZ interface of 5520 ASA

    We want to achieve a load balancing scenario using Virtual IP on DMZ interface on a Cisco ASA 5520.
    The IPs we are going to use on DMZ are 10.15.1.2 and 10.15.1.3
    These IPs are going to be NATted to all inside IPs.
    Lets say our outside IP is X.X.X.X
    This IP points to 10.15.1.2 and 10.15.1.3 with .2 being the primary and .3 being the secondary.
    When I hit the outside IP, it should point me to .2 and that .2 should take me to the inside IPs.
    I need configuration assistance with that.

    Hi Pratik,
    The ASA does not support having 1 global/translated IP address on the outside mapped to multiple local/real IP addresses on the DMZ. If it did, the ASA would have no way of deciding if traffic destined to X.X.X.X is really meant for 10.15.1.2 or 10.15.1.3. For this scenario, you should use a dedicated load balancer or a router that supports policy-based routing.
    -Mike

  • Why do we use init() method instead of constructor to initialize a servlet?

    Why do we use init() method instead of constructor to initialize a servlet?

    I suspect the reasons are partly historical. A servlet is loaded dynamically, by class name and, once you've loaded the Class, it's easier to to a newInstance, using the default construtor than it is to search for a particular matching constructor and invoke it.

  • How to use third party usb 485 interface

    I have a third party usb-485 interface that we frequently use within our company and want to be able to use Labview to create a program to talk to our systems. The interface is a kk systems usb-rs485 isolated converter which I have been able to recognise in MAX explorer after using the NI VISA driver wizard but I am unsure how to now use it for 485 comms within Labview. I don't seem to be able to detect it with the VISA configure serial port vi. I have used the NI usb-485 interface before and found this quite easy to set up but am not sure how to use this third party interface. I have attatched screen shots of the MAX window to show what it is seeing. Any help would be greatly appriciated.
    Attachments:
    MAX usb 485 screen shot.PNG ‏102 KB
    MAX usb 485 screen shot2.PNG ‏120 KB

    I have undone everything as recommended and the comm port does appear in the devices tree but when I try to use the device I don't seem to be able to get any response even though I can select the port as the VISA device name in my vi. I am pretty sure I have the baud rate etc.set the same as when we use the interface in other software,is there something else I need to do? I am using the rs485 example in labview as my code which works with the ni-usb485 we have. 

  • Generic Extractor using Function module with Complex Interface

    Hi,
    Has anyone created Generic extractor using Function module with Complex Interface?
    What is the difference between Complex and Simple interface in Function module?
    Pls explain.
    Thanks,
    Gopal

    Hi,
    Go through this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    GTR

  • When to use abstract class compared to interface

    hi
    can some one plase advise me when to use abstract class compared to interface?
    Example will be appreciated...

    So an abstract class can carry implementation. This can be used to formulate a rule of thumb as to when to use it over an interface.
    If you have a so called type specialization relationship between the subtypes and the supertype then they're likely to benefit from shared implementation provided by the supertype, so use class (abstract or concrete) extension in this case. Type specialization is when the supertype represents a general concept like Fruit and the subtypes are specialized forms of that like Apple and Banana.
    Another common kind of relationship is called type expansion. In this case the subtypes are unlikely to have any use of implementation provided by the supertype, so use interface implementation. Type expansion is when the supertype represents a specific character the subtypes take on. For example Apple and Bicycle ure unrelated in the type specialization sense but still can share a common character like Comparable. The subtypes have been expanded to include the supertype character, namely the ability to be compared.

  • Use of static refrence of interface

    Hi friends,
    One of my program i have got a doubt. I just want to know that what is the use of static refernce of interface. I am just giving sample code. any body could tell me how is it possible?
    public interface X{
    public void m1();
    public void m2();
    I don't know where this interface has been implemented. I taken the assumption that inteface has been implemented by the Class Y.
    Now in other class I am just creating static reference of the interface as below.
    Class B{
    static X x1;
    x1.m1(); // is valid code?
    if i is valid code, what is the purpose of this? If call method x1.m1() which method will collected?
    I am in the troble? any help would apriciated.
    Thanks in advance.
    regards & thanks.
    vijaysekhar.vn

    [ code ] [ / code ]
    public interface X{
    public void m1();
    public void m2();>
    Class B{
    static X x1;
    x1.m1(); // is valid code?
    if i is valid code, Static has nothing to do with it. As for whether it is valid code, what does your compiler tell you?
    what is the purpose of this?To have class B use functionality without depending on knowing the concrete type implementing interface X.
    If
    call method x1.m1() which method will collected?Be called, you mean? The m1 in the concrete implementing class of the object x1 is pointing to. Say you have two implementations of interface X: Y and Z. If x1 was initialized with a new Y(), Y's m1. If x1 was initialized with a new Z(), Z's m1.
    I am in the troble? Does it feel like you are? :-)

Maybe you are looking for

  • How to use lexical parameter in report

    i want to use lexical parameter in report and pass parameter from form how it is possible in detail A.R

  • Extracting Purchase doucument Item condition value (Urgent)

    Hi Gurus, Currently, I am extracting purchase order item level data using 2lis_02_itm DS in which the extract structure is modified with fields which are fetching data from Condition Type (KSCHL), Condition Value (KWERT), etc., field at run time for

  • Email in SAPSCRIPT

    Hi everybody, IS healthcare intensively uses SAPSCRIPT as output variant for PMD ("Parametrierte Medizinische Dokumente"). When viewing the document, its output is processed by SAPSCRIPT and displayed as PDF. Now we want to embed an Email-Link into t

  • Parallel Task Processing

    Hi all, due to some performance issues - I have broken a task into 4 tasks so that they can be run in parallel. The particular task is the 1sided reclass (it is taking 22-23 mintues to run) I have broken this into 4 tasks, each pointing to different

  • After Installing Application Server - Problem connecting to my Databases

    I have 10g installed on my Windows server, and have no problems connecting to my database(s). After I install Application Server 10g, I am no longer able to connect to any of them, as if the TNSNAMES.ORA file is no longer configured correctly. I am t