Help required in getting the header details.

Hi All ,
In my first WDA , I am showing the header details of Purchase Order for a input parameter  in table
and now I want to show the items details for that particular PO on lead selection of the the PO details
in my second application . How can I achieve the desired functionality .
Please help , any pointers regarding this ..
Thanks in Advance.

Hi ,
U need tto get the URL of the called application through method
construct_wd_url and generate the popup window for the second application with the above URL .
in ur first app , crate an event on lead selection of the table and write the following piece of code :
   DATA:
      w_url   type string,
      w_value type string.
         call method cl_wd_utilities=>construct_wd_url
        exporting
        application_name              = u2018 u2018 // here specify the name of the called application
      importing
        out_absolute_url              = w_url.
   * make the Value type compatible that has to be passed with the URL
  w_value = lv_ebeln.
* Attach the parameters and its value with the URL that
* have to be passed to the 2nd application
  call method cl_http_server=>append_field_url
    exporting
      name  = ' '   // input parameter here
      value = w_value
    changing
      url   = w_url.
* generate a popup window for the 2nd application with the above URL
  DATA lo_window_manager TYPE REF TO if_wd_window_manager.
  DATA lo_api_component  TYPE REF TO if_wd_component.
  DATA lo_window         TYPE REF TO if_wd_window.
  lo_api_component  = wd_comp_controller->wd_get_api( ).
  lo_window_manager = lo_api_component->get_window_manager( ).
  lo_window         = lo_window_manager->create_external_window(
                   url = w_url ).
  lo_window->open( ).
Now in the doinit of ur called application , u can get the value for that particular input parameter
[code}
DATA:
  lv_param type string.  
lv_param = wdr_task=>client_window->get_parameter( ' u2018  ).  // paramtr name
Now select the appropriate values in internal table for this and bind it to ur context node ..
I hope this helps..

Similar Messages

  • Help require to get the XML output to design template- JDE

    Hi Friends,
    I am asking this question from JDE perspective.I want to design XMLP Template for R40572 Check Printing.
    When I upload an blank template and after attaching RD, When ever I initiate a check from P04572 Application.RThe Write Row exit will lead to check printing which in turn will call a batch R04571 and this batch will call R04572(Which I require the XML output) since it is the second report and we cant direct it to local server I am not able to get the XML output..
    Another think is since its running in server i think its not taking the RD modification we done in loacl because it always fires PDF .

    Hi,
    I assume you're Using XMPOSA for generating the files locally. What I suggest is, you set the application to run with the report definition by default. That way, even when it is called, it will be called along with the report definition. You can take the resultant XML file from P95630
    hope this helps,
    -Domnic

  • After a recent update I'm only getting the header but no text on incoming email. Please help.

    I'm only getting the header and not the text of incoming email messages on my iphone 4. How can I get the text?

    Try settings>mail, contacts, calendars>mail>preview and alter to how many lines you wish to preview.

  • Function module to get the payment details for PO

    Hi,
    Is there any standard function modlue to get the payment details for specific purchase order  or is there any table where we can get the payment details till date.
    My requirement is purchase order wise how much already paid to vendor  and what is the balance amount  to be paid vendor.
    thanks in advance....
    Regards,
    Sree

    Hello
    BAPI_PO_GETDETAIL will help you.
    Look at structures PO_ITEM_HISTORY and PO_ITEM_HISTORY_TOTALS
    Also you may use table EKBE

  • How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    Ok what about If i need to get all important attributes by comparing Email addresses from excel file and get all required answers
    currently I am trying to verify how many users Lines are missing , Emp numbers , Phones  from AD with HR list available to me.
    I am trying to Scan all the AD matching HR Excel sheet and want to search quickly how many accounts are active , Line Managers names , Phone numbers , locations , title , AD ID .
    these are fields I am interested to get in output file after scanning Excel file and geting reply from AD in another Excel or CSV file
    Name’tAccountName’tDescri ption’tEma I IAddress’tLastLogonoate’tManager’tTitle’tDepartmenttComp
    any’twhenCreatedtAcctEnabled’tGroups
    Name,SamAccountName,Description,EmailAddress,LastLogonDate,Manager,Title,Department,Company,whenCreated,Enabled,MemberOf | Sort-Object -Property Name
    Can you modify this script to help me out :)
    Hi,
    Depending on what attributes you want.
    Import-Module ActiveDirectory
    #From a txt file
    $USERS = Get-Content C:\Temp\USER-LIST.txt
    $USERS|Foreach{Get-ADUser $_ -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    #or from a csv file
    $USERS = Import-CSV C:\Temp\USER-LIST.csv
    $USERS|Foreach{Get-ADUser $_.SAMAccountName -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    Regards,
    Dear
    Gautam Ji<abbr class="affil"></abbr>
    Thanks for replying I tried both but it did not work for me instead this command which i extended generated nice results
    Get-ADUser -Filter * -Property * | Select-Object Name,Created,createTimeStamp,DistinguishedName,DisplayName,
    EmployeeID,EmployeeNumber,Enabled,HomeDirectory,LastBadPasswordAttempt,LastLogonDate,LogonWorkstations,City,Manager,MemberOf,MobilePhone,PasswordLastSet,BadLogonCount,pwdLastSet,SamAccountName,UserPrincipalName,whenCreated,whenChanged
    | Export-CSV Allusers.csv -NoTypeInformation -Encoding UTF8
    only one problem is that Manager column is generating this outcome rather showing exact name of the line Manager .
    CN=Mr XYZ ,OU=Users,OU=IT,OU=Departments,OU=Company ,DC=organization,DC=com,DC=tk

  • What can be the reason behind getting the Dialer Detail

    what can be the reason behind getting the Dialer Detail
    CallResult = 2 "Error condition while dialing"

    Sorry buddies, for bothering you, without providing enough details.
    We are running Java based ERP for our client, with Oracle Application Server 10.1.3.1.
    OS is Sun Solaris 10
    Database is Oracle 11g
    We found the following errors in /product/10.1.3.1/OracleAS_1/Apache/Apache/logs/error_log file.
    [Mon Jun  8 11:01:41 2009] [error] [client <ipaddr>] [ecid: 1244439100:<server ip>:17034:0:70,0] mod_oc4j: request to OC4J iisapp:8890 failed: AJP error: bad header
    [Mon Jun  8 11:11:36 2009] [error] [client <ipaddr>] [ecid: 1244439685:<server ip>:16312:0:2255,0] request failed: error reading the headers
    [Mon Jun  8 13:25:52 2009] [warn] [client <ipaddr>] oc4j_socket_recvfull timed out
    We have done the following changes recently
    => KeepAlive TImout changed to 5 secs from default 15
    => Changed the MaxPermSize to 512M in opmn.xml
    => Our Max Clients setting changed to 350 from default 150.
    Can someone help us by providing the possible reasons for the occurence of said errors.
    Regards,

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • Table in which if I put the delivery number ..I should get the HEADER TEXT

    Dear Members,
    I am checking for a table in which if I put the delivery number ..I should get the HEADER TEXT. Does such table exists or a Z report shoudl be created for this kind of setup.
    Regards,

    Hi,
    There are two Tables in which the texts will be stored
    One is STXH -
    TEXT HEADER
    other   STXL------- TEXT ITEM
    If you want to get the Header text then input the values in the table
    In STXH
    TEXT OBJECT     is    VBBK
    TEXT NAME      is      DELIVERY NUMBER
    TEXT ID             is       ZS01  ( this is the standard ID for the  Header note 1 )
    Now goto SE37 and give the Function Module READ_TEXT and maintain all the above details and get the TDLINE Which contains the TEXT of the Delivery
    regards,
    santosh

  • Function module for getting the partner details and Classifications

    Hi,
    Can any one tell me FMs for getting the Partner Details and for getting the characteristics associated with an equipment??
    Thanks

    Hi Anu,
    are you talking about the SAP Business Partner???
    Well, if yes, then just check the FM 'BAPI_BUPA_CENTRAL_GETDETAIL'.
    Or just search for oher FMs with BAPI_BUPA*.
    Hope this helps...
    Ciao Bernhard

  • Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?

    Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
    I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
    FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
    Thanks!

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • Z-Report for PR using ES language not getting the Header and Item text deta

    Hi,
    We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data,
    Secondly when We select language EN and execute the report then we are getting the Header and Item text details.
    Please guide me.
    Thanks
    Shital

    Have you maintained Tetexxt in ES language or is it that you are expecting  on selecting ES the text from En will get coverted to ES and display in your report?

  • Function module to get the BOM details for a material-plant combination

    hi
    Is there any function module to get the BOM details such as
            BOM Usage       -STLAN
            Alternative BOM -STLAL
            Items                -POSNR
            Required Quantity-EMENG
            Resulting Quantity-MENGE
            Unit of measure    -BMEIN
            Base unit of measure-MEINS
    for a given material-plant combination
    if so please suggest me some FMs.................
    Awaiting for ur reply..............

    try the below fm it may be useful for you
    DATA : BEGIN OF I_BOM OCCURS 0.
            INCLUDE STRUCTURE STPOX.
    DATA : END OF I_BOM.
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
    Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
    regards
    shiba dutta

  • Getting the terminal Details of the user

    Hi there all,
    I have one requirement. I have a application (forms 6i, oracle 9i) which is used by 25 odd users concurrently on Windows OS.
    I need to know the terminal details of each user.
    If we have different oracle users, we can get the terminal ID's. Given that back end user id is same and only front end login ID's differ, how can one get the terminal details of every user.Looking forward for suggestions.
    Thanks in Advance.
    Regards,
    Ajeet

    If you are web deployed you can use the webutil package to do this.
    Regards
    Grant Ronald
    Forms Product Management

  • How to get the input details on the output screen in T code KCR0

    Hi All,
    How to get the input details on the output screen in T code KCR0, the issue is that we need to get the input details like Company code and payment date on the output screen while executing the report painter via t code KCR0.
    I tried to chane the settings via t code KCR6 but still didn't get the required output details.
    Regards,
    Ajay

    This is the asset accounting forum.  You should post your question in the proper forum.

  • I need a Functional module to get the header material from the component .

    Dear Guru's
    Please help me .
    I need a name of the Functional module to get the header material from the component .
    As in if I put the Component in the Input I should get ALL the Main header materials using this Component.
    Regards,
    Roshan Lilaram Wadhwani.

    This was not answered

Maybe you are looking for