LDB in webdynpro

Hi,
like LDB(PNP,PCH,PAP etc) in se38 Report for HCM module is there any standard way to declar a LDB in webdypro report.Kindly help me if anybody knows...
Regards,
Raj.

Hi,
I think there is no way to call/use the LDB in WDA.
Please try to achieve the same using any related standard BAPIs.
Please check out this on the same -
How to write ABAP HR reports in ABAP web dynapro
Regards,
Lekha.

Similar Messages

  • Regarding LDB in webdynpro

    Hi,
    like LDB(PNP,PCH,PAP etc) in se38 Report for HCM module is there any standard way to declar a LDB in webdypro report.Kindly help me if anybody knows...
    Regards,
    Raj.

    Hi,
    Post this in WebDynpro forum for the quick replies......

  • Need info about HR realted data in webdynpro

    Hi experts,
           I am very new to hr module to use in webdynpro abap.
    I want to extract HR data in webdynpro view.
    Where should I give Logical Database PNP?
    The ifnotypes key word is not accepting in Webdynpro coding?
    Please give me all the info which you can give.

    Hi Srinivas
    We cannot use LDB in WebDynpro Programming.
    Atlernate to fetch the data from infotypes is Create class SE24 and one method in this call HR_READ_INFOTYPE to get the data from whatever infotype you want..
    Aftertaht call the class of method by creating one reference object to that class...
    Thanks and Reagrds
    Tulasi Palnati

  • Logical database in web dynpro program

    Hi all,
    I want to add LDB (PNP) into my web dynpro program.by which i can get the data from database to the Application server.After Authrization check.
    I also want to use Infotypes 0082 in my program.
    Points will be sured.
    Thanks.

    Sanket,
    Can you explain "add LDB"? Webdynpro gets data and displays data from R/3. So any LDB has to be part of the RFC/BAPI you call.
    Same with infotype. If you want to "use" the structure of an infotype in Webdynpro, this structure needs to be part of the import/export of RFC/BAPI's signature.
    Thanks,
    Rajit

  • Can I use logical databases in a WebDynpro ABAP program?

    can I use logical databases in a WebDynpro ABAP program?
    I need to build a WDA screen that is similar to the SAPDBPNP selection screen (user can find the personnel number based on several criteria, such as last_name/first_name of the employee).  So it seems that the existing logical databases have already many nice features already built (like the selection screens, the logic behind the screens etc). So I was wondering if/how I can use them in my WDA application.

    Hello, Tiberiu.
    You cannot use LDB directly within your WDA programa. BUT, you can fetch results from this LDB by using FM LDB_PROCESS. This function module can be called anytime from any kind of ABAP program. But you will still have to create the screen, as it only processes data, not screens.
    Regards,
    Andre
    PS: Pls reward points if it helps.

  • Can I use logical databases in a WebDynpro for ABAP program?

    can I use logical databases in a WebDynpro ABAP program?
    I need to build a WDA screen that is similar to the SAPDBPNP selection screen (user can find the personnel number based on several criteria, such as last_name/first_name of the employee).  So it seems that the exisinting logical databases have already many nice features already built (like the selection screens, the logic behind the screens etc). So I was wondering if/how I can use them in my WDA application.

    Hi
    Please let me also know the solution to this. I am a beginner to WebDynpro  and want to know if I can make use of LDB's as we do in our normal HR programming do develop a WDA in HR.
    Thanks and regards,
    Uma.

  • ABAP HR  LDB

    Hi Friends,
    I am supposed to develop an ABAP-HR report using WebDynpro ABAP concepts.
    Has anyone of you worked with such requirement.
    I want to know how to use features of LDBs (selection-screens,authorization checks, macros) with WebDynpro ABAP.
    thanks in advance,
    Nilesh

    Hi Nilesh,
    LDB has a various advantages over noraml reporting.
    1. Selection screen: It gives standard selection screen, no need of creating the screen in program.
    For HR you can use PNP or PNPCE LDB. PNP has two screens 000- normal master data processing, 900- for payroll processing. You can change the screen according to u also. Go to report attribute assign PNP as LDB then press enter you ll see report catagory. There we change the screen.
    2. Data retirval. PNP helps in easy data retrival from all the PA and OM infotypes. You can check below exampls.
    EX.1
    TABLES: PERNR
    INFOTYPES: 0000, 0001, 0002.
    GET PERNR.
    LOOP AT P0002 WHERE ENDDA GE PN-ENDDA
                             AND      BEGDA LE PN-ENDDA.
    WRITE....(UR CODE)
    ENDLOOP.
    EX 2.
    TABLES: PERNR
    INFOTYPES: 0000, 0001, 0002.
    GET PERNR.
    PROVIDE * FROM P0002
    BETWEEN PN-BEGDA AND PN-ENDDA.
    WRITE....(UR CODE)
    ENDPROVIDE.
    EX 3. Use of Macro
    TABLES: PERNR
    INFOTYPES: 0000, 0001, 0002.
    GET PERNR.
    RP-PROVIDE-FROM-LAST 0000 SPACE PN-BEGDA PN-ENDDA.
    Gives the last record from infotype 0000.
    RP-PROVIDE-FROM-FRST 0000 SPACE PN-BEGDA PN-ENDDA.
    Gives the first record from infotype 0000.
    IF PNP-SW-FOUND = '1'. Like sy-subrc check
    ENDIF.
    3. PNP does the default authorization checks according to the structural  authorization.
    You can use PNPCE LDB for concurrant employement.
    For more details refer HR350
    Br/Manas

  • Which include i can use instead of PNP LDB

    Hi Friends -
    Which standard include i can use for PNP  LDB  ?
    am working in abap webdynpro and need to use some macro like rp_provide_from_last  but for them we have to use pnp ldb and in abap webdynpro we can't define  LDBs    so  i need the standard Include prog which can fulfill my requirment ..
    Pls share your inputs on this.
    Regards
    Meeta

    Hi Txs for your quick turn,
    could you pls tell me what is wrong in my this code ,
    include DBPNPMAC .
    INFOTYPES 0000.
    DATA: pnp-sw-found,
    pnp-sy-tabix like sy-tabix.
    parameters :  p_begda like pa0001-begda,
                  p_endda like pa0001-endda.
    START-OF-SELECTION.
    RP_PROVIDE_FROM_LAST p0000 space p_begda p_endda .
    if PNP-SW-FOUND = 1 .
    write : / p0000-pernr,p0000-begda,p0000-endda.
    endif.
    end-of-selection.
    am not getting any output  but if  i use  LDB pnp and  get pernr i will get  ..
    but i cant use LDB  pls  suggest me what i shd do ?
    Regards
    Meeta

  • Logical Database in Webdynpro

    Hello,
    I have a program in R/3 that is based on a logical database. I don't want to have to write the program all over again in Webdynpro.
    Is there a way to use the logical database in Webdynpro for ABAP.

    Basically WDA calls a FM and then the following help is a good starting point:
    "Calling a Logical Database Using a Function Module"
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    Kindly close the thread and award appropriate a points to the answer given.
    Sergio

  • Filename in Webdynpro for a PDF created with Smartform

    Hi,
    I created a PDF with Smartform in my Webdynpro-Application.
    When I click the save button there is a default filename f.pdf .
    How can I change the filename?
    Regards
    Marcus Schug

    Hi Experts,
    any update on this?
    I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
    I spent a lot of time to find any possibility to get and change the file name but without success till now.
    Please respond.
    Regards,
    Zdzislaw Kaczmarczyk
    Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Hiding a subview called in a main view in WEBDYNPRO Application

    Hello Experts,
    I have a scenario in which i am calling a subview inside a main view. I have created a main view in which:-
    1. List of reportee to the manager logged in is getting displayed in the form of a table.
    2. When we select any row of this table ( means selection of any reportee row) and click on a button 'Get Details', then it  should display the detailed personal data of that reportee.
    I have successfully called an already created personal data view inside this main view to display the detailed personal data of any selected reportee. But the issue is in the main view:-
    1. This view has table containing the list of reportee getting displayed.
    2. This view simultaneously also displays the default first row detailed data of the table of reportee.
    Our requirement is:-
    1. To display only table containing the list of reportee in the first load of main view.
    2. Then when any row of this table is selected, then only the detailed data specific to that row should be displayed.
    My approach till now is:-
    1. I have removed the default first row lead selection for the table of reportee.
    2. I have created a node VISIBILITY_DET_DATA and then an attribute IS_VISI BLE under that node of type WDUI_VISIBILITY.
    3. In the layout section i have created a group GROUP_DETAIL_DATA and a view container UI element under that to call the detailed data view when any row of table containing the list of reportee is selected.
    4. I have created a binding for the VISIBLE  property of the group GROUP_DETAIL_DATA to the attribute IS_VISI BLE created in the context of the component contoller.
    5. I have then used the method WDDOINIT of the main view to write code to hide the detailed data view by setting the IS_VISIBLE flag to '02' i.e. NONE.
    But this is causing the entire view to be coming as blank view.
    I am not sure why this is happening, Can any of you suggest if i am missing anything important which is cauing this analomy.
    Rupesh

    Hi ,
    This is a Webdynpro related question. you would have got many repsonses if you posted in webdynpro forum.
    i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
    You can do a post_exit enhancement in the  MODIFYVIEW method. Get the UI element object  from view and There are methods to set the visibility at runtime.
    Is there an option to dynamically specify diffent image based on the login language with the IMage container?
    i think yes, same procedure as first question's answer. Based on condition you can change the source path of the mime object .

  • How to create a calender view in webdynpro java EP 7.0

    Hi ,
    I want to create a calender view in webdynpro,
    Requirments are
    1. it should be current month view
    2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
    ie
    1
    10am | 4pm
    Is this possible in webdynpro java EP 7.0 ?
    Please help me
    Thanks
    Kumar

    Hi Kumar,
    If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
    Regards,
    Ganesh N

  • WebDynpro Error while creating a Purchase Order in SRM 7.0

    Hello Friends,
    I need help.
    We are on SRM 7.0 with support pack 8.0 and  we are getting the below error wile clicking on Shopping cart or Purchase Order link in Portal.
    Any idea on how to resolve this error.
    Thanks
    Jyothi.
    http://sapsrm.erpcx.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    ASSERTION_FAILED
    The ASSERT condition was violated.
    Method: ADD_EVENT_TO_QUEUE of program CL_FPM========================CP
    Method: IF_FPM~RAISE_EVENT of program CL_FPM========================CP
    Method: SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: IF_COMPONENTCONTROLLER~SET_CREATE_BUTTON_ACTIVE of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: RESET_SCREEN of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: IF_V_PRSEL~RESET_SCREEN of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/0FJM4718F184UKVHA34J==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP

    Here is what I see:
    Error analysis                                                                                |
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    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:
    "ASSERTION_FAILED" " "
    "CL_FPM========================CP" or "CL_FPM========================CM004"
    "ADD_EVENT_TO_QUEUE"
    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.
    |

Maybe you are looking for

  • Material Description in SO from Customer-Material Info Record

    Hi, Currently whenever user is entering the customer material number in SO item, system is bringing the SAP internal material corresponding to that.  But the material description is coming from the material master only. I want the material descriptio

  • MIR7 - Transport RSEG fields (Append Structure) to BSEG

    Dear enhancers I would like to ask you haw could I approach such a requirement: The RSEG table is appended 2 more ZZ_ fields. Let's say it's ZZ_A and ZZ_B fields. Those fields are populated by the MIR7 transaction. I've got a Z-tab added in line item

  • Returncode 99 in integration-process

    Hallo, since update to SP15 we have problems with our integration-process. Each assignment from a message to a container variable (typ string or int) go on message-type e (error) during activating the integration-process. The message is: Value of the

  • Visio Web Drawing opens all hyperlinks in new tab

    Hi, I created a diagram in Visio 2013 Professional. I saved the diagram as Visio Web Drawing to a Sharepoint document library. I use the web part Visio Web Access to display the diagram on a SharePoint page. The diagram contains some hyperlinks to ot

  • Can you specify a Collection as a inputHidden value?

    I am trying to set an inputHidden field to a List in a JSF Facelets page. However the list is always set to null in the backing bean after the page is submitted. Code:      <h:inputHidden value="#{controllerObj['ttyList']}" />      <h:inputHidden val