Dynamic determination of VALUES of an Attribute in a Mail-form

Hi All,
We have created a Mail Form with ceratin attributes. We have assigned a target group to a campaign.
now, the requirement is to determine the VALUES of the attributes dynamically for the BPs in the target groups.
please help me what should be done to meet this rquirement.

Hi there,
I believe the following link demostrates the whole process including your requirements:
[http://wiki.sdn.sap.com/wiki/display/CRM/NavigationtotheCRMUIComponentfromMailFormorSmartFormsHyperLink|http://wiki.sdn.sap.com/wiki/display/CRM/NavigationtotheCRMUIComponentfromMailFormorSmartFormsHyperLink]
Please reply if this helps.
Regards,
Vinamra.

Similar Messages

  • How to add Attribute Category in Mail Form - WEB UI CRM 7.0

    Dear Friends,
    My requirement is to add custom fields to the mail form - attribute page so that IC agent can select these attributes when they create the mail forms. These customer fields are related to Service ticket like Account details, service ticket ID , IBASE details etc.
    I read on SAP HELP and got to know that I need to implement BADI CRM_IM_ADD_DATA_BADI to maintain additional attribute but for this, first i need to maintain attribute context ( IMG path is under personalized mails under campaign management in CRM Marketing ). so i created the attribute context.
    But  i can't see anything related to my attribute context on mail form when i select attribute button, i get nothing in additional fields to insert. Also the BADI does not get triggered.
    Can anyone please guide me on this as how to get the custom attributes on mail forms ?
    Our requirement is not specific to CRM marketing but generic to give IC agents some Service ticket specific attributes to add in the mail forms.
    Please advice as i am struggling a lot on this and i never worked in CRM marketing.
    Reply awaited.
    Thanks & Regards,
    Suchita

    Hi,
    Sorry for the delayed reply as notifications were kept off.
    I solved it by implementing the BADI, and the same method as you guessed. I also had to maintain the custom attribute contexts with the fields i would like. This custom attribute context will be the filter for the badi and basically you will populate the attribute values in the badi method.
    Mail-form help on help.sap.com as well as the BADI and IMG documentations on SPRO are more than enough to get the job done.
    I wont be able to share the code as it was complete custom development in relation to auto-escalation emails in SLA and Escalations scenario and the project was completed long back.
    Thanks & Regards
    Suchita

  • BDC and ERMS fact based attributes in Mail forms

    Hello,
    We are running CRM 7.0 ( no Ehp's yet)
    I am trying to create a mail form with some information from the currently opened "Complaint" ( transaction number, description) , so I can 'insert" them in my email reply.
    I created new BDC attributes in SPRO configuration,
    SPRO->CRM->IC WEBCLIENT->Additional Functions->intent Driven action->add BDC attributes
    But only the attributes from Business Partner (ERMS automated process) are populated dynamically in the mail form. Other attributes from categories (ERMS Fact based attributes, BDC attributes, Additional fields) not returning any value, though I add them in mail form design.
    I've applied the following notes without any success..
    1660306 ,1666332, 1645600
    I wonder if I am missing configuration.
    any pointers much appreciated.
    Praveen
    Edited by: Praveen Rangineni on Jan 12, 2012 4:06 PM

    Hi Praveen,
    I'm trying to acheive something similar to this. if you were succesful in this, Can you please let me know what steps you followed?
    Thanks,
    Chaith.

  • Additional Attributes in Mail Forms

    Hi
    I want to create mail form templates and want to add some custom attributes in the additional attributes category of attributes and then write my own logic for filling up the values in those additional attributes at runtime.
    What are the structures and BADIs I need to enhance in order to do this?
    Thanks in advance
    Vishal

    Hi,
    Check if below helps you (Maintain Attribute Contexts for Mail Forms)
    SPRO->Customer Relationship Management->Marketing->Marketing Planning and Campaign Management->Personalized Mail->Maintain Attribute Contexts for Mail Forms.
    Just go through the SPRO documentation for same, it might help you.
    Regards,
    Dipesh.

  • Attributes in Mail Forms - Personalized Mail - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi,
    Check if below helps you (Maintain Attribute Contexts for Mail Forms)
    SPRO->Customer Relationship Management->Marketing->Marketing Planning and Campaign Management->Personalized Mail->Maintain Attribute Contexts for Mail Forms.
    Just go through the SPRO documentation for same, it might help you.
    Regards,
    Dipesh.

  • Attributes in Mail Forms

    Hi All,
    How can I make available attributes of other objects in mail form templates.
    example: billing details, payment details etc.
    Thanks,
    Raj.

    Hi Raj,
    Follow these steps:
    SPRO --> Marketing --> Marketing Planning and Campaign management --> Personalize mail forms --> maintain attribute context for mail forms
    Select The context and double click on structures
    Create a New Entery there with the table name where the items of the other objects are stored. (Check for fields, but double clicking of the Field)
    Save this and these attributes should be visible in your mail forms
    Regards,
    Namita

  • How to add Marketing attributes in High Volume Mail Form

    HI Experts,
    I have a requirement for My client.
    When i am executing a high volume campaign i am using a high volume Mail form.
    When i tried to include a Marketing attribute into the mail form it doesnot allow to add me Marketing Attributes in High volume mail forms.
    Do we have any badis or enhancement where we can hook up our own code so that the campaign picks the Marketing attributes which we specify?
    Please reply me .
    Thanks Regards,
    Sandipan Jena

    Hi Wille,
    How do i know if the badi is getting triggred and at what point.
    Is it triggered when we save the campaign or when we start the campaign.
    I am not able to debugg the badi my execution is happing in back ground.I tried to debugg the job through JDBC but i am not able to reach the BADI which i newly implemented.
    Also i wrote an infinte loop in side the badi but my execution didn't went to infinite loop rather the campign executed sucessfully.
    Can you help me ?
    Thanks Regards,
    Sandipan Jena

  • Mail Forms Attributes

    Hello All,
    i've created a mail form for a service request email in the web UI.
    The mail form as attributes from the service request (EX: Agent Responsible)
    When going to the email creation, and loading the template of the mail form, it doesn't load with the attributes.
    Am i missing some configuration? the business role as the function profile for the e-mail.
    Thanks for the help.
    Best regards,
    João

    Hello,
    Maybe it's too late :-(
    But maybe can be useful for someothers: PLease see also SPRO-->CRM-->Marketing-->Marketing planning and Campaign management--> Personalized mail-->Maintain attribute context for Mail Forms.
    Regards
    Mundo

  • Check for null value of an attribute

    Hi,
    I am reading an attribute using the get_attribute method of the element of a node.
    Depending on whether the value of this attribute is initial or not, I need to do some further processing. But the get_attribute method itself is giving an exception that "Access via null reference is not possible". I first need to check if this is initial (or null) and then proceed. Is there some other way to check this value apart from the get_attribute method??
    Here is the sample code
    IF elem_es_detalhes IS NOT INITIAL.
          DATA:
            item_zzorgas                        LIKE stru_es_detalhes-zzorgas.
    get single attribute
          elem_es_detalhes->get_attribute(
            EXPORTING
              name =  `ZZORGAS`
            IMPORTING
              value = item_zzorgas ).
          wd_comp_controller->setleadselectionorgas( EXPORTING i_value = item_zzorgas ).
        ENDIF.
    > the get_attribute method is throwing an exception that access via null object reference is not possible.
    Please help!!
    regards,
    Priyank

    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Date and Time          04.04.2007 05:54:08
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: " ").
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" " "
    "CL_WDR_CONTEXT_ELEMENT========CP" or "CL_WDR_CONTEXT_ELEMENT========CM006"
    "IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "pioerp01"
    Network address...... "192.168.0.10"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x Intel 801586"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "PIOERP01"
    Database type..... "ORACLE"
    Database name..... "ERD"
    Database user ID.. "SAPERD"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Oct 13 2006 00:08:41"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "OCI_10201_SHARE (10.2.0.1.0) "
    Patch level. 80
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 1754160
    EM...... 8362368
    Heap.... 0
    Page.... 0
    MM Used. 9168936
    MM Free. 935200
    User and Transaction
    Client.............. 210
    User................ "PJAIN"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDR_CONTEXT_ELEMENT========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "122.167.22.28"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zagr_fazenda/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
    in "IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 36
    of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM006".
    Source Code Extract
    Line
    SourceCde
    6
    get_not type abap_bool value abap_false,
    7
    first_part type string,
    8
    second_part type string,
    9
    attr_wa like line of me->dynamic_attributes.
    10
    11
    field-symbols:
    12
    <dyn_attr> like line of me->dynamic_attributes,
    13
    <value> type data,
    14
    <attr_info> like line of me->node_info->attributes->*.
    15
    16
    while try_again = abap_true.
    17
    18
      first try static attributes
    19
    assign static_attributes->(name) to <value>.
    20
    if sy-subrc = 0.
    21
    value = <value>.
    22
    try_again = abap_false.
    23
    continue.
    24
    else.
    25
    26
        second try dynamic attributes
    27
    read table dynamic_attributes assigning <dyn_attr> with table key name = name.
    28
    if sy-subrc = 0.
    29
    assign <dyn_attr>-value->* to <value>.
    30
    value = <value>.
    31
    try_again = abap_false.
    32
    continue.
    33
    else.
    34
    35
          dynamic attribute not yet created?
    >>>>>
    read table me->node_info->attributes->* assigning <attr_info> with table key name =
    37
    if sy-subrc = 0.
    38
    attr_wa-name = name.
    39
    create data attr_wa-value type handle <attr_info>-rtti.
    40
    assign attr_wa-value->* to <value>.
    41
    if <attr_info>-default_value is not initial.
    42
    <value> = <attr_info>-default_value.
    43
    endif.
    44
    value = <value>.
    45
    insert attr_wa into table me->dynamic_attributes.
    46
    try_again = abap_false.
    47
    continue.
    48
    else.
    49
    50
            test for :FINAL:NOT
    51
    split name at ':' into name first_part second_part.
    52
    if first_part is initial and second_part is initial.
    53
    try_again = abap_false.
    54
    continue.
    55
    else.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    4
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    3
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Controle HTTP
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070404
    SY-UZEIT
    055408
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    24 METHOD       CL_WDR_CONTEXT_ELEMENT========CP    CL_WDR_CONTEXT_ELEMENT========CM006    36
    CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
    23 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX       1265
    CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    22 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX        358
    CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    21 METHOD       /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP    /1BCWDY/B_5OLH0AU1A64NGHK6WYWX        320
    CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          ZAGR_FAZENDA
    Web Dynpro Controller         FAZENDA_DASHBOARD
    20 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM005     3
    CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
    19 METHOD       CL_WDR_COMPONENT==============CP    CL_WDR_COMPONENT==============CM00D    41
    CL_WDR_COMPONENT=>FIRE_EVENT
    18 METHOD       SAPLWDR_RG_PROXY_FACTORY            LWDR_RG_PROXY_FACTORYI00              120
    LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT
    17 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_BC0OBUXS328BVP4ZI6L1        388
    CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         COMPONENTCONTROLLER
    16 METHOD       CL_SALV_WD_C_TABLE============CP    CL_SALV_WD_C_TABLE============CM002   116
    CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
    15 METHOD       CL_SALV_WD_C_TABLE_V_TABLE====CP    CL_SALV_WD_C_TABLE_V_TABLE====CM012   197
    CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
    14 METHOD       CL_SALV_WD_C_TABLE_V_TABLE====CP    CL_SALV_WD_C_TABLE_V_TABLE====CM005    39
    CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_VIEW~ON_EVENT
    13 METHOD       CL_SALV_WD_A_COMPONENT========CP    CL_SALV_WD_A_COMPONENT========CM005    19
    CL_SALV_WD_A_COMPONENT=>IF_SALV_WD_COMPONENT~VIEW_ON_EVENT
    12 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_X4QHFLHM8I07VGMCNR1L        736
    CL_VIEW_TABLE_CTR=>ONACTIONTABLE_CELL
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         VIEW_TABLE
    11 METHOD       /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP    /1BCWDY/B_X4QHFLHM8I07VGMCNR1L        468
    CLF_VIEW_TABLE_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          SALV_WD_TABLE
    Web Dynpro Controller         VIEW_TABLE
    10 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM005     3
    CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
    9 METHOD       CL_WDR_ACTION=================CP    CL_WDR_ACTION=================CM00A    38
    CL_WDR_ACTION=>IF_WDR_ACTION~FIRE
    8 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM009    52
    CL_WDR_WINDOW_PHASE_MODEL=>DO_HANDLE_ACTION_EVENT
    7 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM002    62
    CL_WDR_WINDOW_PHASE_MODEL=>PROCESS_REQUEST
    6 METHOD       CL_WDR_WINDOW=================CP    CL_WDR_WINDOW=================CM00V     9
    CL_WDR_WINDOW=>PROCESS_REQUEST
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    94
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM017   366
    CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      946
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START
    Chosen variables
    Name
    Val.
    No.      24 Ty.          METHOD
    Name  CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
    NAME
    ZZPRECO
    5555444
    AA0253F
    VALUE
    222
    000
    TRY_AGAIN
    X
    5
    8
    ABAP_TRUE
    X
    5
    8
    ME->STATIC_ATTRIBUTES
    0.0.0.0.0.0.0.1.
    C0000000
    F0000000
    <VALUE>
    SY-SUBRC
    4
    0000
    4000
    SPACE
    2
    0
    ME->DYNAMIC_ATTRIBUTES
    Table[initial]
    <DYN_ATTR>
    %_DUMMY$$
    2222
    0000
    %_SPACE
    2
    0
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    <DYN_ATTR>-VALUE
    <ATTR_INFO>
    CL_WDR_VIEW_ELEMENT=>CO_UNKNOWN_TEXTLEN
    -1
    FFFF
    FFFF
    ATTR_WA-NAME
    ATTR_WA-VALUE
    0.0.0.0.0.0.0.1.
    C0000000
    F0000000
    <ATTR_INFO>-RTTI
    <ATTR_INFO>-DEFAULT_VALUE
    No.      23 Ty.          METHOD
    Name  CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
    R_PARAM
    |
    | E0001000 |
    | B0004800 |
    | WDEVENT |
    |
    E0001000
    C0003800
    SY-REPID
    /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP
    2344545244454543445433434444334522222222
    F123749F2FB9BAF9DE6F45B6FBA8DD3000000000
    <L_VALUE>
    FTP100600000
    455333333333222222222222
    640100600000000000000000
    ITEM_BUKRS
    BP01
    4533
    2001
    %_DUMMY$$
    2222
    0000
    ITEM_LIFNR
    0001100000
    3333333333
    0001100000
    ITEM_PSPID
    FTP100600000
    455333333333222222222222
    640100600000000000000000
    ELEM_ES_DETALHES
    |
    | F0000000 |
    | 3000C800 |
    | ITEM_ZZPRECO |
    |  |
    | 222 |
    | 000 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-XPROG |
    | SAPCNVE |
    | 5454454222222222222222222222222222222222 |
    | 3103E65000000000000000000000000000000000 |
    | No.      22 Ty.          METHOD |
    | Name  CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK |
    | EVENT |
    |
    E0001000
    C0003800
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | EVENT->PARAMETERS |
    | Table IT_8213[1x16] |
    | DATA=PARAMETERS
    Table reference: 2596
    TABH+  0(20) = 78213E3D98253E3D00000000240A000015200000
    TABH+ 20(20) = 0100000010000000FFFFFFFF04890300A0030000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x78213E3D
    ext1         = 0x98253E3D
    shmId        = 0     (0x00000000)
    id           = 2596  (0x240A0000)
    label        = 8213  (0x15200000)
    fill         = 1     (0x01000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000006
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x68203E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB8213E3D
    shmTabhSet   = 0x00000000
    id           = 4494  (0x8E110000)
    refCount     = 2     (0x02000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 3     (0x03000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0x68243E3D
    collHook     = 0x00000000
    ext2         = 0x00000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <CUR_PARAM>
    '###Ø###Á#######
    2000D100C0000000
    700089001000E500
    SY-SUBRC
    4
    0000
    4000
    %_VIASELSCR
    0
    4
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000
    1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | <CUR_PARAM>-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | C0000000 |
    | 1000E500 |
    | R_PARAM |
    |
    E0001000
    B0004800
    ME->F_APPL_CLASS
    |
    | A0005000 |
    | 2000D200 |
    | WDEVENT |
    |
    E0001000
    C0003800
    No.      21 Ty.          METHOD
    Name  CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    HANDLER_NAME
    ONCLICK
    4444444
    FE3C93B
    EVENT
    E0001000
    C0003800
    PARAMETERS
    Table[initial]
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | SYST |
    | 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.  |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000 |
    | 1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040 |
    | ME->F_APPL_CLASS |
    |
    A0005000
    2000D200
    WDEVENT
    |
    | E0001000 |
    | C0003800 |
    | CL_ABAP_TYPEDESCR=>TRUE |
    | X |
    | 5 |
    | 8 |
    | ME |
    |
    B0004000
    4000B200
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | No.      20 Ty.          METHOD |
    | Name  CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER |
    | NAME |
    | ONCLICK |
    | 4444444 |
    | FE3C93B |
    | EVENT |
    |
    E0001000
    C0003800
    RET
    F0000000
    F0000000
    SYST-REPID
    CL_WDR_DELEGATING_VIEW========CP
    4455455444444544455445333333334522222222
    3CF742F45C57149E7F6957DDDDDDDD3000000000
    SY-REPID
    CL_WDR_DELEGATING_VIEW========CP
    4455455444444544455445333333334522222222
    3CF742F45C57149E7F6957DDDDDDDD3000000000
    %_SPACE
    2
    0
    %_DUMMY$$
    2222
    0000
    No.      19 Ty.          METHOD
    Name  CL_WDR_COMPONENT=>FIRE_EVENT
    CONTROLLER_NAME
    COMPONENTCONTROLLER
    4445444454445544445
    3FD0FE5E43FE42FCC52
    EVENT_NAME
    ON_CLICK
    44544444
    FEF3C93B
    PARAMETERS
    Table IT_8211[1x16]
    CLASS=CL_WDR_COMPONENTMETHOD=FIRE_EVENTDATA=PARAMETERS
    Table reference: 1900
    TABH+  0(20) = 78213E3D00000000000000006C07000013200000
    TABH+ 20(20) = 0100000010000000FFFFFFFF04B10000E00F0000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x78213E3D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 1900  (0x6C070000)
    label        = 8211  (0x13200000)
    fill         = 1     (0x01000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000062
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x68203E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB8213E3D
    shmTabhSet   = 0x00000000
    id           = 4494  (0x8E110000)
    refCount     = 2     (0x02000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 3     (0x03000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <EVT_SUBSCRIBER>-LISTENER->COMPONENT->COMPONENT_NAME
    ZAGR_FAZENDA
    544554454444
    A172F61A5E41
    <EVT_SUBSCRIBER>-LISTENER->IF_WD_CONTROLLER~NAME
    FAZENDA_DASHBOARD
    44544445445444454
    61A5E41F41382F124
    <EVT_SUBSCRIBER>-HANDLER_NAME
    ONCLICK
    4444444
    FE3C93B
    CL_WD_TRACE_TOOL=>INSTANCE
    |
    | F0000000 |
    | F0000000 |
    | %_VIASELSCR |
    | # |
    | 0 |
    | 4 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-REPID |
    | CL_WDR_COMPONENT==============CP |
    | 4455455444544445333333333333334522222222 |
    | 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
    | ME->COMPONENT_NAME |
    | SALV_WD_TABLE |
    | 5445554554444 |
    | 31C6F74F412C5 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | SYST-REPID |
    | CL_WDR_COMPONENT==============CP |
    | 4455455444544445333333333333334522222222 |
    | 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
    | <EVT_SUBSCRIBER>-LISTENER |
    |
    B0004000
    80007200
    CUSTOM_EVENT
    |
    | E0001000 |
    | C0003800 |
    | %_ARCHIVE |
    |  |
    | 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | RSJOBINFO |
    | 00000000000000                                  #### |
    | 222222222222222222222222222222223333333333333322222222222222222222222222222222220000 |
    | 000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | No.      18 Ty.          METHOD |
    | Name  LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT |
    | CONTROLLER_NAME |
    | COMPONENTCONTROLLER |
    | 4445444454445544445 |
    | 3FD0FE5E43FE42FCC52 |
    | EVENT_NAME |
    | ON_CLICK |
    | 44544444 |
    | FEF3C93B |
    | PARAMETERS |
    | Table IT_8210[1x16] |
    | CLASS-POOL=/1BCWDY/CX3JTPYDGO9FTM6UG46KCLASS=CLF_COMPONENTCONTROLLER_CTRMETHOD=IF_COMPONENT |
    | Table reference: 2237 |
    | TABH+  0(20) = 78213E3D0000000000000000BD08000012200000 |
    | TABH+ 20(20) = 0100000010000000FFFFFFFF0477010070630000 |
    | TABH+ 40( 8) = 10000000A4288401 |
    | store        = 0x78213E3D |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 2237  (0xBD080000) |
    | label        = 8210  (0x12200000) |
    | fill         = 1     (0x01000000) |
    | leng         = 16    (0x10000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000444 |
    | occu         = 16    (0x10000000) |
    | access       = 4     (ItAccessHashed) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 1     (ItUnique) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 0 |
    | unShareable  = 0 |
    | mightBeShared = 1 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x68203E3D |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0xB8213E3D |
    | shmTabhSet   = 0x00000000 |
    | id           = 4494  (0x8E110000) |
    | refCount     = 2     (0x02000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 3     (0x03000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = Not allocated |
    | collHook     = Not allocated |
    | ext2         = Not allocated |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = Not allocated |
    | delta_head   = Not allocated |
    | pb_func      = Not allocated |
    | pb_handle    = Not allocated |
    | SYST-REPID |
    | SAPLWDR_RG_PROXY_FACTORY |
    | 5454545554555455544454552222222222222222 |
    | 310C742F27F02F89F6134F290000000000000000 |
    | ME->F_CTLR_INST->COMPONENT |
    |
    3000C000
    C0003200
    %_DUMMY$$
    2222
    0000
    No.      17 Ty.          METHOD
    Name  CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    R_PARAM
    |
    | E0001000 |
    | B0004800 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | CUR_PARAM-NAME |
    | R_PARAM |
    | 5554544 |
    | 2F0121D |
    | CUR_PARAM-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | C0000000 |
    | 1000E500 |
    | <VALUE> |
    |
    E0001000
    B0004800
    ALL_PARAMS
    Table IT_8210[1x16]
    CUR_PARAM
    '###Ø###Á#######
    2000D100C0000000
    700089001000E500
    SYST-REPID
    /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP
    2344545245345554443454354334334522222222
    F123749F383A40947F964D65746BDD3000000000
    No.      16 Ty.          METHOD
    Name  CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
    NAME
    ON_CLICK
    44544444
    FEF3C93B
    R_PARAM
    E0001000
    B0004800
    LR_STD_FUNCTION
    F0000000
    F0000000
    SY-REPID
    CL_SALV_WD_C_TABLE============CP
    4455445554545544443333333333334522222222
    3CF31C6F74F3F412C5DDDDDDDDDDDD3000000000
    LS_MPARAM-NAME
    R_PARAM
    555454422222222222222222222222
    2F0121D00000000000000000000000
    CL_GUI_CONTROL=>LIFETIME_DEFAULT
    %_DUMMY$$
    2222
    0000
    LS_MPARAM-KIND
    E
    4
    5
    CL_ABAP_OBJECTDESCR=>EXPORTING
    E
    4
    5
    LS_MPARAM-VALUE
    0.0.0.0.0.0.0.1.
    C0000000
    0000F500
    LT_MPARAM
    Table IT_8209[1x40]
    CLASS=CL_SALV_WD_C_TABLEMETHOD=IF_SALV_WD_COMPONENT~FIRE_EVENTDATA=LT_MPARAM
    Table reference: 2071
    TABH+  0(20) = 701E3E3D00000000000000001708000011200000
    TABH+ 20(20) = 0100000028000000FFFFFFFF04C70100200E0000
    TABH+ 40( 8) = 10000000A4258001
    store        = 0x701E3E3D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 2071  (0x17080000)
    label        = 8209  (0x11200000)
    fill         = 1     (0x01000000)
    leng         = 40    (0x28000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000054
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 3     (user defined)
    cmpMode      = 2     (cmpSingleMcmpR)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xE01B3E3D
    pgHook       = 0x00000000
    idxPtr       = 0xB01E3E3D
    shmTabhSet   = 0x00000000
    id           = 4493  (0x8D110000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    LS_MPARAM
    R_PARAM                       E#À#######
    55545442222222222222222222222240C0000000
    2F0121D00000000000000000000000500000F500
    CL_SALV_WD_C_TABLE=>C_EVENT_ON_SUPPLY_DRDN_VALUES
    ON_SUPPLY_DRDN_VALUE
    44555554554544554454
    FEF3500C9F424EF61C55
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LR_DRDN_VALUES
    |
    | F0000000 |
    | F0000000 |
    | CL_SALV_WD_C_TABLE=>C_EVENT_ON_AFTER_CONFIG |
    | ON_AFTER_CONFIG_CTRL |
    | 44544545544444454554 |
    | FEF16452F3FE697F342C |
    | ME->IF_SALV_WD_COMPONENT~R_WD_COMPONENT |
    |
    3000C000
    5000A200
    L_METHOD
    IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
    4454445444454445544445744545445444445455
    96F3FD0FE5E43FE42FCC52E6925FFEF3C93BF564
    No.      15 Ty.          METHOD
    Name  CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
    T_PARAMETERS
    Table IT_8123[5x16]
    DATA=S_EVENT_INFO-T_PARAMETERS
    Table reference: 2402
    TABH+  0(20) = B054273D000000000000000062090000BB1F0000
    TABH+ 20(20) = 0500000010000000FFFFFFFF04CB010048040000
    TABH+ 40( 8) = 10000000C1288001
    store        = 0xB054273D
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 2402  (0x62090000)
    label        = 8123  (0xBB1F0000)
    fill         = 5     (0x05000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000009
    occu         = 16    (0x10000000)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xA053273D
    pgHook       = 0x00000000
    idxPtr       = 0x00000000
    shmTabhSet   = 0x00000000
    id           = 4433  (0x51110000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    CL_

  • Passing  null values to the attributes of a CAF operation

    Hi,
    In CAF I am trying to fetch data through Web Service. For this I need to pass null value for the attributes of the operation.If I set the value to null it gives me missing parameter as the error.
    Can anyone tell me how to pass null values to the attributes of a CAF operation?

    Hi Xavier,
    Declare the two variables of type if_wd_contex_node for e.g. lv_node and if_wd_context_element for e.g. lv_element. Now in the first one lets say lv_node get the refrence of dynamically created node like:
    lv_node = wd_context->get_child_node('<node name>').
    Then get the refrence of element like:
    lv_element = lv_node->get_element( ). (You can also pass index as parameter check the method API)
    then just set the value of attribute you want like:
    lv_element->set_attribute( exporting name = '<attribute name>' value = '<your value>').
    Regards,
    Neha

  • Is there a way to dynamically determine the number of out parameters for a server side procedure?

    Hi,
    Below is a helper method used for calling a server-side function which loops through the inbound bindVars parameter to populate the function's IN parameters. Is there a way to dynamically determine the IN/OUT parameters based on the procedure name in the stmt parameter? No members of the CallableStatement class seemed promising, but the getParameterMetaData() method in the PreparedStatement class seemed like it could be helpful lead. However, I have not found any detailed descriptions (yet) of how to use it.
    protected Object callStoredFunction(int sqlReturnType, String stmt,
      Object[] bindVars) {
      CallableStatement st = null;
      try {
      // 1. Create a JDBC CallabledStatement 
      st = getDBTransaction().createCallableStatement(
      "begin ? := "+stmt+";end;",0);
      // 2. Register the first bind variable for the return value
      st.registerOutParameter(1, sqlReturnType);
      if (bindVars != null) {
      // 3. Loop over values for the bind variables passed in, if any
      for (int z = 0; z < bindVars.length; z++) {
      // 4. Set the value of user-supplied bind vars in the stmt
      st.setObject(z + 2, bindVars[z]);
      // 5. Set the value of user-supplied bind vars in the stmt
      st.executeUpdate();
      // 6. Return the value of the first bind variable
      return st.getObject(1);
      catch (SQLException e) {
      throw new JboException(e);
      finally {
      if (st != null) {
      try {
      // 7. Close the statement
      st.close();
      catch (SQLException e) {}
    James

    The PreparedStatement.getParameterMetaData() object is exactly what you need for this task.
    Once you have the ParameterMetaData you can ask it how many parameters are present and which mode they are. The parameters are numbered from 1 to n and you can use ParameterMetaData.getParameterMode(1); to get the mode of the 1st parameter. The modes are defined as static values in the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html
    Timo

  • How to dynamically determine Receivers within BPM

    I’m trying to design a way to determine my receivers within my BPM process during runtime.   My Scenario is as follows:
    SAP IDOC
        V
      XI
                 XI uses JAVA Mapping MT1 to determine vendors and if customer receives PIDX
                             JAVA Mapping MT2 to creates the PIDX output file if required
      V
    SENDs to required Vendor (PIDX if required otherwise email)
    My problem is how to dynamically determine the appropriate receiving vendor for my PIDX.
    I can not use the condition editor on the standard Receiver Determination because the output message (PIDX) doesn't have specific enough information to determine the vendor.
    Other than the customer number there are no other values and we don't want to use customer number because each vendor can have multiple customer numbers (hundreds).
    I've tried various attempts but none seem to work.  This could also be because I have limited knowledge of BPMs and this is my first complex development.  Below are the different attempts I've made at dynamically determining the receiver.  Any input would be appreciated.
    Receiver Scenario 1 
      I developed an interface mapping with MT1 as input and the SAP Receiver Determination as output.  The problem is for me to use this, the interface mapping had to reference the PIDX output (MT2 instead of MT1) which has no data that I can use to determine the receiver.
    Receiver Scenario 2
    I added a receiver step right before my send step and used the receiver list.  This appears to send the PIDX to everyone in the list and there is no way to evaluate or eliminate a name from the list. 
    Receiver Scenario 3
    I created a context object in the Integration Builder and assigned it to a field in MT1.  I then added a switch step with a branch for each vendor.  Within each specific branch there is a Send step that has the context object name I created in the "Send Context" field.  However, on the configuration side I’m unable to access the context object which I created on the design side.  Whenever I open the condition editor and select the radiobutton for "Context Object" the list  does not include the context object I created in the Integration Builder.

    Hi,
    Try using the enhaced receiver determination concept.
    Maybe based on certain field values you can write a UDF which calculates the receiver.
    Try this Blog out
    Link : [
    http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]
    Regards,
    Abhishek
    Award if helpful.

  • How to pass a value to path attribute of jpf:forward at run time.

    Hi all,
    I have a public variable in my controller and I am getting a value from my jsp
    and assigning it to that variable.
    Now the question is how to pass that variable value to path attribute of jpf:forward.
    @jpf:forward name="success" path="promoLink"
    Here in this case promoLink is a public variable in my controller.
    Pls suggest.
    Thanks.

    Hi Vijay,
    You posted this a while ago -- not sure if you've found a solution already,
    but in case you haven't...
    If you want to construct the Forward dynamically, you can do it without
    annotations. There are constructors that take URI and URL, which you can
    use like this:
    * @jpf:action
    public Forward goSomewhere()
    return new Forward( new URI( promoLink ) );
    Does this address your question?
    Rich
    "Vijay Bijjargi" <[email protected]> wrote in message
    news:3f5739f8$[email protected]..
    >
    Hi all,
    I have a public variable in my controller and I am getting a value from myjsp
    and assigning it to that variable.
    Now the question is how to pass that variable value to path attribute ofjpf:forward.
    >
    @jpf:forward name="success" path="promoLink"
    Here in this case promoLink is a public variable in my controller.
    Pls suggest.
    Thanks.

  • Dynamic Determination of Logical System- Transaction Launcher

    Hi Friends,
    Need your suggestions and inputs on how to dynamically determine the logical system for the transaction launcher.
    Our system landscape is like this.
    We have one CRM connected to mulitple back end ECC Boxes. Currently, we have created separate TL's fo VA01 ( One each for each back end application ) and provided the same in logical link and controlled the same via business role.
    For eg: BROLE1 - LLINK1  having (TL VA01) pointing to ECC System1
    BROLE2 - LLINK2  having (TL VA01) pointing to ECC System2
    BROLE3 - LLINK3  having (TL VA01) pointing to ECC System3
    The above procedure is working fine. But what we are trying to do is, when the end user clicks on the TL link in WEB UI, Based on the assigned business role, it should dynamically determine the back end system and open the VA01 Screen in that system.
    I have activated indicator multiple systems in the customizing of mapped logical systems.
    In debugging mode, i have tried changing the LOGSYS value @ run time in the handler class.
    Any pointers on this would be of great help.
    Thanks,
    Madhu

    Hi,
    Try this..
    To maintain RFC destination in each business role, there is one functional profile  "ERP_SALES_ORDER" where in you can maintain respective rfc destination.
    Create z-functional profile's for "ERP_SALES_ORDER" and maintain corresponding rfc destination, later assign these erp sales order function profiles in respective business roles trxn (CRMC_UI_PROFILE).
    you can use the below statement to fetch rfc destination whcih assigned to business role via functional profile.
      If gv_rfc is INITIAL.
        gv_rfc = CL_CRM_IC_ERP_SERVICE=>GS_ERPPROF-RFCDEST.
      ENDIF.
    Hope this helps.
    Cheers,
    Sumit Mittal

  • Dynamic removing of Value Nodes

    Hi,
    in my application I create Value Nodes and Value Attributes dynamically.
    How can I remove this Value Nodes and Attributes again dynamically?
    Regards,
    Eva

    Eva,
    The only way is to completely reset context:
    wdContext.reset(false);
    This will remove all dynamically created nodes / attributes. You have to recreate structure afterwards (obviously, without node you were actually "removing")
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com/

Maybe you are looking for