PS Transaction CJ20N - Exit before displaying project?

Hello fellow ABAPers!
I need to insert code before displaying a project in transaction CJ20N. This is both for validation and initialization purposes. Some fields need to be disabled and some fields need to have default values.
I have searched the net but with no luck. I have tried several exits (inserted BREAK-POINTs) but nothing seemed to work.
Is there any exit available for this? How can I proceed?
Any help that would lead to the right direction would be appreciated.
Kyle

I'm not actually sure how this works but Transaction and Screen Variants won't solve the requirement.
The problem we're having is a need for material level validation. Is there a way to do this in CJ20N?
Thanks for any helpful answers!
Kyle

Similar Messages

  • Workflow: call transaction CJ20N not displaying customized screen

    Experts,
    My workflow needs to call transaction CJ20N. so that the user can accept a customized field on the project display. When I called the transaction, I did not see the customized fields on the display. I need to call transaction CJ20N that will display all the fields that have been customized on the screen display. I am not using SET PARAMETER before I make the call as it was unclear to me what the SET PARAMETER is used for.
    Any clue would be appreciated.
    thank you
    david Dittmer

    Hello Modak,
    I agrree that a parameter ID will not solve this issue. To test I built a stand alone ABAP program with the following code:
    data: bdcdata_wa typr bdcdata,
    bdcdata_tab type table of bdcdata.
    clear bdcdata_wa,
    bdcdata_wa-program = 'SAPLCNPB_M'.
    bdcdata_wa-dynpro = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    append bdcdata_wa to bdcdata_tab.
    bdcdata_wa-fnam = 'PSP'.
    bdcdata_wa-fval = 'P.2009.00002'.
    append bdcdata_wa to bdcdata_tab.
    Call transaction 'CJ20N' using bdcdata_tab.
    This call works  just fine in a stand alone ABAP but will not work in a workflow method....any suggestions or clues
    Thank you

  • Project Systems - Transaction CJ20N

    Hi all,
    In the transaction CJ20N(Project builder) for the creation of the WBS element, client has enhanced 2 fields, Investment program name(PRNAM) and investment program indicator(posid),apart from the standard fields available in PRPS table. Is there any BAPI/BADI/FM to create multiple WBS elements and the BAPI table should include these both fields PRNAM and POSID apart from the fields available IN PRPS table.  
    I used BAPI_BUS2054_CREATE_MULTI. But this BAPI table doesnot include PRNAM and POSID fields.
    Kindly post your solutions.
    Or is there any other method to solve this problem.

    Hi ,
    u have to make use of Extensions of that BAPI to populate Customer Fields.
    FU BAPI_BUS2054_CREATE_MULTI
    Text
    Create WBS Elements by BAPI
    Functionality
    WBS elements can be created for a project with BAPI "BAPI_BUS2054_CREATE_MULTI". To do this, parameter "I_PROJECT_DEFINITION" must contain the project definition for which the WBS elements are to be created. The individual WBS elements with all required values must be entered in table "IT_WBS_ELEMENT_TABLE".
    The WBS elements are created next to each other, in the same sequence as in table "IT_WBS_ELEMENT_TABLE". A WBS element under which the new WBS elements are to be created can be specified in parameter "I_WBS_UP". A WBS element that is to be located directly to the left of the new WBS elements can be specified with parameter "I_WBS_LEFT". If "I_WBS_LEFT" is not specified, the new WBS elements are added on the left-hand side. If I_WBS_UP is also not specified, the new WBS elements are added on the left and on the first level.
    Before anything is created, the following is checked:
    Is another project already being processed in the LUW (Logical Unit of Work)?
    Can the project be locked?
    If one check is not successful, nothing is created. Otherwise, each WBS element is changed individually in "IT_WBS_ELEMENT_TABLE", although the following is checked first:
    Is the data consistent?
    If all checks are succussful, the individual WBS element is created in the document tables. Afterwards, the hierarchy is updated, that is the new elements are added in the appropriate place as described above. If an error occurs while this is being carried out, the new elements are created on the right-hand side, on the first level, and an error message is generated in the return table. An error can occur if the WBS element in I_WBS_UP and I_WBS_LEFT does not exist in the specified project, or I_WBS_UP is not directly above I_WBS_LEFT if both are specified, or because an inconsistency occurs in the hierarchy for another reason.
    As soon as a LUW (Logical Unit of Work) is completed with BAPI BAPI_PS_PRECOMMIT and COMMIT WORK, the WBS elements are finally changed.
    Only one project or WBS element from a project can be processed at a time in a LUW.
    The return parameter RETURN displays first an error or success message that shows whether the WBS elements could be created. The first message variable contains the object type, the second contains the object ID, and the fourth contains the GUID (if it could be read). All related messages that were generated during processing are listed underneath the error or success messages. The parameters of the individual messages are filled with the object ID.
    Notes
    1. Definition "Processing Unit"
    In the following, the term "processing unit" refers to a series of related processing steps.
    The first step in a processing unit is initialization, which is done by calling the BAPI BAPI_PS_INITIALIZATION.
    Afterwards, the individual BAPIs listed below can be used several times, if required.
    The processing unit ends when the final precommit (call BAPI BAPI_PS_PRECOMMIT) is executed with a subsequent COMMIT WORK (for example, the statement COMMIT WORK, the BAPI "BAPI_TRANSACTION_COMMIT" or the BapiService.TransactionCommit method).
    After the final COMMIT WORK, the next initialization opens a new processing unit via the BAPI "BAPI_PS_INITIALIZATION".
    In principal, the following applies to each individual processing unit.
    2. Creation of a Processing Unit
    Each processing unit must be initialized by calling the BAPI "BAPI_PS_INITIALIZATION" once.
    Afterwards, the following individual BAPIs can be used within a processing unit - they can also be used more than once, taking into account the "One-Project-Principle" explained below. This also means that an object created in the current processing unit by a CREATE-BAPI can be changed by a CHANGE-BAPI or STATUS-BAPI.
    Except for the BAPIs explicitly named below, you can only call up BAPIs that execute GET methods or READ methods only. In particular, the BAPIs for confirming a network may not be used with the individual BAPIs named below!
    Business Object ProjectDefinitionPI
    BAPI Method
    BAPI_BUS2001_CREATE ProjectDefinitionPI.CreateSingle
    BAPI_BUS2001_CHANGE ProjectDefinitionPI.Change
    BAPI_BUS2001_DELETE ProjectDefinitionPI.Delete
    BAPI_BUS2001_SET_STATUS ProjectDefinitionPI.SetStatus
    BAPI_BUS2001_PARTNER_CREATE_M ProjectDefinitionPI.PartnerCreateMultiple
    BAPI_BUS2001_PARTNER_CHANGE_M ProjectDefinitionPI.PartnerChangeMultiple
    BAPI_BUS2001_PARTNER_REMOVE_M ProjectDefinitionPI.PartnerRemoveMultiple
    Business Object WBSPI
    BAPI Method
    BAPI_BUS2054_CREATE_MULTI WBSPI.CreateMultiple
    BAPI_BUS2054_CHANGE_MULTI WBSPI.ChangeMultiple
    BAPI_BUS2054_DELETE_MULTI WBSPI.DeleteMultiple
    BAPI_BUS2001_SET_STATUS WBSPI.SetStatus
    Business Object NetworkPI
    BAPI Method
    BAPI_BUS2002_CREATE NetworkPI.CreateFromData
    BAPI_BUS2002_CHANGE NetworkPI.Change
    BAPI_BUS2002_DELETE NetworkPI.Delete
    BAPI_BUS2002_ACT_CREATE_MULTI NetworkPI.ActCreateMultiple
    BAPI_BUS2002_ACT_CHANGE_MULTI NetworkPI.ActChangeMultiple
    BAPI_BUS2002_ACT_DELETE_MULTI NetworkPI.ActDeleteMultiple
    BAPI_BUS2002_ACTELEM_CREATE_M NetworkPI.ActElemCreateMultiple
    BAPI_BUS2002_ACTELEM_CHANGE_M NetworkPI.ActElemChangeMultiple
    BAPI_BUS2002_ACTELEM_DELETE_M NetworkPI.ActElemDeleteMultiple
    BAPI_BUS2002_SET_STATUS NetworkPI.SetStatus
    The processing unit must be finished by calling the BAPIs BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT (in that order).
    3. One-Project Principle
    For technical reasons, only the project definition and the WBS elements of one project can be processed in a processing unit.
    More than one project is used, for example, if
    You create or change more than one project
    You have changed a project and want to change a network to which WBS elements from a different project are assigned
    You want to change various networks to which WBS elements from different projects are assigned
    You create or change a WBS assignment in a network so that a WBS element from a second project is used
    WBS elements from different projects are already assigned to a network (note: this type of network cannot be processed with the network BAPIs named above).
    If you define a report for calling BAPIs, this means that:
    The report may use a maximum of one project per processing unit. The individual BAPI calls must be distributed between more than one processing unit, which use a maximum of one project per processing unit.
    4. All-Or-Nothing Principle
    If an error occurs in a processing unit in an individual BAPI or in the BAPI "BAPI_PS_PRECOMMIT" (that is, the return table ET_RETURN contains at least one message of the type "E" (error), "A" (abnormal end) or "X" (exit), posting is not possible.
    If an error occurs in an individual BAPI and despite this you call the BAPI "BAPI_PS_PRECOMMIT", message CNIF_PI 056 is issued with message type I (information).
    If an error occurs in an individual BAPI or in the BAPI "BAPI_PS_PRECOMMIT", but despite this you execute a COMMIT WORK, the program that is currently in process is terminated and message CNIF_PI 056 is issued with message type X.
    This is to ensure data consistency for all objects created, changed, and/or deleted in the processing unit.
    Note that the processing unit to which this happens can no longer be successfully closed and therefore, no new processing unit can be started.
    However, you can set the current processing unit back to an initialized status by using a rollback work (for example, statement ROLLBACK WORK, the BAPI "BAPI_TRANSACTION_ROLLBACK" or the method BapiService.TransactionRollback). Technically speaking, this means that the previous LUW is terminated and a new LUW is started in the current processing unit.
    Note that in this case, the current processing unit does not have to be re-initialized.
    Also note that the rollback also takes place according to the "all-or-nothing" principle, that therefore all individual BAPIs carried out up to the rollback are discarded. After a rollback, you can, therefore, no longer refer to an object that was previously created in the current processing unit using a CREATE-BAPI.
    However, you can close the processing unit again after a rollback, using a PRECOMMIT and COMMIT WORK, as long as all individual BAPIs, and the precommit carried out after the rollback, finish without errors.
    You can carry out several rollbacks in a processing unit (technically: start a new LUW several times).
    5. Procedure in the Case of Errors
    As soon as an error occurs in an individual BAPI or in the BAPI "BAPI_PS_PRECOMMIT", you have the following options:
    Exit the report or the program that calls the BAPIs, the PRECOMMIT and the COMMIT WORK.
    Execute a rollback in the current processing unit.
    6. Rules for Posting
    After you have successfully called the individual BAPIs of a processing unit, you must call the PRECOMMIT "BAPI_PS_PRECOMMIT".
    If the PRECOMMIT is also successful, the COMMIT WORK must take place directly afterwards.
    In particular, note that after the PRECOMMIT, you cannot call other individual BAPIs again in the current processing unit.
    It is also not permitted to call the PRECOMMIT more than once in a processing unit.
    7. Recommendation "COMMIT WORK AND WAIT"
    If an object created in a processing unit is to be used in a subsequent processing unit (for example, as an account assignment object in a G/L account posting) it is recommended to call the commit work with the supplement "AND WAIT" or to set the parameters for the BAPI "BAPI_TRANSACTION_COMMIT" accordingly.
    8. Field Selection
    The field selection is a tool for influencing the user interface (that is, for the dialog). In the BAPIs, the settings from the field selection (for example, fields that are not ready for input or required-entry) are not taken into account.
    9. Using a date in the BAPI interface
    The BAPI must be provided with the date in the internal format YYYYMMDD (year month day). No special characters may be used.
    As a BAPI must work independent of user, the date cannot and should not be converted to the date format specified in the user-specific settings.
    10. Customer Enhancements of the BAPIs
    For the BAPIs used to create and change project definitions, WBS elements, networks, activities, and activity elements, you can automatically fill the fields of the tables PROJ, PRPS, AUFK, and AFVU that have been defined for customer enhancements in the standard system.
    For this purpose, help structures that contain the respective key fields, as well as the CI include of the table are supplied. The BAPIs contain the parameter ExtensionIN in which the enhancement fields can be entered and also provide BAdIs in which the entered values can be checked and, if required, processed further.
    CI Include Help Structure   Key
    CI_PROJ BAPI_TE_PROJECT_DEFINITION   PROJECT_DEFINITION
    CI_PRPS BAPI_TE_WBS_ELEMENT   WBS_ELEMENT
    CI_AUFK BAPI_TE_NETWORK   NETWORK
    CI_AFVU BAPI_TE_NETWORK_ACTIVITY   NETWORK ACTIVITY
    CI_AFVU BAPI_TE_NETWORK_ACT_ELEMENT   NETWORK ACTIVITY ELEMENT
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed, for which you want to enter customer-specific table enhancement fields, add a data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the keys that identify the table rows and then with the values of the customer-specific fields. By structuring the container in this way, it is possible to transfer its content with one MOVE command to the structure of the BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are overwritten (as opposed to the standard fields, where only those fields for which the respective update indicator is set are changed). Therefore, even if you only want to change one field, all the fields that you transfer in ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the BAPI is processed further (if you only want to transfer the fields of the CI includes, no more action is required here).
    For more information, refer to the SAP Library under Cross-Application Components -> Business Framework Architecture -> Enhancements, Modifications ... -> Customer Enhancement and Modification of BAPIs -> Customer Enhancement of BAPIs (CA-BFA).
    Further Information
    For more information, refer to the SAP Library under Project System -> Structures -> Project System Interfaces -> PS-EPS Interface to External Project Management Systems.
    Parameters
    I_PROJECT_DEFINITION
    IT_WBS_ELEMENT
    ET_RETURN
    EXTENSIONIN
    EXTENSIONOUT
    Exceptions
    Function Group
    CJ2054
    Regards
    Prabhu

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • EXIT for transaction CJ20N

    Hello everyone,
    I'm having trouble adding code to the transaction CJ20N by user-exit or badi.
    What i want do is, when editing and trying to add a new material, i want to check first if field RESBD-LGORT is filled. If not, send error message that field is obligatory.
    I tried user-exit EXIT_SAPLCOMK_004, that works fine ONLY IF item category (RESBD-POSTP) is empty. If item category is filled, the user-exit is ignored.
    Can anyone guide me to other user-exit or badi ? I allready tried searching for badi's, but didn't get anything.
                               Thank you in advance.

    Hi
    try with this user exit CNEX0003
    EXIT_SAPLCJSS_002 - Data SAP - > Sub screen
    move-corresponding SAP_PROJS_IMP to proj
    EXIT_SAPLCJSS_003 - Subscreen - > SAP
    MOVE-CORRESPONDING PROJ TO CNCI_PROJS_EXP.
    Regards
    Kiran Sure

  • HT1583 I have completed a project. When I burn to disc it exits before the end. There is enough room on the disc

    Hi All
    I have a project  in IMovie11 to burn to IDVD. It exits before the end when not complete. The disc is 4.7 GB and the projetc is 4 GB
    One has completed and the others has not
    Any Ideas please?

    What encoding settings did you use?
    iDVD encoding settings:
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/11417.html
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    That was for single-layer DVDs. Double these numbers for dual-layer DVDs.
    Professional Quality: The Professional Quality option uses advanced two-pass technology to encode your video (The first pass determines which parts of the movie can be given greater compresson without quality loss and which parts can’t.  The second pass then encodes those different parts accordingly) , resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned about the time taken.
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • Project Builder Transaction CJ20N

    I need an example of Transaction CJ20N.

    Hi Dennis,
    Refer: SAP NOTES: 568313
    ALso Try the below mentioned link
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/25f650085b4f7296d6539fe08efe47/frameset.htm
    Event for Project Definition CJ20n
    Hope this is useful.
    Pls assign points as way to say thanks

  • CJ20N tcode in display mode

    Dear Experts,
    I have a task step in workflow. I use a BO method in it . In that method I need to write code to open CJ20N tcode in display mode. I want to know is there any tcode to display CJ20N in display mode. If yes then using call transaction i can go directly to that tcode.
    If not then please tell me what code or procedure should i do in order to open CJ20N tcode in display mode. (As per requirement i want to open that tcode in display mode alone. No need to go back to change mode. The task is only for reviewing the tcode).

    Hello Bharath,
    I am not sure as to whether you can call the tcode CJ20N directly in a method. Instead of that, you can use separate methods to display the project definition, WBS and Network activity.
    Use the respective display methods in the following BOs...
    BUS2001 -- Project Definition
    BUS2054 -- WBS
    BUS2002 -- Network
    PSAFRU --- Network confirmation
    Hope this will help you.
    Thanks,
    Samson

  • Web Interface - "Execute function before displaying the layout" issue

    Hi Experts,
    In my project we have converted some BPS planning folder to Web interface. The steps are as below:
    1) Open the BPS planning folder using upspm. Copy the web interface as Web Enabled folder.
    2) Generate the web interface by clicking on go to --> Generate web interface
    3) Run transaction bps_wb. Open the web interface. Then generate web interface again
    4) Run the web interface by clicking on 'Display perview'
    5) In the web interface there are some some functions which get executed before displaying the layout.
    6) For such functions, push button gets created.
    7) I have set the visible property of such push button as false.
    8) Most of the time, when I am running the web interface, it
    is getting executed successfully.
    9) Some times, the web interface is not displaying the layouts successfully.In such cases I have observed that "Execute function before displaying the layout" is not working. Due to this some values like Fiscal Year is not getting set. So, the layout is not getting displayed.
    10) I understand that it may be due to compilation error.
    For example, I might have made some changes in the web interface. It must be saved and web interface must be regenerated before I diplay the interface again. Can you please help me in understanding the reason of this problem.
    11) Can you please help me understand the cause of point no 9. Is it a non-issue? What may be the reason that "Execute function before displaying the layout" does not work every time.
    Thanks

    Will a function that runs, before the data gets saved, work for you? You can configure such a function to run before the save command behind the save button you create in the planning application.

  • Screen exit to display subscreen

    Hi every body,
    i'm programming a screen exit, to display User subscreen for notification header. (user exit QQMA0001)
    i added my own fields in QMEL table as include structure, i crete the screen 100 as empty screen.
    the problem is that fields dont appear on the screen.
    Please help!
    A+
    Ihsen ABROUG

    already done, i create the screen 100,
    but i see in spro that the screen must be created as an empty subscreen.
    i just create the screen in my cmod project by double clicking on screen 100 as an empty subscreen and i activate.
    although i dont need the 2 function exits, i activated them by creating the two zz includes!
    but still not working.
    do you think i must create on the screen painter the fields!

  • Calling Transaction CJ20N

    Hi all,
    I am attempting to call trans. CJ20N when user clicks on a particulart WBS elements or project in an ALV report. If the user clicks on WBS element, CJ20N should open with that WBS elements selected. If the user clicks on project, CJ20N should open with that project. Can anyone tell me how i can pass the selected parameter to CJ20N.
    regards,
    Hamza

    Call transaction CJ20N (open element PEP) from ALV.
    I need help about that.
    My program runs the CJ20N calling the first screen, then called the search window PEP,
    but nothing appears, only the initial screen.
    DATA: bdcdata_wa TYPE bdcdata,
    bdcdata_tab TYPE TABLE OF bdcdata.
    CLEAR bdcdata_wa.
    *- initial screen----
    bdcdata_wa-program = 'SAPLCNPB_M'.
    bdcdata_wa-dynpro = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    *----- search document PEP -
    bdcdata_wa-program = 'SAPLCNPB_W'.
    bdcdata_wa-dynpro = '0900'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    *---- parameter -
    bdcdata_wa-fnam = 'PRO'.
    bdcdata_wa-fval = 'XX.XXXX.X.XXX.XXXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CALL TRANSACTION 'CJ20N' USING bdcdata_tab.
    Thanks.

  • Security check before displaying data in SXMB_MONI tcode

    Hi All,
       I need help in integrating a security check before displaying the archived data when we execute SXMB_MONI tcode.
    Only authorized person can view the archived HR related data .
    My analysis-There is no BADI or user exit to include a code to check for the authorization.
    Thanks in Advance.
    Regards,
    Mangai.

    Hi Soumya,
    Yes, the issues was resolved in my case. There was problem with certificates and their mismatch was causing this issue.
    You need make sure that certificate for signing and encryption are correct at your end and also same certificates (with same public keys) are used at your third party application to decrypt and validate the signed message you send.
    Regards,
    Deepak

  • How to Fill value in Input fields before displaying ADOBE FORM

    Hi to all,
    Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
    I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
    Please can anyone tell me how to do that in program?
    Below is the program.
    DATA: fm_name           TYPE rs38l_fnam,
            fp_docparams      TYPE sfpdocparams,
            fp_outputparams   TYPE sfpoutputparams.
    Parameters: p_pdf_form_name type fname.
      fp_docparams-langu   = 'E'.
      fp_docparams-country = 'IN'.
      fp_outputparams-preview = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4.
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = p_pdf_form_name
        IMPORTING
          e_funcname = fm_name.
      E_INTERFACE_TYPE           = E_INTERFACE_TYPE
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams        = fp_docparams
      IMPORTING
        /1BCDWB/FORMOUTPUT       = fp_outputparams
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error           = 3.
      CALL FUNCTION 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error        = 3
          OTHERS               = 4.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Jul 25, 2011 2:57 PM

    Hello,
    you need to provide the information via the interface, which you create for the Adobe form.
    And then pass this values via the following function module inside your generation report.
    CALL FUNCTION fm_name
    check standard report : FP_EXAMPLE_01 as an example!

  • Transaction code for Materialdocument display

    Hi Gurus
    Is there any transaction for material document disply
    As I know two transaction are there MB59 and MB51 when look at both of them Material list display if both have same functionality why SAP has developed same reports
    is there any difference between them if so what if not why
    polease clarify with examples
    regards
    sapmm

    Hi
    MB03 is the transaction for material document display.
    In the transaction MB51 you can get all the documents your created with respect to material but in case MB59 you will not get all the documents like material documents not having accounting documents
    For example: posted to blocked stock(103), transfer posting from storage location to storage location within plant
    Regards
    Chetan

  • Store business document inactive in transaction CJ20N

    Hi,
    The option "Store Business Document" is inactive in the transaction CJ20N.
    I saw a couple of forums that said that I have to create an archive link for this but I don't know for example what "Object Type" I can use for this in the transaction "OAC3" or what steps I have to follow to enable this option.
    Thanks for the help!

    Hi,
    I think that I figure it out how can I activate the "store business document" using your comments and this forum:
    Activate GOS business application for object PREL
    Now, my question is, could I use any TOA0# table when I'm creating an object type in the transaction OAC3?
    I saw that in my system I have the tables TOA01, TOA02 and TOA03 created but these tables contains entries.. is ok if I use for example TOA01 for the "Object type" that I have to create?
    Thanks for the help!
    Carlos

Maybe you are looking for

  • N95 v21.0.001 Firmware

    New Firmware will be soon on Nokia Software Updater. Nokia N95 v21.0.001 16-10-07 RM-159 If you find my post useful then click on Kudos!Nokia N96 (v20.050 / RM-247) www.shaysoft.net | Competitions!

  • Transfer of file to a shared folder on remote machine

    Hi, I want to transfer a file present on windows machine A to a shared folder (\\16.192.54.56\Test) on machine B having ip as 16.192.54.56, using java. I tried using the renameTo api of File class but its not helping. It gives permission denied excep

  • Java 6 update 27

    Hello, I had to re-install java6 update 27.  I need this version and update in order to view a specific certificate.  when I  run sun java console or the certificate I get a message saying internet explorer is not working.  Does anyone have any idea

  • Precautions for end of DST

    Hello, We have Netweaver 7.0 and ECC 6.0 on Win+Oracle(10.2.0.4). Client is asking us to stop SAP and DB of all systems 1 hour before end of DST and start them again 1 hour after that. Is there any provision in SAP and/or Oracle for DST, so that we d

  • 0x8002006E error while copy from time machine files

    what does this error mean?  got it by Rclick some folders in Time Machine disk that I hoped to copy to a CD I read you are not to manipulate timemachine files, but the apple genius told me it's OK to burn