Regarding Menus & func code relation

hey guys,
Do we have any FM or Program to relate GUI_STATUS menu and Function code.
I found FM RS_CUA_GET_FUNCTIONS  for Func code list but i want to know how it relate with Menus & func keys/application bars.
one more FM also i found RS_CUA_INTERNAL_FETCH, but we could not map it properly with Menus and Function codes.
I tried with relating output STA->ACTCODE->MENU->FUN. but seems its not correct. I checked SAPMF02D program having GUI STATUS 1020 no menu bar exist.but  FM says Menubar exists. I am confused here.
Suggestion please.
regards
ambichan

Hey guys,
FM RS_CUA_INTERNAL_FETCH has this many Menu types.
I can only see Dailog type 'D' menus for GUI status in SE80 tr-cd.
How can i view the Menu type 'P'(POPUP menutype) and 'L' etc..
CONSTANTS: CON_STDTYPE_DIAL       VALUE 'D',
           CON_STDTYPE_POPUP      VALUE 'P',
           CON_STDTYPE_LIST       VALUE 'L',
           CON_STDTYPE_LBOX       VALUE 'B',
           CON_STDTYPE_CONTEXT    VALUE 'C',
           CON_STDTYPE_MENU       VALUE 'M',
           CON_STDTYPE_EXEMPT     VALUE 'X',
           CON_STDTYPE_EXEMPT_RES VALUE 'Y',
           CON_STDTYPE_OBLIGATORY VALUE 'O',
           CON_STDTYPE_DEFAULT    VALUE 'F',
           CON_STDTYPE_SYSTEM     VALUE 'S',
           CON_STDTYPE_SBAR       VALUE 'I',
           CON_STDPFNO_CTX TYPE CUA_PFNO VALUE '94',
           CON_STDFUNC_CTX TYPE GUI_CODE VALUE '%CTX'.
suggest me
Regards
Ambichan

Similar Messages

  • T CODE related with CRM billing

    Hi folks,
       Please provide the t codes related with CRM billing.
    regards
    PG

    Hi,
    Here r some of the Tcodes:
    /BEA/CRMB01          Edit Billing Due List
    /BEA/CRMB02          Release Billing Due List for Billing
    /BEA/CRMB04          Analyze Incomplete Billing Due List
    /BEA/CRMB06          Schedule Background Jobs
    /BEA/CRMB07          Reject Incomplete Billing Due List
    /BEA/CRMB11          Maintain Billing Documents
    /BEA/CRMB12          Transfer Billing Docs to Accounting
    /BEA/CRMB13          Create Retroactive Billing
    /BEA/CRMB15          Display Collective Run Log
    Regards,
    PePe

  • How do I code relative links as function parameters within Templates?

    I am a newcomer looking for best practices for a "How Do I?" properly code relative links as function parameters within an Adobe template (DWT) which accomodates page creation at 2 different level of folders. Dreamweaver doesn't appear to handle auto-correction of relative links as function parameters as far as I can see.  It's not clear to me what the best practice I should be following.  While this is not exactly a SPRY question, I am hoping that someone using the Spry.Data.XMLDataSet had already found the best practice to use.
    My Site
    -- Multiple pages at this level    and the parameter needs to be "_includes/UnitSideNavigation.xml"
    SubFolder
    -- Other pages at this level.       and the parameter needs to be "../_includes/UnitSideNavigation.xml"
    And this is the particular code snippet within a non edtable template area I would like to work for 2 levels of pages created from the template.
    <script type="text/javascript">
    var dsItems1 = new Spry.Data.XMLDataSet("_includes/UnitSideNavigation.xml", "/links/firstlevel");
    var dslinks = new Spry.Data.NestedXMLDataSet(dsItems1, "secondlevels/secondlevel");
    </script>
    My environment is Windows/Vista using latest CS4 dreamweaver.
    Any pointers appreciated. This is learn time for me. Hope I have made myself clear. Andy

    I use serverside includes instead of DWT for exactly that reason. Not only that, if you change anything within the template you must re-upload all of the files affected by the change; only the modified include file needs to be uploaded.

  • Regarding me49 tr.code report

    Hi
    Am copied from ME49 program(RM06EPS0) into zprogram(ZRM06EPS0),and do some modifications according to my requirement but the problem is when am executed the zprogram it goes dump.In that the error occured is "perform initialisation not implemented in a progam or not yet implemented in the program ZSAPFM06I".
    Waiting for ur reply,
    Thanks & Regards,

    Hi,
    Looks like related FORM...ENDFORM is missing for PERFORM statement. When you copy the standard program, you need to take care about the include programs too. FORM...ENDFORM might be written in separate subroutine pool program.
    First try to find out which perform statement is causing the dump, then look for the corresponding FORM...ENDFORM, in which program it was maintained.
    Regards,
    ~Satya

  • Please provide me all the t codes related to direct invoices , SRM...

    Hi All,
    Please provide me all the t codes related to direct invoices , SRM and Manual Purchase orders
    Thanx in advance,
    Ravi.

    Dear Ravi,
    use Transaction Se16 and write the table name as TSTC what you will get is a list of all T-codes with there description.
    Another method is using the Transaction-SDMO here you enter the text and you will get all transactions related to the text you enter.
    Using these two transactions I hope you would be able to find out all the t-codes.
    Cheers,
    Prafulla
    Message was edited by:
            prafulla singh

  • Need all transaction codes related to SD and MM

    hi
    i am in need of need all transaction codes related to SD and MM.
    can anyone help me to get it.
    thanks in advance.

    Hi,
    The most frequently used transaction codes are as follows:
    1. VS00 - Master data
    2. VC00 - Sales Support
    3. VA00 - Sales
    4. VL00 - Shipping
    5. VT00 - Transportation
    6. VF00 - Billing
    Others as follows:
    At Configuration:
    1. VOV8 - Define Sales documents type (header)
    2. OVAZ - Assigning Sales area to sales documents type
    3. OVAU - Order reasons
    4. VOV4 - Assign Item categoreies(Item cat determination)
    5. VOV6 - Scedule line categories
    6. OVAL - To assign blocks to relevant sales documents type
    7. OVLK - Define delivery types
    8. V/06 - Pricing
    9. V/08 - Maintain pricing procedure
    10.OVKP - Pricing proc determination
    11.V/07 - Access sequence
    Enduser:
    1. Customer Master Creation-VD01 and XD01 (for full inclu company code)
        VD02 - Change Customer
        VD03 - Display Customer
        VD04 - Customer Account Changes
        VD06 - Flag for Deletion Customer
        XD01 - Create Customer
        XD02 - Modify Customer
        XD03 - Display Customer
    2. Create Other material -
    MM00
    3. VB11- To create material determination condition record
    4. CO09- Material availability Overview
    5. VL01 - Create outbound delivery with ref sales order
    6. VL04 - Collective processing of delivery
    7. VA11 - Create Inquiry
        VA12 - Change Inquiry
        VA13 - Display Inquiry
    Sales & Distribution
    Sales order / Quote / Sched Agreement / Contract
    · VA01 - Create Order
    · VA02 - Change Order
    · VA03 - Display Order
    · VA02 - Sales order change
    · VA05 - List of sales orders
    · VA32 - Scheduling agreement change
    · VA42 - Contract change
    · VA21 - Create Quotation
    · VA22 - Change Quotation
    · VA23 - Display Quotation
    Billing
    · VF02 - Change billing document
    · VF11 - Cancel Billing document
    · VF04 - Billing due list
    · FBL5N - Display Customer invoices by line
    · FBL1N - Display Vendor invoices by line
    Delivery
    · VL02N - Change delivery document
    · VL04 - Delivery due list
    · VKM5 - List of deliveries
    · VL06G - List of outbound deliveries for goods issue
    · VL06P - List of outbound deliveries for picking
    · VL09 - Cancel goods issue
    · VT02N - Change shipment
    · VT70 - Output for shipments
    General
    · VKM3, VKM4 - List of sales documents
    · VKM1 - List of blocked SD documents
    · VD52  - Material Determination
    MM Transaction Code
    All transaction are stored in table TSTC. 
    Transaction for MM module start with M. 
    IH09 - Display Material
    MM01 - Create Material 
    MM02 - Change Material 
    MM03 - Display Material
    MM50 - List Extendable Materials
    MMBE - Stock Overview
    MMI1 - Create Operating Supplies
    MMN1 - Create Non-Stock Material 
    MMS1 - Create Service
    MMU1 - Create Non-Valuated Material
    ME51N - Create Purchase Requisition
    ME52N - Change Purchase Requisition
    ME53N - Display Purchase Requisition
    ME5A - Purchase Requisitions: List Display
    ME5J - Purchase Requisitions for Project
    ME5K - Requisitions by Account Assignment
    MELB - Purch. Transactions by Tracking No.
    ME56 - Assign Source to Purch. Requisition
    ME57 - Assign and Process Requisitions
    ME58 - Ordering: Assigned Requisitions
    ME59 - Automatic Generation of POs
    ME54 - Release Purchase Requisition
    ME55 - Collective Release of Purchase Reqs.
    ME5F - Release Reminder: Purch. Requisition
    MB21 - Create Reservation
    MB22 - Change Reservation
    MB23 - Display Reservation
    MB24 - Reservations by Material
    MB25 - Reservations by Account Assignment
    MB1C - Other Goods Receipts
    MB90 - Output Processing for Mat. Documents
    MB21 - Create Reservation
    MB22 - Change Reservation
    MB23 - Display Reservation
    MB24 - Reservations by Material
    MB25 - Reservations by Account Assignment
    MBRL - Return Delivery per Mat. Document
    MB1C - Other Goods Receipts
    MB90 - Output Processing for Mat. Documents
    MB1B - Transfer Posting
    MIBC - ABC Analysis for Cycle Counting
    MI01 - Create Physical Inventory Document
    MI02 - Change Physical Inventory Document
    MI03 - Display Physical Inventory Document
    MI31 - Batch Input: Create Phys. Inv. Doc.
    MI32 - Batch Input: Block Material
    MI33 - Batch Input: Freeze Book Inv.Balance
    MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
    MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
    MIQ1 - Batch Input: PhInvDoc. Project Stock
    MI01 - Create Physical Inventory Document
    MI02 - Change Physical Inventory Document
    MI03 - Display Physical Inventory Document
    MI31 - Batch Input: Create Phys. Inv. Doc.
    MI32 - Batch Input: Block Material
    MI33 - Batch Input: Freeze Book Inv.Balance
    MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
    MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
    MIQ1 - Batch Input: PhInvDoc. Project Stock
    MI01 - Create Physical Inventory Document
    MI02 - Change Physical Inventory Document
    MI03 - Display Physical Inventory Document
    MI31 - Batch Input: Create Phys. Inv. Doc.
    MI32 - Batch Input: Block Material
    MI33 - Batch Input: Freeze Book Inv.Balance
    MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
    MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
    MIQ1 - Batch Input: PhInvDoc. Project Stock
    MI21 - Print physical inventory document
    MI04 - Enter Inventory Count with Document
    MI05 - Change Inventory Count
    MI06 - Display Inventory Count
    MI09 - Enter Inventory Count w/o Document
    MI34 - Batch Input: Enter Count
    MI35 - Batch Input: Post Zero Stock Balance
    MI38 - Batch Input: Count and Differences
    MI39 - Batch Input: Document and Count
    MI40 - Batch Input: Doc., Count and Diff.
    MI08 - Create List of Differences with Doc.
    MI10 - Create List of Differences w/o Doc.
    MI20 - Print List of Differences
    MI11 - Physical Inventory Document Recount
    MI07 - Process List of Differences
    MI37 - Batch Input: Post Differences
    CT01 - Create Characteristic
    CT02 - Change Characteristic
    CT03 - Display Characteristic
    CL01 - Create Class
    CL02 - Classes
    CL03 - Display Class
    CL04 - Delete Class
    CL2B - Class Types
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:53 PM

  • SAP Trans.Code related to know the Inventory of previous for more than 5 yr

    I want to know the SAP transaction code of inventory Reports related.I want to know the  previous Inventory of more than 5 years from the current financial year vide G/L code and part wise.
    Regards

    Hi P K ,
    IF you want report for previous period by G/L account and part code wise.. then MB5L will not serve your purpose . MB5L will display current balances only ..
    Some users save MB5L details every month for future references..
    However , you can create a ABAP program which will work like MB5L but will pull data of previous period ( date selection will be there).
    My client is having such custom report..
    Regards
    Sarada

  • Regarding ABAP-HR Code

    Hi Friends
    I am new to ABAP-HR.I am trying to analyze below peace of code but not yet succeeded till.
    So any one please illustrates me the below peace of code step-by-step.
    DATA: is_i77pr LIKE  t77pr.
      DATA: temp1 LIKE result_struc_obj.
      DATA: temp2 LIKE result_struc_obj.
      DATA: tmp_pnext LIKE struc-pnext.
      DATA: mgr_name LIKE objec-stext.
      DATA: tmp_sytabx LIKE sy-tabix.
      CLEAR: result_tab_obj.
      REFRESH: result_tab_obj.
    evpath = 'ZPXO_GEN'.
      CALL FUNCTION 'RH_STRUC_GET_MULTIPLE_ROOTS'
        EXPORTING
          act_wegid                  = evpath
      ACT_INT_FLAG               =
      ACT_PLVAR                  = ' '
         act_svect                  = '1'
         act_begda                  = sy-datum
         act_endda                  = sy-datum
         act_tdepth                 = 0
         act_tflag                  = 'X'
         act_vflag                  = 'X'
         act_sflag                  = 'X'
         act_recurs                 = 'X'
         act_text_buffer_fill       = 'X'
         authority_check            = 'X'
      BUFFER_MODE                = ' '
         keep_order                 = 'X'
    IMPORTING
      ACT_PLVAR                  =
      ROOT_COPY                  =
        TABLES
          root_objects               = root_objects
         result_objec               = result_objec_obj
         result_struc               = result_struc_obj
       EXCEPTIONS
         no_plvar_found             = 1
         no_entry_found             = 2
         path_not_found             = 3
         root_not_found             = 4
         OTHERS                     = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Delete Root Org Unit's Chief Personnel No.
      LOOP AT root_objects.
        REFRESH: result_tab_obj.
        CLEAR: result_tab_obj.
        CALL FUNCTION 'RH_STRUC_GET'
          EXPORTING
            act_otype      = 'O'
            act_objid      = root_objects-objid
            act_wegid      = 'ZPX_CFPN'
            act_begda      = begda
            act_endda      = endda
          TABLES
            result_tab     = result_tab_obj
          EXCEPTIONS
            no_plvar_found = 1
            no_entry_found = 2
            OTHERS         = 3.
        LOOP AT result_tab_obj WHERE otype = 'P'.
        Append Root Org Unit's Mgr Name into Description...
          CLEAR: mgr_name.
          LOOP AT result_objec_obj WHERE otype = 'P' AND objid = result_tab_obj-objid.
            mgr_name = result_objec_obj-stext.
            CONCATENATE mgr_name ')' INTO mgr_name.
            CONCATENATE '(Mgr:' mgr_name INTO mgr_name
            SEPARATED BY space.
            EXIT.
          ENDLOOP.
          IF sy-subrc = 0.
            LOOP AT result_objec_obj WHERE otype = 'O' AND objid = root_objects-objid.
              CONCATENATE result_objec_obj-stext mgr_name INTO result_objec_obj-stext
              SEPARATED BY space.
              MODIFY result_objec_obj. CLEAR result_objec_obj.
            ENDLOOP.
          ENDIF.
          CLEAR: temp1, temp2.
        Get references of Chief person...
          LOOP AT result_struc_obj
                  WHERE otype =  result_tab_obj-otype
                  AND objid = result_tab_obj-objid.
            MOVE-CORRESPONDING result_struc_obj TO  temp1.
          ENDLOOP.
        Get reference of Root Org.Unit...
          LOOP AT result_struc_obj
                  WHERE otype =  root_objects-otype
                  AND objid = root_objects-objid.
            MOVE-CORRESPONDING result_struc_obj TO  temp2.
          ENDLOOP.
          CLEAR : tmp_sytabx .
          LOOP AT result_struc_obj
                   WHERE otype =  result_tab_obj-otype
                   AND objid = result_tab_obj-objid
                   AND pup = temp2-seqnr.
            tmp_sytabx  = sy-tabix.
          ENDLOOP.
          LOOP AT result_objec_obj
                 WHERE otype =  result_tab_obj-otype
                 AND objid = result_tab_obj-objid.
            IF sy-tabix = tmp_sytabx.
              DELETE result_objec_obj.
              EXIT.
            ENDIF.
          ENDLOOP.
          DELETE result_struc_obj
                 WHERE otype =  result_tab_obj-otype
                 AND objid = result_tab_obj-objid
                 AND pup = temp2-seqnr.
        1. If the value in field STRUCS-PDOWN for object U, which is
        located above D, corresponds to the value STRUCS-SEQNR for D,
        set the value of U STRUCS-PDOWN to the value of D STRUCS-PNEXT.
        Reduce the value of U STRUCS-VCOUNT by 1.
          CLEAR: tmp_pnext.
          tmp_pnext = temp1-pup.
          LOOP AT result_struc_obj WHERE seqnr = tmp_pnext.
            result_struc_obj-vcount = result_struc_obj-vcount - 1.
            MODIFY result_struc_obj. CLEAR result_struc_obj.
          ENDLOOP.
          CLEAR: tmp_pnext.
          tmp_pnext = temp1-seqnr.
          LOOP AT result_struc_obj WHERE pdown = tmp_pnext.
            result_struc_obj-pdown = temp1-pnext.
            MODIFY result_struc_obj. CLEAR result_struc_obj.
          ENDLOOP.
        2. If an object P exists, for which the value STRUCS-PNEXT corresponds
        to the value of D STRUCS-SEQNR, set the value of P STRUCS-PNEXT
        to the value of D STRUCS-PNEXT.
          CLEAR: tmp_pnext.
          tmp_pnext = temp1-seqnr.
          LOOP AT result_struc_obj WHERE pnext = tmp_pnext.
            result_struc_obj-pnext = temp1-pnext.
            MODIFY  result_struc_obj. CLEAR result_struc_obj.
          ENDLOOP.
        3. If an object N exists, for which the value STRUCS-PREV corresponds to
        the value of D STRUCS-SEQNR, set the value of N STRUCS-PPREV to the value
        of D STRUCS-PPREV.
          CLEAR: tmp_pnext.
          tmp_pnext = temp1-seqnr.
          LOOP AT result_struc_obj WHERE pprev = tmp_pnext.
            result_struc_obj-pprev = temp1-pprev.
            MODIFY  result_struc_obj. CLEAR result_struc_obj.
          ENDLOOP.
        ENDLOOP.
      ENDLOOP.
    @ start of code - vinay golchha
    Data declarations
      data : root_orgid type realo.
      DATA : root_mgr_pernr TYPE realo.
      DATA : emp_pernr TYPE realo.
      DATA : mgr_pernr TYPE realo.
      DATA : org_unit_id TYPE realo.
      DATA : pernr_tabix LIKE sy-tabix.
      DATA : struc_tabix LIKE sy-tabix.
      DATA: leading_pos LIKE hrobject OCCURS 0 WITH HEADER LINE.
      DATA : direct_emp_flag TYPE c VALUE ' '.
      DATA: i1001       LIKE  hri1001 OCCURS 0 WITH HEADER LINE.
      DATA : root_mgr_pernr1 TYPE sobid.
      DATA : result_objec_obj1 LIKE STANDARD TABLE OF result_objec_obj WITH HEADER LINE.
      DATA : org_seqnr TYPE sseqnr.
    Loop through all the root org units
      LOOP AT root_objects.
        result_objec_obj1[] = result_objec_obj[].
      Get the Root Org Unit
        root_orgid = root_objects-objid.
      Get the Manager of the Root Org Unit
        CALL FUNCTION 'RH_GET_LEADER'
          EXPORTING
            plvar                     = '01'
            keydate                   = sy-datum
            otype                     = 'O'
            objid                     = root_orgid
          IMPORTING
            leader_id                 = root_mgr_pernr
          EXCEPTIONS
            no_leader_found           = 1
            no_leading_position_found = 2
            OTHERS                    = 3.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      Looping through the Employees for Root Org Unit
        LOOP AT result_objec_obj1 WHERE otype = 'P'.
          emp_pernr = result_objec_obj1-objid.
        Set thye direct employee flag to blank
          direct_emp_flag = ' '.
        Get the leading positions
          REFRESH leading_pos.
          CALL FUNCTION 'RH_GET_LEADING_POSITION'
            EXPORTING
              plvar             = '01'
              otype             = 'P'
              sobid             = emp_pernr
            TABLES
              leading_pos       = leading_pos
            EXCEPTIONS
              no_lead_pos_found = 1
              OTHERS            = 2.
          IF sy-subrc <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        Loop through the leading positions if there are
        multiple leading positions
          LOOP AT leading_pos.
            org_unit_id = leading_pos-objid.
          Get the Manager
            REFRESH i1001.
            CALL FUNCTION 'RHOM_READ_RELAT_BUFFERED'
              EXPORTING
                otype           = 'S'
                objid           = leading_pos-objid
                plvar           = '01'
                subty           = 'A008'
              TABLES
                i1001           = i1001
              EXCEPTIONS
                no_active_plvar = 1
                OTHERS          = 2.
            IF sy-subrc <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            root_mgr_pernr1 = root_mgr_pernr.
            READ TABLE i1001 WITH KEY sobid = root_mgr_pernr1.
          If manager found set directly reporting flag as 'X'
            IF sy-subrc = 0.
              direct_emp_flag = 'X'.
              EXIT.
            ENDIF.
          ENDLOOP.
        If the current Employee manager is NOT equal to Root Org Unit's Manager
          IF direct_emp_flag = ' '.
          Get sequence number of org unit
            READ TABLE result_struc_obj
              WITH KEY otype = root_objects-otype
              objid = root_objects-objid.
            org_seqnr = result_struc_obj-seqnr.
           Remove entry from result_struc_obj and modify the table accordingly
            CLEAR : temp1, temp2,tmp_sytabx.
            LOOP AT result_struc_obj
                    WHERE otype = 'P'
                    AND objid = emp_pernr
                    AND pup = org_seqnr.
              MOVE-CORRESPONDING result_struc_obj TO temp1.
            ENDLOOP.
            LOOP AT result_struc_obj
                     WHERE otype = root_objects-otype
                     AND objid = root_objects-objid.
              MOVE-CORRESPONDING result_struc_obj TO temp2.
            ENDLOOP.
            CLEAR struc_tabix.
            LOOP AT result_struc_obj
                    WHERE otype = 'P'
                    AND objid = emp_pernr
                    AND pup = temp2-seqnr.
              struc_tabix = sy-tabix.
            ENDLOOP.
            LOOP AT result_objec_obj
              WHERE otype ='P'
              AND objid = emp_pernr.
           Delete entry for directly reporting employee
              IF sy-tabix = struc_tabix.
                DELETE result_objec_obj.
                EXIT.
              ENDIF.
            ENDLOOP.
            DELETE result_struc_obj
            WHERE otype = 'P'
            AND objid = emp_pernr
            AND pup = temp2-seqnr.
          Delete count of vertically related objects by 1
          if record deleted
            CLEAR tmp_pnext.
            tmp_pnext = temp1-pup.
            LOOP AT result_struc_obj WHERE seqnr = tmp_pnext.
              result_struc_obj-vcount = result_struc_obj-vcount - 1.
              MODIFY result_struc_obj.
              CLEAR result_struc_obj.
            ENDLOOP.
          Set the down pointer of the record previous to the
          deleted one to the next pointer of the deleted one
            CLEAR tmp_pnext.
            tmp_pnext = temp1-seqnr.
            LOOP AT result_struc_obj WHERE pdown = tmp_pnext.
              result_struc_obj-pdown = temp1-pnext.
              MODIFY result_struc_obj.
              CLEAR result_struc_obj.
            ENDLOOP.
          Set the next pointer of the record previous to the deleted
          one to the next pointer of the deleted one
            CLEAR tmp_pnext.
            tmp_pnext = temp1-seqnr.
            LOOP AT result_struc_obj WHERE pnext = tmp_pnext.
              result_struc_obj-pnext = temp1-pnext.
              MODIFY result_struc_obj.
              CLEAR result_struc_obj.
            ENDLOOP.
          Set the value of previous pointer
            CLEAR tmp_pnext.
            tmp_pnext = temp1-seqnr.
            LOOP AT result_struc_obj WHERE pprev = tmp_pnext.
              result_struc_obj-pprev = temp1-pprev.
              MODIFY result_struc_obj.
              CLEAR result_struc_obj.
            ENDLOOP.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    @ End of Code - Vinay Golchha
      REFRESH: result_objec, result_struc.
      CLEAR: result_objec, result_struc.
      result_objec[] = result_objec_obj[].
      result_struc[] = result_struc_obj[].
    Regards,
    Sree

    Hi,
    1) DATA: temp1 LIKE result_struc_obj.-
       it declares temp1 as a internal table of  result_struc_obj table that means temp1 posses all functionality, attributes of result_struc_obj.
    and we are not directly make any changes to database table for that we must have create internal table.
    2)  In the HR ABAP, there are function modules for everything.
    like in your code 'RH_GET_LEADER' FM gives manager ID of that person.
    If you want to know how this function module works just go to
    SE37->give function module name->display-> on the Toolbar you will see ' Function module Documentation' option.
    3) IF sy-subrc = 0.
    sy-subrc 0 means your Function module worked out and get output. otherwise there must be some error.
    4) CLEAR- clears header line of the internal table.
        REFRESH- clears contents or body of the table.
    5) LOOP AT root_objects.
       ENDLOOP.
    it will go through each record of the table root_objects. it will help when you want to check each record of the table. we can give any conditon after loop at. on that basis loop will execute.
    6) READ TABLE -
    it reads one record of the table at a time.
    7) MOVE-CORRESPONDING - it will move all record to respective fields.
    reward if useful.

  • T CODE related with IPC

    Hi ,
      Please provide me the t codes associated with IPC.Also let me know whether CR 235 is enough to understand IPC or i need to refer some other CR.
    Please provide me link of some useful documents related with IPC.
    regards
    PG

    Hi,
    Go through the below link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/107adc1a-0501-0010-de8e-973e0fb4049b
    Regards,
    PePe

  • German codes related to BAPI_SALESORDER_CREATEFROMDAT2

    Hi all,
    When i tested bapi BAPI_SALESORDER_CREATEFROMDAT2 in se37 with OR as the doc type and SP as the partner role (with the mandatory entries as per the fm documentation), sales document is getting created successfully. But i read in some posts related to the same bapi where its mentioned that it is important to use german codes like TA instead of OR and AG instead of SP.
    When i import same bapi in Visual Composer, BAPI with OR and SP values gives an error 'Sales doc type OR is not defined' whereas when i try with TA and AG sales document is getting created. Is there any significance of using german codes in this bapi or Is any language dependent field present in this bapi?
    Pls can anyone throw some llight on the german codes usage in this bapi and help me out to solve this issus.
    Thanks and Regards,
    Revathi.

    Hi ,
    u can check the documentation of it , have u look at  EXTENSIONIN.
    regards
    Prabhu

  • PLEASE HELP (SONG CODE RELATED)

    Hello, I have received a couple of redeemable song codes but it says its only for US customers, Im in CANADA. Is there ANYTHING I can do to redeem these?

    Hi;
    Q1 – What happens when we connect Oracle Apps through URL . How the URL connects it to apps. What are all background process to do so . Names with their workings. (Start level from the first login page)Check below threads:
    Full cycle ...
    Re: Full cycle ...
    Q2 – What are JSP, APACHE & HTML in Oracle. How do jsp, apache and html pages related to oracle apps connection. How do they work.You need to read concept guide:
    tüm notlar2
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    For r12:
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    For r11:
    http://download.oracle.com/docs/cd/A60725_05/r11_doc.htm
    Q3 – What happens if the oracle apps page is not connecting, hangs or shows blank screen. How will you solve the same.You need to check apache log file or you should check apache and other service up &running. If not you need to check apache log files
    Q4 – what are in folder 10.1.2 and 10.1.3. What are they meant for and how do they work.Check concept guide
    Q5 – What is the difference between Oracle home for 10g RDBMS / oAS 10.1.2 ORACLE HOME / oAS 10.1.3 ORACLE HOME and their contents.There are 3 homes in EBS. Check concept guide :)
    Q6 – What are in Instance top and their uses.Check concept guide :)
    Q7 – Complete Oracle apps architecture and its complete descriptions with workings.Check concept guide :)
    As you can see You need to start to read concept guide. All your question answer is there. I can answer your question but it will not help you. If you inerested to become app dba you must know concept, component of ebs and their relation. Those topic cover in concept guide
    Read first. If you have still question than update thread ;)
    Regard
    Helios

  • Issue regarding access of ABAP related services from portal

    Dear All,
    We need your input in the following issue:
    Scenerio:
    we have implemented ess 1.2 on ep7.0
    here we have gone for "Enhanced Package 2" for TRAVEL for client requirements so Travel Services are ABAP WEBDYNPRO instead of Standard JAVA WEBDYNPRO and we have 2 transaction iviews on portal.
    Now when an end user clicks on travel services, the request is forwaded to ABAP WAS. So, we need to maintain two entries in DNS: 1. Portal url, 2. ABAP WAS
    Now the client doesnot want to maintain ABAP WAS entry in their dns. BUT if they do not maintain this than end users are not able to access ABAP related services...
    Can you please suggest any possible solution for this issue.
    Thanks & Regards,
    JJ

    Hi,
    Per SAP Note 1040325, it says "It is not possible if there is another component between the browser and the message server (for example, a portal)." In your case a firewall between the portal and WAS. So a direct connection between the client and the WAS system is required which is a security risk. The section below gives more detail on why this is the case/
    The following is a excerpt from the Portal "Network and Communication Security" guide:-
    Please note that the requirement for direct access between the client and the backend is well flagged in the documentation. For instance, please refer to the Portal Security Guide, specifically the section "Network and Communication Security" (http://help.sap.com/saphelp_nw04s/helpdata/en/b9/c892f1ffc34156883ddd24aec01253/frameset.htm):
    'Neither the portal nor the AS Java provides a proxy function. [...] If you have set up a network architecture with one or more firewalls, and your portal integrates iViews that initiate client-backend communication, you must set up access for the client through the firewalls to the application server in the back end.'
    So the only secure solution is to install a webdispatcher in your DMZ and forward the requests from the (5) Portal to the (6) webdispatcher as in the graphic below :-
    ........................................./-> (3) Webdisp -\....................../-> (5) Portal
    (1) Client (IE) -> (2) Firewall |.........................|-> (4) Firewall |
    .........................................\-> (6) Webdisp -/......................\-> (7) WAS
    The original requests bound for the (5) Portal are relayed via the (3) webdisp1 as you can only have one webdisp connecting to one backend SAP system (Portal OR WAS).
    Hope this helps.
    Michael

  • Problem regarding Duplicate Material Codes in SAP

    Dear Xperts,
    In our manufacturing plant,we are not using Split Valuation for same materials procured either from the domestic or from the imported Vendor.Even they are not using the same for the materials received through free of cost or through proper payment process.They are using two material codes and for this data redundancy occurred.Now they want to club the same into one material code but do not want to use Split Valuation till now.
    They want the following:
    1. For domestic Vendor they will follow Purchae Order.
    2. For international Vendor they will follow Schedule Agreement.
    3. They want only Delivery Schedule to be generated through MRP.No Purchase Requisition will be generated.
    But how to proceed.Is it possible?
    Plz advice.
    Regards,
    Soumick

    HI,
    But is it possible to generate only Delivery Schedules thru MRP?Means not to generate PR if we use both PO and SA for same material but for different Vendors?
    PR not generated for scheduling agreement only schedule line will generated as per define schedule in scheduling agreement
    ME31L = to Create SA document type LA or LPA
    Me32L = to change SA
    ME38 = to maintain delivery schedule
    assign scheduling agreement in source list ME01 and select indicator 2 MRP relevant and in material master in purchasing view select JIT indicator
    MIGO = to enter GR against SA
    MIRO = to enter IR against SA
    check following link
    [MRP To Generate SCHEDULE LINES for Scheduling Agreement;
    Regards
    Kailas Ugale

  • MM - Company code related issue

    Hi,
    I know it is silly questions but does SAP allow to add Purchasing Org to Company code? If it not, then please explain.

    hI
    I know it is silly questions but does SAP allow to add Purchasing Org to Company code? If it not, then please explain.
    You can assign purchase organization to company code ,it will be company code specific purchasing organization
    Regards
    Kailas Ugale

  • Need Tables and Func Modules related to Project Systems

    Hi
          I am working on a custom program that Creates Project ( CJ01) using standard Project Def.
         All WBS elements of  Standard Project Template  should be copied to the newly created Project
        I am not able to get any Standard Func Module which creates new WBS elements from Standard WBS elements.
      It will be of great help for me, if any one has info on this.
    thanks in advance.

    Hi
    See the Tables
    PRPS  -WBS element
    PROJ - Project Definition
    other tables are
    PRTE,PRTX,PSTX,PSTT  -Scheduling data for items
    PRHIS
    see the fun modules
    CJPN_GET_WBS_ELEMENT
    CJPS_GET_WBS_ELEMENT
    PSBW_GET_TEXT_WBS_ELEMENT
    PSBW_GET_WBS_ELEMENT
    K_PROJECT_WBS_PLANVALUES
    AIPR_GET_HIERARCHY_TO_WBSELEM
    CJDW_GET_NEW_WBS_ELEMENTS
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

Maybe you are looking for