REG: ISSUE ON LSO_PV00 TCODE REGARDING lso

Hi dear experts,
   do me one favour. i am getting following issue while i am booking the participant in the tcode lso_pv00,
             " User canceled maintenance;No change executed"
Also while saving the transactions pvdo(coursetype),pvl0(coursegroup),lso_pv10(courses) ,i am getting following issue that is
" Primary table entries missing in the table OBJS->transport"
              please help me to rectify this issue my soul friends. ASAP
Thanks,
M.L.PRASANNA

Hi Prasanna
To have first issue solved, maintain number ranges in T code LSO_TP_C.
Second issue, try after doing configuration in T code OONR (if there is no no. range maintained)
Hope this helps.
Best Regards
Reddy

Similar Messages

  • How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    Click here for the instructions on stopping the emails.
    (85713)

  • Reg: issue raises while add the record in pp01

    Hi experts,
      This is Prasanna. i have created customized relationship as "HAS TALENTED PARTICIPANT"  and evaluation path as "AZTI".i have assined this relationship between two object types that are D(course type) and P(person). In PP01 transaction i tried to save the record using this relationship.but there i am getting one issue that is showing below
    "ERROR WHILE ADDING".
    my evaluation path and relation ship showed successfully in ALLOWED RELATIONSHIP option.please help me to rectify this issue.
    Thanks and Regards,
    M.L.Prasanna

    Hi,
    Check transaction OOVK ,OOIT
    Check table V_778U,T777E.
    Check this link for the custom relationship creation and make sure all is done.
    http://fuller.mit.edu/ehs/creating_relationships.htm
    Cheers,
    Manoj.

  • Reg: Issues in Tcode: MIGO

    Hi,
       Can anyone suggest me tht, as per client requirement, they need T.code :MIGO had to be Customised and they need range between G/L number(eg: From:50000076, To: 50000094), we can able to customize tht t.code or any other transaction code to do tht....
    Can u anyone revert me back....
    Thanks &Regards
    Karthick
    Edited by: Vasanth Karthick on Aug 23, 2010 2:13 PM

    Can you please specify the requirement in more elaborate way?

  • Issue Regarding LSO

    Hello gurus, I have doubts in the following t-codes. Can you help me
    LSO_ETCHANGE
    LSO_FLUP
    LSO_PP40
    LSO_SMM
    LSO_TAC_ITEMSTAT 
    LSO_TAC_PART_RESULT
    LSO_TAC_TRAIN_RESULT
    LSO_TP_C
    LSOTACITEM
    Thank you
    Please be clear of what exactly you are looking at for

    LSO_ETCHANGE
    To maintain participation, applicant details and the course details
    Objects will be maintain and the transaction uses for u201CEdit participation in independent courseu201D
    AP- APPLICANT
    PT- CONTACT PERSON
    H- External person
    P- Person - Client
    US- User
    LSO_FLUP
    u201CFollow-up for the time independent coursesu201D
    AP- APPLICANT
    PT- CONTACT PERSON
    H- External person
    P- Person - Client
    US- User
    LSO_PP40
    Manual correspondence selection correspondence data
    Use this transaction to communicate for the course time date, either it will classroom
    Based training or Web based training (CBT-WBT)
    LSO_TAC_ITEMSTAT
    LSO_TAC_ITEM
    Test item statistics
    LSO_TAC_PART_RESULT
    Participant result overview
    LSO_TP_C
    To maintain number range for participant document

  • Reg : Issue for Sending of external email using SO_OBJECT_SEND

    There is one issue while sending external email using SO_OBJECT_SEND functional module.
    1. The body of the mail is also included as attachment.
    I want to avoid the same.
    Please anyone can give the solution.

    hi check this example ,
    Sending mail with attachment report in Background
    Content Author: Fernando Faian
    I have read the hint about "Sending mail with attachment report".
    It's great, but how can I make this function work in background??
    I had that needed last year too. See attachment a function group with two functions. The second one has that functionality to send email or fax (SAP office) with attachment objects in background job using SO_ATTACHMENT_INSERT function. 
    Pay attention because it’s working with output list from spool converted to pdf. 
    =================================================================================
    z_send_email_fax_global
    FUNCTION-POOL z_gfaian_mail_fax.            "MESSAGE-ID ..
    WORK TABLE AREAS
    TABLES: tsp01.
    INTERNAL TABLES
    DATA: lt_rec_tab LIKE STANDARD TABLE OF soos1 WITH HEADER LINE,
          lt_note_text   LIKE STANDARD TABLE OF soli  WITH HEADER LINE,
          lt_attachments LIKE STANDARD TABLE OF sood5 WITH HEADER LINE.
    DATA: lt_objcont LIKE STANDARD TABLE OF soli WITH HEADER LINE,
          lt_objhead LIKE STANDARD TABLE OF soli WITH HEADER LINE.
    DATA: pdf_format LIKE STANDARD TABLE OF tline WITH HEADER LINE.
    TYPES: BEGIN OF y_files,
           file(60) TYPE c,
           END OF y_files.
    DATA: lt_files TYPE STANDARD TABLE OF y_files WITH HEADER LINE.
    DATA: l_objcont     LIKE soli OCCURS 0 WITH HEADER LINE.
    DATA: l_objhead     LIKE soli OCCURS 0 WITH HEADER LINE.
    STRUCTURES
    DATA: folder_id      LIKE soodk,
          object_id      LIKE soodk,
          link_folder_id LIKE soodk,
          g_document     LIKE sood4,
         g_header_data  LIKE sood2,
          g_folmem_data  LIKE sofm2,
          g_header_data  LIKE sood2,
          g_receive_data LIKE soos6,
          g_ref_document LIKE sood4,
          g_new_parent   LIKE soodk,
          l_folder_id    LIKE sofdk,
          v_email(50).
    DATA: hd_dat  like sood1.
    VARIABLES
    DATA: client  LIKE tst01-dclient,
          name    LIKE tst01-dname,
          objtype LIKE rststype-type,
          type    LIKE rststype-type.
    DATA: numbytes TYPE i,
          arc_idx LIKE toa_dara,
          pdfspoolid LIKE tsp01-rqident,
          jobname LIKE tbtcjob-jobname,
          jobcount LIKE tbtcjob-jobcount,
          is_otf.
    DATA: outbox_flag LIKE sonv-flag VALUE 'X',
          store_flag  LIKE sonv-flag,
          delete_flag LIKE sonv-flag,
          owner       LIKE soud-usrnam,
          on          LIKE sonv-flag VALUE 'X',
          sent_to_all LIKE sonv-flag,
          g_authority LIKE sofa-usracc,
          w_objdes    LIKE sood4-objdes.
    DATA: c_file LIKE rlgrap-filename,
          n_spool(6) TYPE n.
    DATA: cancel.
    DATA: desired_type  LIKE sood-objtp,
          real_type LIKE sood-objtp,
          attach_type LIKE sood-objtp,
          otf LIKE sood-objtp VALUE 'OTF', " SAPscript Ausgabeformat
          ali LIKE sood-objtp VALUE 'ALI'. " ABAP lists
    CONSTANTS
    CONSTANTS: ou_fol LIKE sofh-folrg              VALUE 'O',
               c_objtp    LIKE g_document-objtp    VALUE 'RAW',
               c_file_ext LIKE g_document-file_ext VALUE 'TXT'.
    =================================================================================
    z_send_email_fax2
    FUNCTION z_faian_mail_fax2.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(SRC_SPOOLID) LIKE  TSP01-RQIDENT
    *"     REFERENCE(FAX_MAIL_NUMBER) TYPE  SO_NAME
    *"     REFERENCE(HEADER_MAIL) TYPE  SO_OBJ_DES
    *"     REFERENCE(OBJECT_TYPE) TYPE  SO_ESCAPE
    *"  TABLES
    *"      LT_BODY_EMAIL STRUCTURE  SOLI
    *"  EXCEPTIONS
    *"      ERR_NO_ABAP_SPOOLJOB
    Fist part: Verify if the spool really exists
      SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
      IF sy-subrc NE 0.
        RAISE err_no_abap_spooljob. "doesn't exist
      ELSE.
        client = tsp01-rqclient.
        name   = tsp01-rqo1name.
        CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
             EXPORTING
                  authority     = 'SP01'
                  client        = client
                  name          = name
                  part          = 1
             IMPORTING
                  type          = type
                  objtype       = objtype
             EXCEPTIONS
                  fb_error      = 1
                  fb_rsts_other = 2
                  no_object     = 3
                  no_permission = 4
                  OTHERS        = 5.
        IF objtype(3) = 'OTF'.
          desired_type = otf.
        ELSE.
          desired_type = ali.
        ENDIF.
        CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
             EXPORTING
                  rqident              = src_spoolid
                  desired_type         = desired_type
             IMPORTING
                  real_type            = real_type
             TABLES
                  buffer               = l_objcont
             EXCEPTIONS
                  no_such_job          = 14
                  type_no_match        = 94
                  job_contains_no_data = 54
                  no_permission        = 21
                  can_not_access       = 21
                  read_error           = 54.
        IF sy-subrc EQ 0.
          attach_type = real_type.
        ENDIF.
        CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
             EXPORTING
                  owner     = sy-uname
                  region    = ou_fol
             IMPORTING
                  folder_id = l_folder_id
             EXCEPTIONS
                  OTHERS    = 5.
    fill out informations about the header of the email
        CLEAR: g_document.
        g_document-foltp     = l_folder_id-foltp.
        g_document-folyr     = l_folder_id-folyr.
        g_document-folno     = l_folder_id-folno.
        g_document-objtp     = c_objtp.
        g_document-objdes    = header_mail.
        g_document-file_ext  = c_file_ext.
        g_header_data-objdes    = header_mail.
        CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
             EXPORTING
                  method      = 'SAVE'
                  office_user = sy-uname
             IMPORTING
                  authority   = g_authority
             TABLES
                  objcont     = lt_body_email
                  attachments = lt_attachments
             CHANGING
                  document    = g_document
                  header_data = g_header_data
             EXCEPTIONS
                  OTHERS      = 1.
        folder_id-objtp = l_folder_id-foltp.
        folder_id-objyr = l_folder_id-folyr.
        folder_id-objno = l_folder_id-folno.
        object_id-objtp = c_objtp.
        object_id-objyr = g_document-objyr.
        object_id-objno = g_document-objno.
        link_folder_id-objtp = l_folder_id-foltp.
        link_folder_id-objyr = l_folder_id-folyr.
        link_folder_id-objno = l_folder_id-folno.
        REFRESH lt_rec_tab.
       CLEAR lt_rec_tab.
       lt_rec_tab-sel        = 'X'.
       lt_rec_tab-recesc     = object_type.   "This field for FAX/MAIL
       lt_rec_tab-recnam     = 'U-'.
       lt_rec_tab-deliver    = 'X'.
       lt_rec_tab-not_deli   = 'X'.
       lt_rec_tab-read       = 'X'.
       lt_rec_tab-mailstatus = 'E'.
       lt_rec_tab-adr_name   = fax_mail_number.
       lt_rec_tab-sortfield  = fax_mail_number.
       lt_rec_tab-recextnam  = fax_mail_number.
       lt_rec_tab-sortclass  = '5'.
       APPEND lt_rec_tab.
          lt_rec_tab-recextnam = fax_mail_number.
          lt_rec_tab-recesc = object_type.
          lt_rec_tab-sndart = 'INT'.
          lt_rec_tab-sndpri = 1.
          APPEND lt_rec_tab.
        lt_files-file = c_file.
        APPEND lt_files.
    begin of insertion by faianf01
        hd_dat-objdes = header_mail.
        CALL FUNCTION 'SO_ATTACHMENT_INSERT'
             EXPORTING
                  object_id                  = object_id
                  attach_type                = attach_type
                  object_hd_change           = hd_dat
                  owner                      = sy-uname
             TABLES
                  objcont                    = l_objcont
                  objhead                    = l_objhead
             EXCEPTIONS
                  active_user_not_exist      = 35
                  communication_failure      = 71
                  object_type_not_exist      = 17
                  operation_no_authorization = 21
                  owner_not_exist            = 22
                  parameter_error            = 23
                  substitute_not_active      = 31
                  substitute_not_defined     = 32
                  system_failure             = 72
                  x_error                    = 1000.
        IF sy-subrc > 0.
        ENDIF.
    end of insertion by faianf01
    send email from SAPOFFICE
        CALL FUNCTION 'SO_OBJECT_SEND'
             EXPORTING
                  folder_id                  = folder_id
                  object_id                  = object_id
                  outbox_flag                = outbox_flag
                  link_folder_id             = link_folder_id
                  owner                      = sy-uname
                 check_send_authority       = 'X'
             TABLES
                  receivers                  = lt_rec_tab
                 note_text                  = lt_note_text
             EXCEPTIONS
                  active_user_not_exist      = 35
                  communication_failure      = 71
                  component_not_available    = 1
                  folder_no_authorization    = 5
                  folder_not_exist           = 6
                  forwarder_not_exist        = 8
                  object_no_authorization    = 13
                  object_not_exist           = 14
                  object_not_sent            = 15
                  operation_no_authorization = 21
                  owner_not_exist            = 22
                  parameter_error            = 23
                  substitute_not_active      = 31
                  substitute_not_defined     = 32
                  system_failure             = 72
                  too_much_receivers         = 73
                  user_not_exist             = 35.
      ENDIF.
    ENDFUNCTION.
    =================================================================================
    z_send_email_fax
    FUNCTION ZCBFS_SEND_MAIL.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(SRC_SPOOLID) LIKE  TSP01-RQIDENT
    *"     REFERENCE(HEADER_MAIL) TYPE  SO_OBJ_DES
    *"  TABLES
    *"      LIST_FAX_MAIL_NUMBER STRUCTURE  SOLI
    *"  EXCEPTIONS
    *"      ERR_NO_ABAP_SPOOLJOB
      DATA: vg_achou(1) TYPE n.
    Fist part: Verify if the spool really exists
      vg_achou = 1.
      DO 60 TIMES.
        SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
        IF sy-subrc IS INITIAL.
          CLEAR vg_achou.
          EXIT.
        ELSE.
          WAIT UP TO 1 SECONDS.
        ENDIF.
      ENDDO.
      IF vg_achou = 1.
        RAISE err_no_abap_spooljob. "doesn't exist
      ENDIF.
      client = tsp01-rqclient.
      name   = tsp01-rqo1name.
      CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
           EXPORTING
                authority     = 'SP01'
                client        = client
                name          = name
                part          = 1
           IMPORTING
                type          = type
                objtype       = objtype
           EXCEPTIONS
                fb_error      = 1
                fb_rsts_other = 2
                no_object     = 3
                no_permission = 4
                OTHERS        = 5.
      IF objtype(3) = 'OTF'.
        desired_type = otf.
      ELSE.
        desired_type = ali.
      ENDIF.
      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
           EXPORTING
                rqident              = src_spoolid
                desired_type         = desired_type
           IMPORTING
                real_type            = real_type
           TABLES
                buffer               = l_objcont
           EXCEPTIONS
                no_such_job          = 14
                type_no_match        = 94
                job_contains_no_data = 54
                no_permission        = 21
                can_not_access       = 21
                read_error           = 54.
      IF sy-subrc EQ 0.
        attach_type = real_type.
      ENDIF.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
           EXPORTING
                owner     = sy-uname
                region    = ou_fol
           IMPORTING
                folder_id = l_folder_id
           EXCEPTIONS
                OTHERS    = 5.
    fill out informations about the header of the email
      CLEAR: g_document.
      g_document-foltp     = l_folder_id-foltp.
      g_document-folyr     = l_folder_id-folyr.
      g_document-folno     = l_folder_id-folno.
      g_document-objtp     = c_objtp.
      g_document-objdes    = header_mail.
      g_document-file_ext  = c_file_ext.
      g_header_data-objdes    = header_mail.
      CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
           EXPORTING
                method      = 'SAVE'
                office_user = sy-uname
           IMPORTING
                authority   = g_authority
           TABLES
                attachments = lt_attachments
           CHANGING
                document    = g_document
                header_data = g_header_data
           EXCEPTIONS
                OTHERS      = 1.
      folder_id-objtp = l_folder_id-foltp.
      folder_id-objyr = l_folder_id-folyr.
      folder_id-objno = l_folder_id-folno.
      object_id-objtp = c_objtp.
      object_id-objyr = g_document-objyr.
      object_id-objno = g_document-objno.
      link_folder_id-objtp = l_folder_id-foltp.
      link_folder_id-objyr = l_folder_id-folyr.
      link_folder_id-objno = l_folder_id-folno.
      REFRESH lt_rec_tab.
      LOOP AT LIST_FAX_MAIL_NUMBER.
        lt_rec_tab-recextnam = LIST_FAX_MAIL_NUMBER-LINE.
        lt_rec_tab-recesc = 'U'.
        lt_rec_tab-sndart = 'INT'.
        lt_rec_tab-sndpri = 1.
        APPEND lt_rec_tab.
      ENDLOOP.
      lt_files-file = c_file.
      APPEND lt_files.
      hd_dat-objdes = header_mail.
      CALL FUNCTION 'SO_ATTACHMENT_INSERT'
           EXPORTING
                object_id                  = object_id
                attach_type                = attach_type
                object_hd_change           = hd_dat
                owner                      = sy-uname
           TABLES
                objcont                    = l_objcont
                objhead                    = l_objhead
           EXCEPTIONS
                active_user_not_exist      = 35
                communication_failure      = 71
                object_type_not_exist      = 17
                operation_no_authorization = 21
                owner_not_exist            = 22
                parameter_error            = 23
                substitute_not_active      = 31
                substitute_not_defined     = 32
                system_failure             = 72
                x_error                    = 1000.
      IF sy-subrc > 0.
      ENDIF.
    send email from SAPOFFICE
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                folder_id                  = folder_id
                object_id                  = object_id
                outbox_flag                = outbox_flag
                link_folder_id             = link_folder_id
                owner                      = sy-uname
           TABLES
                receivers                  = lt_rec_tab
                note_text                  = lt_note_text
           EXCEPTIONS
                active_user_not_exist      = 35
                communication_failure      = 71
                component_not_available    = 1
                folder_no_authorization    = 5
                folder_not_exist           = 6
                forwarder_not_exist        = 8
                object_no_authorization    = 13
                object_not_exist           = 14
                object_not_sent            = 15
                operation_no_authorization = 21
                owner_not_exist            = 22
                parameter_error            = 23
                substitute_not_active      = 31
                substitute_not_defined     = 32
                system_failure             = 72
                too_much_receivers         = 73
                user_not_exist             = 35.
    ENDFUNCTION.
    =================================================================================
    regards,
    venkat.

  • Content Repository creation issue in OAC0 tcode

    Dear All ,
    I installed Content Server 640 verison with Max DB 7.6 successfully on Windows Server 2008 R2 server.I did the the installation on the same server where my ECC development system is running.
    When I'm creating the content repository in OAC0 getting the below error.
    <<<<CreateTab ContentStorage, connect error SQLConnect failed, [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, Error Code: 0>>>>
    I followed SAP Note 301352 - ODBC driver is not registered ,and used the below command to register ODBC driver but it gives me error saying Can't create registry value.
    C:\>odbcreg LiveCache -i -p f:\sapdb\programs\pgm
    Error : Can't create registry value.
    I did the installation using domain ID which is assigned to administrators group on local host.not able to figure it out ,whats the issue.
    Can you please help me to fix this issue please.
    thanks

    Hi Khaiser,
    You need to do the following,
    In CSADMIN got to setting.
    Add the parameter : Driver = MaxDB
    Restart the system and check it should work.
    Regards,
    Deepak Kori

  • Authorization issue with Z tcode.

    Dears,
    We are using CRM 7.0 connected backend to ECC 6.04 server.
    We developed one Z program and attached it with one Z tcode.
    I have SAP_ALL in both CRM and ECC system.RFC user also have SAP_ALL in ECC system.
    Now when we execute CRM_UI in crm and call that ztcode from CRM system,It shows
    "You do not have authorization of this tcode."
    It is happening for all Z tcodes but all standred tcodes are working fine from CRM to ECC system.
    I am also able to execute these Ztcodes by logging into ECC server.
    Please suggest.
    Regards,
    Shivam

    Hi Shivam,
    i suggest to do a test with one little PFCG-Role which includes only authorization object S_TCODE with your transaction code.
    Add this PFCG-Role to your user and try it again.
    If it works i guess that SAP_ALL is not considering Z transactions.
    Kind regards
    Manfred

  • Reg: Issue adding remote Instances in Br tools Studio.....

    Hai,
    Br tools studio is Installed successfully and able to login to the server, but when trying to add remote Instance it ends up with the below NullPointerException.
    We have used ocj4 according to the SAP Note 1224432, also not using https (as per [SAP] First experience with SAP BR*Tools Studio for Oracle)
    Please let me know is there any work around possible.
    java.lang.NullPointerException     at frames.server._landscape._instances._create._edit_2d_001._frame_2d_000._jspService(_frame_2d_000.java:59)     [SRC:/frames/server/landscape/instances/create/edit-001/frame-000.jsp:19]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:810)
    Regards,
    Yoganand.V
    Edited by: Yoganand Vedagiri on Dec 30, 2008 1:30 PM
    Edited by: Yoganand Vedagiri on Dec 30, 2008 1:33 PM

    Hi,
    To avoid this error, Just install JDK 6.0 and OC4J 9.0.4.1.0
    Try accessing thru web.
    If you get an error on accessing javac.exe file, then do the following changes...
    go to the home directory of brtools studio, --> config ---> Edit the file server.xml
    add this line as per below, save and then try to access thru web.
    <global-application name="global" path="application.xml"/>
        *<java-compiler name="javac" bindir="<JAVA_HOME>\jdk1.6.0\bin"/>     *
        <global-web-app-config path="global-web-application.xml"/>
    This should solve your problem.
    Let me know if you have any issue.
    Regards,
    Iyyappan MR

  • Reg Re-authentication for Tcode access

    Dear All,
        I want to enable Re-authentication for certain tcode access in my SAP ABAP system. The SAP as such supports this with the SSF settings. I have the SSF working but am not sure how to enable the particular tcode for Re-authentication.For example i have created a z code zAl08 out of Al08 for test purpose.When an user tries to access zAL08 he should be asked to give his credentials for authentication and then should be able to access the tcode.
    1.Is this possible. (am already using a Security product working properly in my environment)
    2.How to configure(Steps) the zcode for enabling Re-authentication?
    Regards,
    Karthik

    Basically, what I said was:
    function auth_check_tcode.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(TCODE) LIKE  TSTC-TCODE
    *"  EXCEPTIONS
    *"      PARAMETER_ERROR
    *"      TRANSACTION_NOT_FOUND
    *"      TRANSACTION_LOCKED
    *"      TRANSACTION_IS_MENU
    *"      MENU_VIA_PARAMETER_TRANSACTION
    *"      NOT_AUTHORIZED
    Dieser Funktionsbaustein dient als reine Kapsel für den C-Call
    auth_check_tcode und ist daher im Gegensatz zu authority_check_tcode
    nicht für die Prüfung vor dem Call Transaction gedacht, sondern für
    die Fälle, in denen ein Start Transaction geprüft werden soll,
    z.B. in der SE93.
    authority_check_tcode berücksichtigt wie der Kernel die per SE97
    pflegbaren Einträge in der Tabelle tcdcouples.
    Berechtigungsprüfung
      call 'AUTH_CHECK_TCODE'
           id 'TCODE' field tcode.
      if sy-subrc = 0.
      auth_check_tcode enthält die Prüfungen von tcode_executable,
      daher im OK-Fall keine Aufruf nötig.
      else.
        perform tcode_executable using tcode.
      Keine Berechtigung für Transaktion &
        message i077(s#) with tcode raising not_authorized.
      endif.
    endfunction.
          FORM tcode_executable                                         *
    -->  TCODE                                                         *
    form tcode_executable using tcode.
      call 'DY_CHECK_TRANSACTION'
        id 'TX' field tcode.
      case sy-subrc.
        when 0.         " Alles ok, return
        when 1.         " Parameter Error
          message i274(00) raising parameter_error.
        when 2.         " Transaktion nicht gefunden
          message i343(s#) with tcode raising transaction_not_found.
        when 3.         " Transaktion gesperrt
          message i348(s#) with tcode raising transaction_locked.
        when 4.         " Transaktion ist Bereichsmenü
          message i037(oz) with tcode raising transaction_is_menu.
        when 5.         " Bereichsmenü via Parameter-Transaktion
          message i350(s#) with tcode
                           raising menu_via_parameter_transaction.
        when 6.   " Nicht berechtigt; vorgesehen, aber nicht implementiert
          message i077(s#) with tcode raising not_authorized.
      endcase.
    endform.                    "tcode_executable
    </pre>
    Sorry, the comments are in German. But as you can see, there is no exit and the checks are in the kernel only.
    My hat is safe...
    Cheers,
    Julius
    Edited by: Julius Bussche on Jul 29, 2009 5:55 PM

  • Reg : Issuing Idocs after changes to orders

    Hi Frens ,
    I am having one query .
    Idoc to be issued everytimes changes occur in a sales order.
    May be from VA02 or may be from end user's program.
    can i use cdhdr or cdpos table in my requirement (VOFM).
    or is there any fields are available in communication structre ( kompbv1 , komkbv1) OR is there any other way to do it .
    Thanx and regards,

    Hi Amitav,
    I repost here in case you are not watching both threads.  Please feel free to reward both answers!!
    Hi Amitav,
    This is a tricky one.
    There is a field that it set within SAPMV45A processing (r185d-dataloss) which is set to X if a standard SAP field hase been changed in the order.
    So, here is what I would suggest you do:
    1. set up your output condition type as 'multiple issueing'.  This will ensure that every time you go into change a sales order the output type is proposed
    2. In the userexit USEREXIT_SAVE_DOCUMENT_PREPARE I would export to memory (using the sales order number as the key) the value of r185d-dataloss
    3. In your requirement import from memory the value of the field r185d-dataloss (clearing the memory entry afterwards)
    4. If the value is X then pass the requirement, otherwise fail it
    This way, your requirement will always reject the output type until the document is saved.  If it is saved and there were changes, during update processing the requirement will pass and the output will be generated.
    If you want to avoid IMPORT/EXPORT from memory then you could use the technique described in my blog: /people/brad.williams/blog/2005/04/25/userexits--how-do-i-access-inaccessible-data
    Hope that that makes sense. 
    Cheers,
    Brad

  • Reg: Issue on CreateUser - Siebel

    Hi All,
    We have developed a client code for provisioning accounts into the Siebel, using end-point url.
    http://<IPADDR>/custappsvcs_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1
    But when we invoke the createUser of Seibel , it throws the below error message.
    ===============================================================================
    Error invoking service 'SelfServiceContact_SIA', method 'Execute' at step 'Create Contact and Account'.(SBL-BPR-00162)
    The record with search specification '' in business component 'Contact' (integration component 'Contact') has been deleted by another user since it was retrieved.(SBL-EAI-04289)
    ==================================================================================================
    It would be great if someone can help us in resolving the issue.
    Pls. let me know if any clarifications required from my end.
    Regards,
    Karan

    u can use FM 'RV_INVOICE_CREATE'

  • Overall processing status issue for sales order regarding services

    Hello,
    I have the following issue. I am billing a standard service (service without delivery) to a customer. The process goes ok, I issue an invoice, post it and generate an accounting document. Then I create a cancellation invoice. Now I want to reject my sales order. I assign reason for rejection to the item. The header and item status says it is u2018fully rejectedu2019, but the overall processing status says the sales order is u2018openu2019 and therefore appears in reports regarding open orders. I gave also a billing block, deleted the schedule line for the service so that the ordered quantity for the item equals to u20180u2019, but still the overall processing status of the order is u2018openu2019. This is standard SAP functionality (as I checked it). So can anyone explain me how to change this status to exclude this order from open order list? Or maybe someone may want to explain me why this is standard SAP process and what is the reason for the system to want to keep my order u2018openu2019?
    Thanks in advance,
    BR,|

    Place the reason for rejection in the status tab at item level, we are doing same, and the order lines does not show in open lines .
    Regards
    Chandrasekhar

  • Regarding Lso doubt based on creation of cours

    Hi friends,
    Already i have created new course type in backend using pvd0 transaction. but i need to create new course type in portal(lso) in administrator login .let me know is there any option.
    Thanks and Regards,
    M.L.Prasanna

    Is your question answered? As purnima said course types cant be created through portal, course types created in the R/3 would be shown in the portal. Close the thread if your question is answered, let me know if u need any further info.

  • Performance issue and functional question regarding updates on tables

    A person at my site wrote some code to update a custom field on the MARC table that was being copied from the MARA table.  Here is what I would have expected to see as the code.  Assume that both sets of code have a parameter called p_werks which is the plant in question.
    data : commit_count type i.
    select matnr zfield from mara into (wa_marc-matnr, wa_marc-zfield).
      update marc set zfield = wa_marc-zfield
         where werks = p_werks and matnr = wa_matnr.
      commit work and wait.
    endselect.
    I would have committed every 200 rows instead of every one row, but here's the actual code and my question isn't around the commits but something else.  In this case an internal table was built with two elements - MATNR and WERKS - could have done that above too, but that's not my question.
                DO.
                  " Lock the record that needs to be update with material creation date
                  CALL FUNCTION 'ENQUEUE_EMMARCS'
                    EXPORTING
                      mode_marc      = 'S'
                      mandt          = sy-mandt
                      matnr          = wa_marc-matnr
                      werks          = wa_marc-werks
                    EXCEPTIONS
                      foreign_lock   = 1
                      system_failure = 2
                      OTHERS         = 3.
                  IF sy-subrc <> 0.
                    " Wait, if the records not able to perform as lock
                    CALL FUNCTION 'RZL_SLEEP'.
                  ELSE.
                    EXIT.
                  ENDIF.
                ENDDO.
                " Update the record in the table MARC with material creation date
                UPDATE marc SET zzdate = wa_mara-zzdate
                           WHERE matnr = wa_mara-matnr AND
                                 werks = wa_marc-werks.    " IN s_werks.
                IF sy-subrc EQ 0.
                  " Save record in the database table MARC
                  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                    EXPORTING
                      wait   = 'X'
                    IMPORTING
                      return = wa_return.
                  wa_log-matnr   = wa_marc-matnr.
                  wa_log-werks   = wa_marc-werks.
                  wa_log-type    = 'S'.
                  " text-010 - 'Material creation date has updated'.
                  wa_log-message = text-010.
                  wa_log-zzdate  = wa_mara-zzdate.
                  APPEND wa_log TO tb_log.
                  CLEAR: wa_return,wa_log.
                ELSE.
                  " Roll back the record(un save), if there is any issue occurs
                  CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
                    IMPORTING
                      return = wa_return.
                  wa_log-matnr   = wa_marc-matnr.
                  wa_log-werks   = wa_marc-werks.
                  wa_log-type    = 'E'.
                  " 'Material creation date does not updated'.
                  wa_log-message = text-011.
                  wa_log-zzdate  = wa_mara-zzdate..
                  APPEND wa_log TO tb_log.
                  CLEAR: wa_return, wa_log.
                ENDIF.
                " Unlock the record from data base
                CALL FUNCTION 'DEQUEUE_EMMARCS'
                  EXPORTING
                    mode_marc = 'S'
                    mandt     = sy-mandt
                    matnr     = wa_marc-matnr
                    werks     = wa_marc-werks.
              ENDIF.
    Here's the question - why did this person enqueue and dequeue explicit locks like this ?  They claimed it was to prevent issues - what issues ???  Is there something special about updating tables that we don't know about ?  We've actually seen it where the system runs out of these ENQUEUE locks.
    Before you all go off the deep end and ask why not just do the update, keep in mind that you don't want to update a million + rows and then do a commit either - that locks up the entire table!

    The ENQUEUE lock insure that another program called by another user will not update the data at the same time, so preventing database coherence to be lost. In fact, another user on a SAP correct transaction, has read the record and locked it, so when it will be updated your modifications will be lost, also you could override modifications made by another user in another luw.
    You cannot use a COMMIT WORK in a SELECT - ENDSELECT, because COMMIT WORK will close each and every opened database cursor, so your first idea would dump after the first update. (so the internal table is mandatory)
    Go through some documentation like [Updates in the R/3 System (BC-CST-UP)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf]
    Regards

Maybe you are looking for

  • Can i Have Two Libraies on One iTunes?

    My dad and I are now owners of iPods, but we have different tastes in music and was wondering whether it is possible to have two different libraries in iTunes so that we can only put our own music on our separate iPods.

  • AT-SELECTION SCREEN OUTPUT REQUIREMENT

    AT SELECTION SCREEN OUTPUT RADIO BUTTON RECORD1 RADIO BUTTON RECORD2 IF SELECT R1 R2 WILL BE DISABLED IF SELECT R2 R1 WILL BE DISABLED

  • How to set the show properties as  a default in KM

    Hello All, I am trying to upload the documents in KM repository using File-> Upload. If I click this Upload button, it will open a new window, it will show (show properties) this properties. But I want this one as default. Can any one help to set the

  • Creating radio buttons and text box in the screen

    Hi Guys, Need help asap. I am writing a report and I have to create text box for user to input GL account numbers for two types of customer. I have to make these fields required and take the data back from the screen and write it in a file. The secon

  • OPatch encounters the following file roll-back issues: File Back-up Errors!

    Operating System: Windows XP Oracle Virsion: 9.2.0.8 Patches applied: Oracle Patch: 5726045 - Successfully patched with zero return code. Oracle Patch: 641703 - Failed with Error Code 200. Scenario: I have to apply CPUJAN2008 patch on 55 different se