LSMW for creating project CJ20N

Hi,
I need to create projects by using transaction cj20n, I tried to find any standard sap project/bapi/idoc that I can use in my LSMW to create the project, but could not find.
Has anyone aware of any standard SAP technique to use in LSMW for creating the project by transaction CJ20N. I am just trying not to create custom recording for the conversion.
Thanks,

I have a program for inserting WBS by Batch-input.
report Z_PS_BI_0001
       no standard page heading
       line-size 80.
*------------------------------- TABLES -------------------------------*
tables : proj ,               " Définition de projet
         prps ,               " Elément d'OTP - données de base
         jest ,               " Statut individuel par objet
         tj02t .              " Textes de statuts système
*-------------------------------- DATA --------------------------------*
types : begin of type_prps ,
          pspnr like prps-pspnr ,
          objnr like prps-objnr ,
          posid like prps-posid ,
          psphi like prps-psphi ,
          pspid like proj-pspid ,
        end   of type_prps.
data itab_prps type sorted table of type_prps
               with unique key pspnr
               with header line
               initial size 30000.
data : bdc_tab type standard table of bdcdata
                    with header line .
*------------------------ OPTIONS DE SELECTION ------------------------*
selection-screen begin of block b1 with frame title text-t01.
  parameters : p_nom(12) type c
                         default 'Z_'
                         obligatory ,
               p_kokrs like proj-vkokr
                       obligatory,
               p_bukrs like bsis-bukrs
                       obligatory .
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-t02.
  select-options : s_pspnr for proj-pspnr ,
                   s_posid for prps-posid .
selection-screen end of block b2.
*-------------------------------- MAIN --------------------------------*
start-of-selection.
* Recherche des données.
  perform p_recherche_donnees.
* Création du dossier batch-input
  perform p_creation_dossier.
* Edition du compte rendu d'execution.
  perform p_edition.
end-of-selection.
*   Procédure P_RECHERCHE_DONNEES.                                     *
*   Recherche des données nécessaires au programme.                    *
form p_recherche_donnees.
  types : begin of type_prhi ,
            posnr like prhi-posnr ,
            up    like prhi-up ,
          end   of type_prhi.
  data itab_prhi type sorted table of type_prhi
                 with non-unique key up
                 with header line
                 initial size 30000.
  data : begin of itab_otp occurs 100 ,
           pspnr like prps-pspnr ,                 " OTP
           pspn  like proj-pspnr ,                 " Projet
           posid like prps-posid ,                 " Texte OTP
           objnr like prps-objnr ,                 " Objet
         end   of itab_otp.
  data : begin of itab_tmp_otp_1 occurs 100 ,
           posnr like prhi-posnr ,
           up    like prhi-up ,
         end   of itab_tmp_otp_1.
  data : begin of itab_tmp_otp_2 occurs 100 ,
           pspnr like itab_otp-pspnr ,
         end   of itab_tmp_otp_2.
  data : v_ligne(9) type n.
* Liste tout les elements d'OTP de niveau 2 pour les projets
* selectionnees.
  select b~pspnr a~pspnr b~posid b~objnr
         into table itab_otp
         from            proj as a
              inner join prps as b
              on b~psphi eq a~pspnr
         where a~pspnr in s_pspnr
         and   a~profl eq '0000010'
         and   a~vkokr eq p_kokrs
         and   b~posid in s_posid
         and   b~stufe eq '2'
         and   b~pkokr eq p_kokrs.
* Tri de la table
  sort itab_otp.
* Chargement de la pseudo PRHI
  select posnr up
         into corresponding fields of table itab_prhi
         from prhi
         client specified
         where mandt eq sy-mandt
         and   up    ne space.
* Extrait la liste des OTP a rechercher.
  append lines of itab_otp to itab_tmp_otp_2.
* Tri
  sort itab_tmp_otp_2.
* Créé la liste des OTPs dépendant des OTPs de niveaux 2.
  loop at itab_tmp_otp_2.
    loop at itab_prhi
         where up = itab_tmp_otp_2-pspnr.
      move : itab_prhi-posnr to itab_tmp_otp_1-posnr ,
             itab_prhi-up    to itab_tmp_otp_1-up ,
             itab_prhi-posnr to itab_tmp_otp_2-pspnr .
      append : itab_tmp_otp_1, itab_tmp_otp_2.
    endloop.
    delete itab_tmp_otp_2.
  endloop.
* Recherche si plus petit niveau.
  loop at itab_tmp_otp_1.
    read table itab_prhi
         with key up = itab_tmp_otp_1-posnr.
    if sy-subrc eq space.
      delete itab_tmp_otp_1.
    endif.
  endloop.
  sort itab_tmp_otp_1 by posnr.
* Recherche de l'objet pour chacun des OTPs trouvés.
  loop at itab_tmp_otp_1.
    select single objnr posid psphi
           into (itab_prps-objnr, itab_prps-posid, itab_prps-psphi)
           from prps
           where pspnr eq itab_tmp_otp_1-posnr.
    if sy-subrc eq space.
      move itab_tmp_otp_1-posnr to itab_prps-pspnr.
      append itab_prps.
    endif.
  endloop.
* Recherche si les OTPs ont bien le statut Budget seul.
  loop at itab_prps.
    select single *
           from jest
           where objnr eq itab_prps-objnr
           and   stat  eq 'E0002'
           and   inact eq ' '.
    if sy-subrc ne space.
      delete itab_prps.
    endif.
  endloop.
* Recherche texte projet.
  loop at itab_prps.
    select single pspid
           into itab_prps-pspid
           from proj
           where pspnr eq itab_prps-psphi.
    if sy-subrc eq space.
      modify itab_prps.
    endif.
  endloop.
* Compte le nombre de ligne à traiter.
  describe table itab_prps lines v_ligne.
  if v_ligne eq space.
    write : /1 'Aucune donnée à traiter.'.
    stop.
  endif.
endform.                    " P_RECHERCHE_DONNEES.
*   Procédure P_CREATION_DOSSIER.                                      *
*   Création du dossier batch-input.                                   *
form p_creation_dossier.
  data : v_estat type j_estat.
* Recherche de la position du statut Budget seul.
  select min( estat )
         into v_estat
         from tj30t
         where stsma eq '00000001'
         and   spras eq sy-langu.
  if v_estat ne 'E0002'.
    write : /1 'Customizing statut modifié ! Programme inutilisable !'.
    stop.
  endif.
* Ouverture du dossier batch-input.
  perform open_bdc using p_nom.
* Boucle sur la table des données.
  loop at itab_prps.
*   Ecran de saisie Projet / OTP
    perform bdc_dynpro using 'SAPLCJWB'
                             '0100'.
    perform bdc_field  using 'BDC_OKCODE'
                             '=LETB'.
    perform bdc_field  using '*PROJ-PSPID'
                             itab_prps-pspid.
    perform bdc_field  using '*PRPS-POSID'
                             itab_prps-posid.
*   Sélectionne la première ligne et demande les statuts utilisateurs.
    perform bdc_dynpro using 'SAPLCJWB'
                             '0901'.
    perform bdc_field  using 'BDC_OKCODE'
                             '=STAT'.
    perform bdc_field  using 'RCJ_MARKL-MARK(01)'
                             'X'.
*   Déselectionne la zone Budget/Seul
    perform bdc_dynpro using 'SAPLBSVA'
                             '0300'.
    perform bdc_field  using 'BDC_OKCODE'
                             '=BACK'.
    perform bdc_field  using 'J_STMAINT-ANWSO(01)'
*   Enregistre et sort.
    perform bdc_dynpro using 'SAPLCJWB'
                             '0901'.
    perform bdc_field  using 'BDC_OKCODE'
                             '=BU'.
*   Enregistrement de la transaction.
    perform insert_bdc using 'CJ02'.
  endloop.
* Fermeture du dossier batch-input.
  perform close_bdc.
endform.                                 " P_CREATION_DOSSIER
*   Procédure P_EDITION.                                               *
*   Edition du compte rendu d'éxecution.                               *
form p_edition.
  write : /1 'Compte rendu de la création du dossier Batch-Input.'.
  skip 2.
  write : /1 'Dossier Batch-Input' ,
             p_nom ,
             'créé avec succés.'.
  skip 4.
  write : /1 'Liste des OTPs que le Batch-Input devrait modifier.'.
  loop at itab_prps.
    write : /5 itab_prps-posid.
  endloop.
endform.                                " P_EDITION.
*   Form OPEN_BDC                                                      *
*   Ouverture du dossier Batch-Input.                                  *
form open_bdc using v_nom_dossier.
  call function 'BDC_OPEN_GROUP'
       exporting
            client              = sy-mandt          " Numéro de mandant
            group               = v_nom_dossier     " Nom dossier batch
            keep                = 'X'               " Code
            user                = sy-uname          " Nom utilisateur
       exceptions
            client_invalid      = 1
            destination_invalid = 2
            group_invalid       = 3
            group_is_locked     = 4
            holddate_invalid    = 5
            internal_error      = 6
            queue_error         = 7
            running             = 8
            system_lock_error   = 9
            user_invalid        = 10
            others              = 11.
  if sy-subrc ne 0.
    write : /1 'Impossible de créer le dossier batch-input.' ,
            /1 'Erreur :' , sy-subrc.
    stop.
  endif.
  refresh bdc_tab.
  clear   bdc_tab.
  exit.
endform.                       " OPEN_BDC
*   Form CLOSE_BDC                                                     *
*   Fermeture du dossier BTCI                                          *
form close_bdc.
  call function 'BDC_CLOSE_GROUP'
       exceptions
            not_open    = 1
            queue_error = 2
            others      = 3.
  if sy-subrc ne 0.
    write : /1 'Impossible de fermer le dossier batch-input.' ,
            /1 'Erreur :' , sy-subrc.
  endif.
endform.                     " CLOSE_BDC
*   Form BDC_DYNPRO                                                    *
*   Alimentation de la ligne d'entête de BDCTAB                        *
form bdc_dynpro using value(progname)
                      value(dynpronr).
* Efface la header-line.
  clear bdc_tab.
* Insertion des valeurs.
  bdc_tab-program  = progname.
  bdc_tab-dynpro   = dynpronr.
  bdc_tab-dynbegin = 'X'.
* Enregistrement des valeurs.
  append bdc_tab.
endform.                    " BDC_DYNPRO
*   Form BDC_FIELD                                                     *
*   Traitement des enregistrements de la structure BDCTAB              *
*      --> FIELDNAME  Nom du champ                                     *
*      --> FIELDVALUE Valeur du champ                                  *
form bdc_field using value(fieldname) value(fieldvalue).
* Efface la header-line.
  clear bdc_tab.
* Insertion des valeurs.
  bdc_tab-fnam = fieldname.
  bdc_tab-fval = fieldvalue.
* Enregistrement des valeurs.
  append bdc_tab.
endform.                " BDC_FIELD
* Form BDC_CURSOR                                                      *
* Positionnement du curseur sur un champ particulier                   *
form bdc_cursor using value(fieldname) value(fieldvalue).
* Efface la header-line.
  clear bdc_tab.
* Insertion des valeurs.
  bdc_tab-fnam = fieldname.
  bdc_tab-fval = fieldvalue.
* Enregistrement des valeurs.
  append bdc_tab.
endform.              " BDC_CURSOR
*   Form  INSERT_BDC                                                   *
*   Insertion dans le dossier BTCI                                     *
*   Attention : la transaction est codée en dur                        *
form insert_bdc using t_code.
  call function 'BDC_INSERT'
       exporting
            tcode            = t_code
       tables
            dynprotab        = bdc_tab
       exceptions
            internal_error   = 1
            not_open         = 2
            queue_error      = 3
            tcode_invalid    = 4
            printing_invalid = 5
            posting_invalid  = 6
            others           = 7.
  if sy-subrc ne 0.
    write : /1 text-003 ,
            /1 'Erreur :' , sy-subrc.
  endif.
  refresh bdc_tab.
  clear   bdc_tab.
endform.                  " INSERT_BDC
comment in french

Similar Messages

  • LSMW for creating Derivation Rules in COPA

    Hi Experts,
    Is it possible to create a LSMW for COPA - Derivation Rules. When I am trying to select Default All tab to update the field name, the system is not permitting me to default the filed names.
    Phani

    Hi Phani ,
    I think your concern is about updating dervation rule values not derivation rule .
    You can cut paste 20 rule values at a time .. so use cut paste .. from excel.. Updating 1000 values will not take more than 20 mins ..
    I have never used LSMW for Derivation rule values.. as from excel you can easily cut paste and do it within 30 mins.
    Regards
    Sarada

  • IDoc status 51 - LSMW for Creating Purchasing Info Records

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    I shouldnot use basic type INFREC01 instead of NFRECMASS01.
    'coz Within the FM there is a check for basic type like:
    check idoc type
    if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01
    raise wrong_function_called.
    endif.
    Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type...

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • LSMW for create Equipment BOM

    Hi Experts,
    I have created a LSMW through "Batch Input Recording" method to upload materials to Equipment BOM.
    It caters to upload 5 materials per equipment. However if input data contains only 3 materils for a equipment then LSMW gives an Error. Have to enter 2 more materials to the BOM.
    How can i overcome the matter?
    Is there any other method that i can follow to upload the Equipment BOM?
    Thanks in Advance

    Hi,
    Use standard Object
    0030 Object
    0001Method
    main Structure  : BOMHEADER
    Sub Structure : BOM item
    BOMHEADER                 BOM header
        EQUNR                          C(018)    Equipment
        WERKS                          C(004)    Plant
        STLAN                          C(001)    BOM Usage
    BOMITEM                   BOM item
         EQUNR                          C(018)    Equipment
         POSNR                          C(004)    Item (SD)
         POSTP                          C(001)    Item Category
         IDNRK                          C(018)    Component
         MENGE                          C(013)    Quantity
         MEINS                          C(003)    Base Unit of Measure
    In Field mapping and conversion rule Maintean TCODE as constant IB01.
    Create Logical and Physical path during specify files under Converted Data.
    It will create Equipment BOM
    Regards,
    SandeepV

  • LSMW for Creating Purchase Orders

    Hi All
    I have looked and there is a standard program that can be used to create POs using LSMW.
    I am able to create the fields and structures and map them.
    However how do i create my 2 spreadsheets to work together.  Is there s specific format?
    Thanks
    Vinesh

    LSMW can take almost everything, if the source(s) are logical developed
    always think like having blinders. if you look at individual PO item table. do you have an identifier that allows you to  map an PO item to a header in the individual header table? This is usually the PO number. The header table would just have the PO number.
    the item table needs the PO number for any item that belongs to this PO.
    LSMW will then join the two tables based on the PO number field.
    alternative you can have one file with e.g. first line is header line, next lines are items, then again a header followed by its items.
    here you could have e.g. the PO number and PO item number as identifiers.
    Means you assign item number 0 to any header data. and the items itself have their well known item numbers.
    In LSMW you can then decide based on the item number if you write a header or an item record.

  • Order of "New" button for creating project not working

    Hi
    In Project Server I've added several EnterPrise Project Types, and now I want to sort them the way I want in the "New" button in project center. But no matter what I do, the order is always the same. For instance, if I tick the box for the "Construction"
    EPT, it does not go to the end of the dropdown list when you click the "New" button.
    I have tried this in other deployments and it's working, so how can I debug this?

    Hi Pedro,
    Have you configured the EPT order in the server settings, as per the section #11 in the following article?
    http://technet.microsoft.com/en-us/library/gg597674(v=office.14).aspx
    In case you did, I've never heard or seen such a bug. I'd advice to recreate EPTs from scratch since they are just containers.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • BAPI's for creating of Project and WBS elements in SAP system.

    Hi Guys,
                 I was able to use a Wrapper FM for creating the
    We have a FM which combines 5 different BAPIs
    FM/Wrapper: "Z_LEED_PROJ_WBSELEMT_CREATE"
    1)      BAPI_PS_INITIALIZATION
    2)      BAPI_BUS2001_CREATE
    3)      BAPI_BUS2054_CREATE_MULTI
    4)      BAPI_PS_PRECOMMIT
    5)      BAPI_TRANSACTION_COMMIT
    Requirement: To automate the process of creation of Project and WBSE(Tasks) and create an entries in the PS tables based on the user inputs from the user interface in Visual Composer.
    Basically user should be able to create the Projects and WBSE.
    Issue: We were able to create the Project with the FM (BAPI_BUS2001_CREATE) but having the issue with the creation of WBSE(Tasks), the user will be entering the inputs for Project Definition, Project Profile and WBSE which are to be created in the UI.
    The problem is we are not able to create the WBS elements using  BAPI     BAPI_BUS2054_CREATE_MULTI .i will send u the code below .Can anybody correct
       CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
    Thanks,
    Gopi.

    Hi Ramiro,
                   This is the entire FM code which is below.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_PROJECT_DEFINITION) LIKE  BAPI_BUS2001_NEW STRUCTURE
    *"        BAPI_BUS2001_NEW
    *"  TABLES
    *"      IT_WBS_ELEMENT STRUCTURE  BAPI_BUS2054_NEW
    *"      ET_RETURN STRUCTURE  BAPIRET2 OPTIONAL
    *"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL
    *"      EXTENSIONOUT STRUCTURE  BAPIPAREX OPTIONAL
      DATA: it_return LIKE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE,
            v_error TYPE boolean VALUE IS INITIAL.
      CLEAR: et_return, it_return.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    Do checks for creating project definition
      CALL FUNCTION 'BAPI_BUS2001_CREATE'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition
        TABLES
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
    Do checks for creating WBS elements
      CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_PS_PRECOMMIT'
        TABLES
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.
    ENDFUNCTION.
      can u please look at the code and let me know the changes?
    Thanks,
    Gopi.

  • LSMW Batch Input Recording for Create BOM

    Dear All,
    I want to do LSMW for Creating BOM using Batch Input Recording,
    I know that i have to make 2 time Recording, first for the BOM Header and second for the BOM item
    For the BOM header i have done it, but for the BOM item i got some trouble with the item number (POSNR),
    when i run the LSMW, for the first item (item 0010) was success, but for the item 0020, it can't work and i got error
    message " NO BATCH INPUT FOR SAPLCSDI 0150"
    How is the recording step by step for BOM Item so the Item number can increase well?
    Very need your help,
    Regards,
    Marufat

    Hello Santosh,
    Thanks for the reply,
    I already check in SM35 where i also thought that the main problem is about adding the new item number,
    but when i tried to do repeat recording, i can not find any entry for adding the line item, so the line item after 0010 cannot be input
    Is there any solution?
    Regards,
    Marufat

  • LSMW for Asset Creation not creating Transaction

    Hi,
    I am using standard LSMW for creating Asset into the SAP system and passing transaction code as AS91.
    Object: 0160
    Method: 0001
    Program Name: RAALTD01
    Program Type: B
    The asset is getting created, but even after passing the Transaction Data (Structure BALTB), with T-Code AS91, it is not creating the transaction record into Asset.
    Any solution  / work around for this?
    Thanks & Regards,
    Sandip kamdar

    try with recording method, i had done this for same tcode and sucessfully completed the job.

  • LSMW for Outbound Delivery

    Hi,
    I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
    Regards,
    Anubhav

    Hi
    I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
    or
    You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
    Hope this helps
    Regards,
    Sasi

  • Do we need to put the following code in the web-xml for the project to run

    Hi^^^,
    actually I have created a project in Eclipse WTP and I am running it from remote server. Its giving me 404 error when I tried to run it.
    I know 404 error is generally due to some error in deployment descriptor.
    I am going through this tutorial for creating project in eclipse WTP
    this says that I need to include the following code in web-xml. Please look at the quotes below
    "Web modules in J2EE has a deployment descriptor where you configure the web application and its components. This deployment descriptors is called the web.xml. According to the J2EE specification, it must be located in the WEB-INF folder. web.xml must have definitions for the Servlet and the Servlet URI mapping. Enter the following lines into web.xml:"
    "Listing 2. Deployment Descriptor web.xml"
    <servlet>
    <servlet-name>Snoop Servlet</servlet-name>
    <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Snoop Servlet</servlet-name>
    <url-pattern>/snoop/*</url-pattern>
    </servlet-mapping>
    My question is, it is necessary to include the above lines between <servlet> and </servlet-mapping> in web-xml
    thanks and regards,
    Prashant

    pksingh79 wrote:
    actually I have created a project in Eclipse WTP and I am running it from remote server. Its giving me 404 error when I tried to run it.
    I know 404 error is generally due to some error in deployment descriptor. what's the url you've put.
    <servlet>
    <servlet-name>Snoop Servlet</servlet-name>
    <servlet-class>org.eclipse.wtp.tutorial.SnoopServlet</servlet-class>
    </servlet> Every Servlet has to have a <servlet></Servlet> tag in the web.xml
    the <servlet-name>is for the naming the servlet and the <servlet-calss>is for class file of the servlet in your case the .class file is to be in the package of tutorial,if it's not then how the container will no where the calss file is
    <servlet-mapping>
    <servlet-name>Snoop Servlet</servlet-name>
    <url-pattern>/snoop/*</url-pattern>
    </servlet-mapping>You type something in your url likk http://localhost:8080/webappname (Tomcat server),so for url mapping instead of typing the entire class file name ,you just enough have to type what you've put in the <url-mapping> tag and it has to be inside of <servlet-mapping>
    I think the problem is in <url-pattern> change it like /snoop<url-pattern>
    My question is, it is necessary to include the above lines between <servlet> and ></servlet->mapping> in web.xmlSo now you think whether you need something inside <servlet>and </servlet-mapping>

  • BAPI / LSMW for Accounts Receivable open items and G/L  Accounts balance

    I want to transport legacy data to SAP.
    Please provide me with a BAPI or LSMW for creating entries for
    Accounts Receivable open items
    General Ledger Accounts balances

    Thomas,
    Program RFBIBL00 is traditionally used for converting FI transactions.  In LSMW, it's object 0100, sub object 0000.
    -nathan

  • Creating projects

    Hi,
    Need help regarding creation of Projects(project definition in SAP) ,creating partners for the projects,creating WBS elements,updating profitability segments for the created WBS elements and loading classification/chararcteristics data for the created WBS elements(Creating WBS characteristics ).I would like to know whether there are any BAPIs which could do this upload(rather than recording transaction CJ01 etc).Could I know the names of the BAPIs is any exist?
    Thanks & Regards,
    Savitha

    Thanks for that info.But I am facing a problem such that the BAPI for creating project definition does not have all necessary fields that the input  file has.So Is there any way to accomodate them using any other BAPI?other than BAPI_PROJECTDEF_CREATE.Moreover I need to create WBS elements .So I believe that can be done using BAPI_PROJECT_MAINTAIN after creating projects.

  • Creating Project report / process documentation in OBPM 11g

    I have created process models in OBPM studio 11g and I need to share with client the process models along with process and activity description/documentation in PDF format. I am looking for a way to automatically create process documentation through OBPM studio 11g.
    There’s a feature in Oracle BPM studio 10g for creating Project Report. The project report contains general and summary information about OBPM project, process flows, activity descriptions and use cases.
    To generate a Project Report – one needs to Right-click on the Project they wish to create a report for and select Project Report. The project report can be generated either as HTML or PDF.
    I could not find any such feature in Oracle BPM studio 11g. Is this or similar feature available in OBPM 11g?

    Hi,
    Only in version 11.1.1.5 FP4 BPM has the capability to export all project documentation to HTML or PDF.
    See more information at http://blogs.oracle.com/bpm/entry/bpm_suite_11_1_1
    Sincerely,
    Paulo H.

Maybe you are looking for

  • Unhappy With Veterans United Lighthouse Program- Anyone know about breaking the agreement?

    We started on the Veterans United Lighthouse program at the end of May, at that time, we had two of our three credit scores over the 600 mark and were told we only needed to gain 19 points on our credit score to be preapproved for a loan.  When conta

  • Automatic Payment Program -Display of Payment Proposal

    Dear Gurus, My client has maintained a industry field for all the vendor in their Master Data.The Reason for that when they run the APP they just select the industry in the free selection field.And the payment prosopal should be specific to Industry

  • Text widget

    I just got my droid x about a week ago. Before that I had the droid pro. When I had the pro I put a text widget to one of my contacts and when I went to that widget it took me to the entire conversation. Now on my droid x the widget just let's me tex

  • Error with dbms_xslprocessor.clob2file

    Hi all! I am experiencing an error with this command dbms_xslprocessor.clob2file(v_xml,'DIR','1.xml'); where: v_xml is a clob ( it is well formed and with data) DIR is the directory where i want to output the data, it has beeen created with: EXECUTE

  • 10gAS clustering benefits

    Can some one give me list of benefits for clustering 10gAS(10.1.3.4) SOA Suite? Thank you. -Megha