LC_APPL_ERROR in /SAPAPO/OM_ORDER_GET_DATA

Hi All,
I'm using /SAPAPO/OM_ORDER_GET_DATA to fetch the orders from liveCache. But I'm facing the error LC_APPL_ERROR randomly for certain records.
Why does this error LC_APPL_ERROR rise? What can be done to avoid this error?
Pls help...this is an urgent requirement...
Thanks & Regards,
SriLalitha.

Hi SriLalitha,
LC_APPL_ERROR can have many different causes.
In general, in the output of the FM you can find in ET_RC[]-RC what is the return code of the error that happened in the liveCache.
You can, then, execute transaction /SAPAPO/OM10 and check what is the short text of that return code.
Please, check if you can find out the return code of the error and what is its meaning. This should give you a hint on what's wrong and how to avoid the error.
Regards,
Tiago

Similar Messages

  • SAP APO for abaper

    Hi experts,
    Can anyone help in areas of APO need to concentrate by a technical person or abaper. ?
    Which functional area should one needs to concentrate to learn and understand APO.
    Thanks,
    Pradeep

    For doing ABAP within APO, some useful things would be.
    1. Pulling data from Livecache/Memory - best ways to do this. ie which BAPI's and Function modules, and wether it is order series of time series from DP. (below is an example of some test code with some hard coded numbers to pull some PPDS orders out for testing)
    2. Find out what areas the business are using the most / struggling the most and dig into what is possible. There is often a mix of configuration changes or code which could do the same thing.
    Code example with specific hard coded material and exact order ID to review results.
    *& Report  ZZZ__TESTORDERGET
    REPORT  ZZZ__TESTORDERGET.
    *TYPES: LT_ORDER    TYPE    /SAPAPO/OM_ORDID_TAB.
        DATA:
           IV_MATNR      TYPE /SAPAPO/MATNR,
           LV_MATID   TYPE /SAPAPO/MATID.
          IV_MATNR     =  '0000000000000000000000000000000000400038'.
    CALL FUNCTION '/SAPAPO/DM_MATERIAL_GET_MATID'
      EXPORTING
        IV_MATNR        = IV_MATNR
      IMPORTING
        EV_MATID        = LV_MATID
      EXCEPTIONS
        MATID_NOT_FOUND = 1
        OTHERS          = 2.
    * ABOVE IS GET MATERIAL ID example.
    * Below is create SIM Session to use in order
        DATA:LS_GEN_PARAMS TYPE /SAPAPO/OM_GEN_PARAMS,
    *    LT_MATLOC_ID   TYPE /SAPAPO/DM_MATLOC_ID_TAB,
    *    LS_MATLOC_ID   TYPE /SAPAPO/DM_MATLOC_ID,
    *    GC_MINTIME     TYPE /SAPAPO/STARTTI VALUE '20070723000000',
    *    GC_MAXTIME     TYPE /SAPAPO/STARTTI VALUE '20070729235959',
    *    LV_NOW         TYPE TIMESTAMP,
    *    lt_tds         TYPE /sapapo/ctm_tds_tab,
        LV_CHK(1),
        LT_ORDER    TYPE  /SAPAPO/OM_ORDID_TAB,
        LT_ORDERS    TYPE   /SAPAPO/OM_ORDER_EXT_TAB,
        LT_ORDKEYS    TYPE  /SAPAPO/OM_ORDKEY_TAB,
        lt_rc      TYPE     /SAPAPO/OM_LC_RC_TAB,
    *    LT_ORDER-TABLE_LINE  TYPE    /SAPAPO/OM_ORDERUID.
    *    WA_ORDER LIKE line of LT_ORDER.
      ls_exclude_fields  TYPE  /SAPAPO/OM_EXCLUDE_FIELDS,
      ls_exclude_exports TYPE /SAPAPO/OM_GETDATA_OPTIONS.
      FIELD-SYMBOLS:
    *    <ls_ordkey>       TYPE  /sapapo/ordkey.
        <ls_ordkey>       TYPE  /SAPAPO/OM_ORDERUID,
        <ls_ordkey2>  LIKE LINE OF LT_ORDER.
    *For version Id
    DATA : GV_SIMS TYPE /SAPAPO/OM_SIMSESSION,
    GV_PARAMS TYPE /SAPAPO/OM_GEN_PARAMS.
    GV_PARAMS-SIMVERSION = 'K5e29RSL8g3X08002W099m'.
    *Get the current sim session
    CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
      IMPORTING
        EV_SIMSESSION = GV_SIMS
        ES_GEN_PARAMS = GV_PARAMS.
    *Creat the sim session if not available
    IF GV_SIMS IS INITIAL.
      LV_CHK = 'X'.
    GV_PARAMS-SIMVERSION = 'K5e29RSL8g3X08002W099m'.
      CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
        EXPORTING
              iv_simid       = GV_PARAMS-SIMVERSION
        IMPORTING
          EV_SIMSESSION = GV_SIMS.
      CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
        IMPORTING
          EV_SIMSESSION = GV_SIMS
          ES_GEN_PARAMS = GV_PARAMS.
    ENDIF.
    *ORDER NUMBERS TRIED TEST
    ASSIGN 'KCewR5hH5I3X08002W099m' TO  <ls_ordkey2>.
    APPEND <ls_ordkey2> TO LT_ORDER.
    ASSIGN 'KC66l37Z903X08002W099m' TO  <ls_ordkey2>.
    APPEND <ls_ordkey2> TO LT_ORDER.
    ASSIGN 'KC66lZ7Z903X08002W099m' TO  <ls_ordkey2>.
    APPEND <ls_ordkey2> TO LT_ORDER.
    ls_exclude_fields = 'xx'.
    ls_exclude_exports = ' xxxxxxxxxxxxxxxxxxxxxxxxx '.
    LS_GEN_PARAMS  = GV_PARAMS.
    CALL FUNCTION '/SAPAPO/OM_ORDER_GET_DATA'
      EXPORTING
        IS_GEN_PARAMS                   = ls_gen_params
        IV_SIMSESSION                   = GV_SIMS
        IT_ORDER                        = lt_order
        IS_EXCLUDE_FIELDS                = ls_exclude_fields
        IS_EXCLUDE_EXPORTS               = ls_exclude_exports
    IMPORTING
       ET_ORDERS                        = lt_orders
       ET_RC                            = lt_rc
        ET_ORDKEYS                      = lt_ordkeys
    EXCEPTIONS
       LC_CONNECT_FAILED            = 1
       LC_COM_ERROR                    = 2
       LC_APPL_ERROR                   = 3
       OTHERS                                  = 4.
    *** THE BELOW AT LEAST CALLS THE TRANSACTION - come back to this
    Data: lv_RRP3Code(12) value '/SAPAPO/RRP3'.
    CALL TRANSACTION lv_RRP3Code AND SKIP FIRST SCREEN.
    *Just calling material ID again for an easy place to debug.
    CALL FUNCTION '/SAPAPO/DM_MATERIAL_GET_MATID'
      EXPORTING
        IV_MATNR        = IV_MATNR
      IMPORTING
        EV_MATID        = LV_MATID
      EXCEPTIONS
        MATID_NOT_FOUND = 1
        OTHERS          = 2.

  • Fetching open component qty against production order

    Hi
    The requirement is to fetch component 'open quantity' for a production order. [ Open quantity = requirement - withdrawn qty of the component ]
    Can we get it through /SAPAPO/OM_ORDER_GET_DATA ? I could see the requirement quantity but not the quantity required.
    Thanks in advance...
    Yogesh

    Hi PP_HKV,
    I did as you told me  about use MB1A/261 against production order and you rigth, This not up date any quantity in production order for component only I can see this movoment in option   GOTO --> Documented goods movements, but not in component overview in field Qty withdrawn, It is the same case when I use MB1A/262 transation allow me to do the movment but the quantity in production order for component is not up date only it is show in GOTO --> Documented goods movements
    I see in standard process it is not work as I expect. Is there some way for to do that any bapi o customization?
    Thanks in advance,
    Julio Werekeitzen

  • Read the characteristics of a planned order in APO

    how can we read the characteristics of a planned order in APO.What Function Module can be used for this?
    how can we manually schedule the order activities based on the characteristics. Can we use the function module 
    /SAPAPO/OM_ACT_SCHEDULE by copying and making some changes in it for this purpose?

    Hi,
    if there are any orders in your system with characteristics (in planning version 000) then this report will find them:
    report  get_char.
    data:
       ls_genp     type /sapapo/om_gen_params,
       lt_orderid  type /sapapo/om_orderid_tab,
       lt_char     type /sapapo/om_charact_val_tab.
    ls_genp-simversion = '000'.
    call function '/SAPAPO/OM_ORDER_GET_ALL'
      exporting
        is_gen_params = ls_genp
        iv_simsession = ''
      importing
        et_orders     = lt_orderid.
    call function '/SAPAPO/OM_ORDER_GET_DATA'
      exporting
        is_gen_params       = ls_genp
        iv_simsession       = ''
        it_order            = lt_orderid
      importing
        et_charact_val_acts = lt_char.
    Best regards
    Thomas

  • Please advise on how I can find a source location using FM in APO-SNP

    Hi All,
    I'm able to get the list of orders using FM - BAPI_POSRVAPS_GETLIST3 but not able to find the source for the orders extracted using any function modules / BAPIs
    Please advise.
    Thanks
    Venkat

    Hi Venkat,
                     I hope you are getting purchase requisition list in REQUIREMENT parameter table of BAPI. In that you will find ORDID and PEGIN_GUID also which is nothing but the receipt at Source Location,search for this GUID in another parameter table of RECEIPTS, there you in LOCATION field you will see the source location from where that order is getting fulfilled.
    Check in PEGGING_OUTPUT_NODES / PEGGING_INPUT_NODES parameter tables also whether source location is there in location field?
    If this is not the case then, You are getting list of Purchase Requisition with their GUID/ ORDID.
    Pass this ORDIDs to function module,  /SAPAPO/OM_ORDER_GET_DATA, here you will get all the information relevant to any order in live-cache. I think first, you have to convert ORDID from CHAR32 to CHAR22 for input to this FM.
    I hope now this will help you.
    Regards,
    Saurabh

  • Fetching order data from Live Cache

    Hi
    The requirement is to fetch order data from liveCache for a given product based on ATP category . (AY - dependent demands and AU - order reservations)
    I want to get information about the dates and order quantity.
    I have identified following two FM's.
    /SAPAPO/OM_PEG_CAT_GET_ORDERS
    /SAPAPO/OM_ORDER_GET_DATA
    Which one of the two FM is more suitable specific to my requirement ? Also what are the important parameters to be passed in the applicable FM ?
    I would also like to know the difference in these two FMs?
    Thanks in advance,
    Yogesh

    Hi,
    I tried FM PAPO/OM_PEG_CAT_GET_ORDERS
    I am giving the following inputs
    1. PEGID which I am getting from /SAPAPO/DM_MATERIAL_GET_PEGID for a given product location.
    2. ATP category in IT_CATEGORY = BM and CC
    3. V_SIMSESSION = 000
    4. IV_IONODE_PEG_SEL = 0
    But I am getting LC_COM_ERROR
    What parameters am I missing ?
    Regards,
    Yogesh

  • Abaper role on APO

    Hi Experts
    Iam working as senior abap consultant. iam new to APO ,could please tell me what is the role of abaper in APO in development perspective ?
    please send me any devloped or sample objects on APO ( which involves abap devlopment).
    mailid: [email protected]
    your favour will be highly appriciated.
    thanks in advance
    regards
    sri

    Dear Sri,
    You would need to upload master and transaction data. BW skills would also be advantageous as it would deal with data extraction using administrative workbench.
    APO Technical:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/scm/apo-technical&
    FMs available:
    BAPI_POSRVAPS_SAVEMULTI3 - Delivery - ATP Category BR in APO DRP
    BAPI_PBSRVAPS_DETAIL2 - Planning Book data - Input Parameters Planningbook, Data_view, Planning_Version, Period_Type Values (as in the domain /SAPAPO/CPDS_PERIOD_TYPE e.g. 'B' Week 'C' Month), Date_From and Date_To (format e.g. ww.yyyy)
    /SAPAPO/EFPL_ORD_NET_GET - Pegging relationship - For pegging relationship across the entire strucuture
    EXIT_/SAPAPO/SAPMMCP6_005 ZXDMUSERU05 - User exit - macro Add code in ZXDMUSERU05
    /SAPAPO/RRP_LC_PEGID_GET_IO - MRP Data from Live Cache - to get the data from live cache. Pass the pegid to the export parameter 'it_pegarea'. Determine pegid by using the function module '/SAPAPO/DM_MATERIAL_GET_PEGID'
    /SAPAPO/OM_PEG_CAT_GET_ORDERS - To get data from LC at matches the PEGID (= plant, material, storage location) and ATP-category - You will just have to specify the ATP-categories that match the MRP elements you would like to retrieve - LC doesn't store the names of the MRP elements
    /SAPAPO/OM_ORDER_GET_DATA - Order details from liveCache - To retrieve all information of an order from LC that corresponds to an order id. You just have to use the field IS_GEN_PARAMS-SIMVERSION = '000' and fill the table IT_ORDER with your order id. If you only want to have the OUTPUT_FIXED indicator it would be faster if you use the FM I suggested and then only request ET_ORDKEY as an output table - this table contains the OUTPUT_FIXED indicator
    /SAPAPO/DM_ORDKEY_SELECT_ORDNO GUID - of Order from liveCache - Need to provide Order No. and SIMID
    /SAPAPO/RRP_HEURISTIC_GET_DATA - Heuristic details - EXPORTING iv_heur_id = heur_id iv_langu = sy-langu IMPORTING ev_heur_text = lv_heur_text EXCEPTIONS
    heur_id_not_valid = 1 package_id_not_valid = 2 OTHERS = 3.
    BAPI_PBSRVAPS_CHANGEKEYFIGVAL - To load a KF of planning book
    BAPI_STSRVAPS_SAVEMULTI2 - To create stocks in SNP - Parameter for Version
    /SAPAPO/RRP_LC_PEGID_GET_IO - Sales Order Fetch in APO - quantitiy, GUID and Pegging Area id but the sales order number
    BAPI /SAPAPO/RRP_IO_COL - Additional Columns in Product View - RRP_USEX_COLS_GET_TEXT_01 method APPEND 'column1' to CT_COLS_TEXT.
    APPEND 'Column2' to CT_COLS_TEXT
    /SAPAPO/TS_DM_LOCK - User Change/Display Mode in Interactive Planning - Pass Values for GUI Id of Planning Area, Data Selection, Group By parameter
    /SAPAPO/ADV_ALERT_SET - Generate Alert
    /SAPAPO/MSDP_NOTE_WRITE - Write notes in SDP
    Reports:
    /SAPAPO/OM_DELETE_INCON_ORDERS - Delete inconsistent orders - Need to provide Order GUID
    Useful TCodes:
    /INCMD/UI Maintenance of Interchageable groups
    /SAPAPO/86000118
    /SAPAPO/AC03 Product Availability
    /SAPAPO/AC04 ATP Simulation
    /SAPAPO/AC05 Time Series
    /SAPAPO/AC06 Temporary Quantity Assignments
    /SAPAPO/AC07 Exclusive Lock Records
    /SAPAPO/AC08 Generate Safety Stock Requirement
    /SAPAPO/AC42 Display Product Allocation Situation
    /SAPAPO/ADVM Macro Workbench
    /SAPAPO/AHTS1 Start-up of Action Handler
    /SAPAPO/AMON1 Alert Monitor
    /SAPAPO/AMONMSG Settings 'Automatic Sending'
    /SAPAPO/AMONMSG_SEND Sending Alerts
    /SAPAPO/AMON_REORG Delete Database Alerts
    /SAPAPO/AMON_SETTING Alert Monitor Settings
    /SAPAPO/ATP2PPDS ATP -> PP/DS Conv. in Background
    /SAPAPO/ATPC00 Global Settings
    /SAPAPO/ATPC01 ATP Group
    /SAPAPO/ATPC02 Business Event
    /SAPAPO/ATPC03 Maintain Categories
    /SAPAPO/ATPC04_05 Maintain ATP Check Control
    /SAPAPO/ATPC06 Maintain Check Mode
    /SAPAPO/ATPC07 Maintain Check Mode
    /SAPAPO/ATPC08 Maintain Requirements Profile
    /SAPAPO/ATPCH01 Maintain ATP Characteristic View
    /SAPAPO/ATPCLOG_DEL ATP: Delete C Log Files
    /SAPAPO/ATPCQ_AREA Maintain Plng Area Assignments
    /SAPAPO/ATPCQ_CHECK Check Prod. Allocations Customizing
    /SAPAPO/ATPCQ_CUBE Maintain InfoCube Assignment
    /SAPAPO/ATPCQ_GENER Generate Objects
    /SAPAPO/ATPCQ_GRP Maintain Product Allocation Group
    /SAPAPO/ATPCQ_LST Maintain Seq. of Prod. Alloc.Proced.
    /SAPAPO/ATPCQ_OBJ Maintain Product Allocations Object
    /SAPAPO/ATPCQ_PRO Maintain Product Alloc. Procedure
    /SAPAPO/ATPCQ_RESET Reset Time Stamp
    /SAPAPO/ATPCQ_TSTMP APO: Generation Status, Transfer
    /SAPAPO/ATPLOG Activate ATP Application Log
    /SAPAPO/ATPLOG_DEL ATP: Delete Application Log
    /SAPAPO/ATPLOG_DSP ATP: Display Application Log
    /SAPAPO/ATPQ_ALERT APO: Product Allocations, Shortage
    /SAPAPO/ATPQ_CHKCHAR Check Characteristics Combinations
    /SAPAPO/ATPQ_CHKCUST Product Alloc. Assgmt, Sales Order
    /SAPAPO/ATPQ_CHKUSG Check Product Allocation Assignment
    /SAPAPO/ATPQ_COLLECT Generate Coll. Prod. Alloc. Charact.
    /SAPAPO/ATPQ_KCGRP_U Product Allocations: Update Assgmt
    /SAPAPO/ATPQ_PAREA_C Copy Characteristics Combinations
    /SAPAPO/ATPQ_PAREA_K Copy Characteristics Combination
    /SAPAPO/ATPQ_PAREA_R Product Allocations from Plan. Area
    /SAPAPO/ATPQ_PAREA_W Product Allocations in Plan. Area
    /SAPAPO/ATPTUBE_DISP Display Parameter Buffers
    /SAPAPO/ATREE_DSP ATP: Display ATP Tree Structures
    /SAPAPO/BLRG01 Generation of Reqmnts from Blocks
    /SAPAPO/BOP ATP: Batch Backorder Processing
    /SAPAPO/BOPI Backorder Processing (Interactive)
    /SAPAPO/BOP_COMPARE Backorder Processing: Comparison
    /SAPAPO/BOP_DELETE Delete Backorder Processing
    /SAPAPO/BOP_MONITOR Monitor Backorder Processing
    /SAPAPO/BOP_RESULT Backorder Processing Results
    /SAPAPO/BOP_RUNTIME Backorder Processing: Runtimes
    /SAPAPO/BOP_UPDATE Backorder Processing: Update
    /SAPAPO/BOP_VS ATP: Backorder Processing for VS
    /SAPAPO/BOP_WORKLIST ATP, BOP: Worklist
    /SAPAPO/BP1 Send Transaction Data
    /SAPAPO/BP2 Delete Transaction Data
    /SAPAPO/C3 Display Application Log
    /SAPAPO/C4 Maintenance of global parameters
    /SAPAPO/C41 Activate/Deactivate Login
    /SAPAPO/C5 Send Planning Results to OLTP
    /SAPAPO/C6 Delete Application Log
    /SAPAPO/C7 Find Entries
    /SAPAPO/CALENDAR Calendar
    /SAPAPO/CC Core Interface Cockpit
    /SAPAPO/CCR CIF_DELTAREPORT3
    /SAPAPO/CCRR CIF Compare/Reconcile Reorganization
    /SAPAPO/CDPS0 DPS Variable View
    /SAPAPO/CDPS1 DPS View 1
    /SAPAPO/CDPS2 DPS View 2
    /SAPAPO/CDPS3 DPS View 3
    /SAPAPO/CDPSB0 Production Planning Run
    /SAPAPO/CDPSB1 Prod. Planning Run in the Background
    /SAPAPO/CDPSC6 Customizing: Setup Group Maintenance
    /SAPAPO/CDPSC7 Maintenance of Setup Matrices
    /SAPAPO/CDPSS0 Simulation Version
    /SAPAPO/CDPS_REPT Evaluations
    /SAPAPO/CDPS_SETUP List Output for Setup Matrix
    /SAPAPO/CLPIPCAL Collaborative Promotion Planning
    /SAPAPO/CLPISDP Collab. Supply and Demand Planning
    /SAPAPO/CLPITPL Collaborative Transport. Planning
    /SAPAPO/CLPRPDEL CLP: Delete RFQs
    /SAPAPO/CLPRPIN Incoming RFQ Processes
    /SAPAPO/CLPRPOUT Outgoing RFQ Processes
    /SAPAPO/CLPRPSTART CLP: Publish RFQs
    /SAPAPO/CLP_PBPULL Read Time Series
    /SAPAPO/CLP_PBPUSH Send Time Series
    /SAPAPO/CLP_SETTINGS Collaboration Partners
    /SAPAPO/CMDS_DEFCNF Maintain Default Confirm. Profiles
    /SAPAPO/CMDS_DEFCNTR Maintain Default Control Profiles
    /SAPAPO/CMDS_DEL Delete Releases and Confirmations
    /SAPAPO/CMDS_SCO1 Maintain Sales Scheduling Agreements
    /SAPAPO/CMDS_SCO2 Delete Sales Scheduling Agreements
    /SAPAPO/CMDS_SCO4 Manage Fiscal Year
    /SAPAPO/CMDS_STPD Define Sold-To Party Determination
    /SAPAPO/CMDS_STPSR Define Inbound Release Processing
    /SAPAPO/COMP_VARIANT Comparison of Product Variants
    /SAPAPO/CONSCHK Model Consistency Check
    /SAPAPO/CONSPRF Model Consistency Check: Profile
    /SAPAPO/CONSSHOW Read log from database
    /SAPAPO/CPP CIF Postprocessing
    /SAPAPO/CPP1 CIF Postprocessing: Multiple Call
    /SAPAPO/CPP2 Display CIF Postprocessing Records
    /SAPAPO/CPPA CIF Error Handling: Alert
    /SAPAPO/CPPR Reorg. CIF Postprocessing Records
    /SAPAPO/CQ SCM Queue Manager
    /SAPAPO/CQINW qRFC Monitoring for Inbound Queues
    /SAPAPO/CSNP Costs Maintenance: SNP
    /SAPAPO/CSPRF Maintain TSP Profile
    /SAPAPO/CTM Capable-to-Match: Main Screen
    /SAPAPO/CTM01 CTM: Consistency Check
    /SAPAPO/CTM02 CTM: Stock Limits
    /SAPAPO/CTM10 CTM: Distribute Receipt Objects
    /SAPAPO/CTMAPLOG CTM Logs
    /SAPAPO/CTMB Execute CTM in Background
    /SAPAPO/CTMCUST CTM: Global Customizing
    /SAPAPO/CTMMSEL Selection of CTM Master Data
    /SAPAPO/CTMORDSEL CTM: Maintain Order Selection
    /SAPAPO/CTMSCPR Profile Maint. Supply Categorization
    /SAPAPO/CTMSSTRAT Define CTM Search Strategy
    /SAPAPO/CTMTP Transport CTM Profile
    /SAPAPO/CTMTSTR Define CTM Time Stream
    /SAPAPO/CTMVIEWER CTM: Call Viewer
    /SAPAPO/CTRP Costs Maintenance - Vehicle Sched.
    /SAPAPO/CULL_RTO_DEL Delete Production Data Structure
    /SAPAPO/CURTO_GEN_DP Generate DP PDS
    /SAPAPO/CURTO_SIMU Display Production Data Structures
    /SAPAPO/CW qRFC Monitoring
    /SAPAPO/DFCT Maintain Distribution Function
    /SAPAPO/DISPLAY_CONF Display of DelSched and Confirmation
    /SAPAPO/DMP1 Display Consumption Situation
    /SAPAPO/DMP2 Generate Planned Independent Reqmts
    /SAPAPO/DM_PEGCHECK Consistency Check Pegging Areas
    /SAPAPO/DPC3 Change Overview
    /SAPAPO/DPLSPLIT Deployment Stk Transfer Prioritizatn
    /SAPAPO/GEN_CHK_PDS Generate iPPE Check PDS
    /SAPAPO/GEN_PDS Generation of iPPE PDS
    /SAPAPO/INCMD_MODEL Model Assignment
    /SAPAPO/IPM01 integrated profile management
    /SAPAPO/LCOUT Release from SNP -> DP
    /SAPAPO/LOC3 Master Data: Locations
    /SAPAPO/LOCTZCALC Calculate transport zone coordinates
    /SAPAPO/LOC_CD_READ Change Documents for Location
    /SAPAPO/LOC_DEL_LOG Location: Delete Application Log
    /SAPAPO/LOC_DISP_LOG Location: Display Application Log
    /SAPAPO/MASSGEOCODE Location: Mass-Geocoding
    /SAPAPO/MAT1 Product
    /SAPAPO/MC62 Maintain Characteristic Values
    /SAPAPO/MC77 Change Selection
    /SAPAPO/MC7A Location Split
    /SAPAPO/MC7B Product Split
    /SAPAPO/MC8D Mass Processing: Create Planning
    /SAPAPO/MC8E Mass Processing: Change Planning
    /SAPAPO/MC8F Delete Planning Job
    /SAPAPO/MC8G Schedule Mass Processing
    /SAPAPO/MC8I Mass Processing: Check Planning
    /SAPAPO/MC8J Copy Mass Processing Jobs
    /SAPAPO/MC8K Logs
    /SAPAPO/MC8S Transfer Profiles
    /SAPAPO/MC8T Activity
    /SAPAPO/MC8U Transfer Profile
    /SAPAPO/MC8V Calculate Proportional Factors
    /SAPAPO/MC90 Release to Supply Network Planning
    /SAPAPO/MC96B Maintain Forecast Profile
    /SAPAPO/MCPSELDEL Delete selections
    /SAPAPO/MD74 Reorganization: Adapt Indep.Reqmts
    /SAPAPO/MNTPROF01 Maintain Display Profile
    /SAPAPO/MP31 Maintain Promotion Attribute Types
    /SAPAPO/MP32 Maintain Cannibalization Group
    /SAPAPO/MP33 Maintain Promotion Key Figures
    /SAPAPO/MP34 Supply & Demand Planner: Init.Screen
    /SAPAPO/MP40 Maintain Promotion Bases
    /SAPAPO/MP41A Maintain Settings for Report
    /SAPAPO/MP41B Promotion Reports
    /SAPAPO/MP42 Promotion Management
    /SAPAPO/MSDP_ADMIN S&DP Administration
    /SAPAPO/MSDP_FCST1 Lifecycle Settings
    /SAPAPO/MSDP_FCST2 Assign Forecast Profiles
    /SAPAPO/MSDP_SB Safety Stock Calculation
    /SAPAPO/MSP01 Maint. and Service Planning Board
    /SAPAPO/MSP_CYCMAINT Cycle Maintenance
    /SAPAPO/MSP_ESIM MSP Easy Simulation
    /SAPAPO/MSP_MOBJ Maintenance of one Maint. Object
    /SAPAPO/MSP_PERFPROF Maintenance of Performance Profile
    /SAPAPO/MTL01 Maintenance Task List
    /SAPAPO/MVM Model/Planning version
    /SAPAPO/OM03 Test Program for liveCache and LCA
    /SAPAPO/OM04 Display of Current LCA Version
    /SAPAPO/OM11 Log
    /SAPAPO/OM12 Delete Log
    /SAPAPO/OM13 Analyze liveCache and LCA Objects
    /SAPAPO/OM16 Data Viewer
    /SAPAPO/OM17 Data Reconciliation
    /SAPAPO/OM25 Daily Reorganization of APO
    /SAPAPO/OO_PPM_CONV Maint. Mode Comb. for PPM Conversion
    /SAPAPO/OPT03 Optimizer User Display
    /SAPAPO/OPT09 Optimization Version Display
    /SAPAPO/OPT11 Log display
    /SAPAPO/OPT12 Opt. server process overview
    /SAPAPO/OPT_PRIOPROF SNP Opt.: Priority Profile
    /SAPAPO/OPT_STOP Terminate Optimization Runs
    /SAPAPO/PCMT Production Campaign
    /SAPAPO/PDSLOG Log of PDS Generation
    /SAPAPO/PEG1 Pegging Overview
    /SAPAPO/PMON Plan Monitor
    /SAPAPO/PMONDEF Definition: Key figure schema
    /SAPAPO/POM1 Planned Order Management
    /SAPAPO/POV1 Product Overview Transaction
    /SAPAPO/PPC1 Backflush Entry
    /SAPAPO/PPC2 Display Backflush
    /SAPAPO/PPE iPPE Workbench Professional
    /SAPAPO/PPELUI iPPE Workbench Express
    /SAPAPO/PPFSCO Output of Confirmations
    /SAPAPO/PPL1 Production List
    /SAPAPO/PPM_CONV Conversion of PP/DS PPMs to SNP PPMs
    /SAPAPO/PPM_CONV_310 Report for Generating SNP PPMs
    /SAPAPO/PPM_CONV_LOG Log of SNP-PPM generation
    /SAPAPO/PPM_DEL Mass Deletion of Plans and PPMs
    /SAPAPO/PPT1 Product Planning Table
    /SAPAPO/PROD_CD_READ Change Documents for Produkt
    /SAPAPO/PSTRUCONS Plng Obj. Struct. Consistency Check
    /SAPAPO/PWBSCH1 Create SA Release(s)
    /SAPAPO/PWBSCH2 Release Output
    /SAPAPO/PWBSCH3 Process Sched. Agreement Releases
    /SAPAPO/PWBSCH4 Enter Confirmation
    /SAPAPO/PWBSRC1 Ext. Procure. Rltnshps Maintenance
    /SAPAPO/PWBSRC2 Delete External Proc. Relationships
    /SAPAPO/RBA04 Integrated Rule Maintenance
    /SAPAPO/RBAC01 Maintain Rule Strategy Determination
    /SAPAPO/RELHSHOW Hierarchy Maintenance
    /SAPAPO/REL_TO_OLTP Direct Release InfoProvider to R/3
    /SAPAPO/REL_TO_SNP Direct Release InfoProvider to SNP
    /SAPAPO/REORG_WUL Reorg. of Where-Used-Lists in LC
    /SAPAPO/RES01 Change Resources
    /SAPAPO/RET2 Restrictions Maint.- Create & Change
    /SAPAPO/RET_EVAL Restriction Evaluation
    /SAPAPO/RET_RP Restrictions & Reservation Planning
    /SAPAPO/RLCDEL Delete Orders from Livecache
    /SAPAPO/RLGCOPY Realignment
    /SAPAPO/RRP1 Requirements View
    /SAPAPO/RRP2 Process Order
    /SAPAPO/RRP3 Product View
    /SAPAPO/RRP4 Receipts view
    /SAPAPO/RRP7 Mass Conversion of Orders
    /SAPAPO/RRP8 ATP Check for REM Planned Orders
    /SAPAPO/RRPEVAL Log for Last Planning Run
    /SAPAPO/RRPLOG1 Display Logs
    /SAPAPO/RRPLOG2 Delete Logs
    /SAPAPO/RRP_ATP2PPDS ATP Tree Structure Conversion
    /SAPAPO/RRP_NETCH Planning File Entries
    /SAPAPO/RRP_SNP2PPDS Conversion SNP -> PP/DS
    /SAPAPO/RSP_CONSIS Cons. Check RSC + Per.-Slot Creation
    /SAPAPO/RSP_DBORSHOW Display Configuration for Orders
    /SAPAPO/RSP_DCR Releasing Daily Packages
    /SAPAPO/RSP_DICP Daily Package Creation
    /SAPAPO/RSP_D_DEL Delete Delta Records
    /SAPAPO/RSP_EXPLAIN Explanation Facility
    /SAPAPO/RSP_G1 Planning Table
    /SAPAPO/RSP_INFO Information Center RP
    /SAPAPO/RSP_LC01 Initialize Time Series
    /SAPAPO/RSP_LC03 Update Time Series
    /SAPAPO/RSP_LC04 Restore Time Series
    /SAPAPO/RSP_MCSC Manuf.Compl. Proposed Orders f.Stock
    /SAPAPO/RSP_P1 Copy Orders
    /SAPAPO/RSP_P2 Start Medium-Term Planning
    /SAPAPO/RSP_P3 Reset Result of Medium-term Planning
    /SAPAPO/RSP_RD_SIMU Simulation of Restriction Explosion
    /SAPAPO/RSP_RSC Rescheduling
    /SAPAPO/RTO_ORD_COMP Compare PP/DS PDS (R/3)
    /SAPAPO/SCC02 Supply Chain Cockpit
    /SAPAPO/SCC03 PPM Maintenance
    /SAPAPO/SCC07 Supply Chain Engineer
    /SAPAPO/SCC_TL1 Transportation Lanes
    /SAPAPO/SCC_TL2 Mass Creation of Transport Rltnships
    /SAPAPO/SCC_TQ1 Quota Arrangements
    /SAPAPO/SCC_USR_PROF SCC Cockpit User Settings
    /SAPAPO/SCE_USR_PROF SCC Engineer User Settings
    /SAPAPO/SCHED_TEST Simul. Transp. & Shipment Scheduling
    /SAPAPO/SDP8B Define Planning Book
    /SAPAPO/SDP94 Supply & Demand Planner: Init.Screen
    /SAPAPO/SDPALPR Assign Planners to Alert Profiles
    /SAPAPO/SDPPLBK Assign User to Planning Book
    /SAPAPO/SDPT SD Sched. Agrmt. Prod.Planning Table
    /SAPAPO/SDPUSET SDP User Settings
    /SAPAPO/SDRQCR21 Correction Report /sapapo/sdrqcr21
    /SAPAPO/SEQ1 Interactive Sequencing
    /SAPAPO/SEQ2 Model Mix Planning Run
    /SAPAPO/SNP01 SNP Run
    /SAPAPO/SNP02 Deployment
    /SAPAPO/SNP03 Call Deployment Optimizer
    /SAPAPO/SNP04 Transport Load Builder
    /SAPAPO/SNP05 Capacity leveling
    /SAPAPO/SNP06 Hierarchical Planning Disaggregation
    /SAPAPO/SNP103 Maintain TLB Profile
    /SAPAPO/SNP113 SNP: Maintain Costs
    /SAPAPO/SNP2PPDS SNP -> PP/DS Conv. in Background
    /SAPAPO/SNP94 SNP: Interactive Planning
    /SAPAPO/SNPAPLOG Application Logs
    /SAPAPO/SNPDRP DRP: Interactive Planning
    /SAPAPO/SNPFCST Release SNP Forecast
    /SAPAPO/SNPLLC Low-Level Code Determination
    /SAPAPO/SNPOP Call Up SNP Optimizer
    /SAPAPO/SNPOPLOG SNP Optimizer Log Data
    /SAPAPO/SNPSA Sched. Agreemt: Interactive Planning
    /SAPAPO/SNPSOP SOP: Interactive Planning
    /SAPAPO/SNPSRC Call: Sourcing of Forecast in SNP
    /SAPAPO/SNPTLB TLB: Interactive Planning
    /SAPAPO/SNPVMI SNP: Interactive Planning with VMI
    /SAPAPO/SUPCAT CTM Supply Category Maintenance
    /SAPAPO/TI01 Evaluation of Production Tracking
    /SAPAPO/TLBPRF TLB Profile Maintenance
    /SAPAPO/TR30 Maintain DP/SNP Time Buckets Profile
    /SAPAPO/TR32 Periodicities for Planning Area
    /SAPAPO/TR_CD_QUOTA Change Docs for Quota Arrangements
    /SAPAPO/TR_CD_TLANE Change Docs for Transportation Lanes
    /SAPAPO/TR_DELTRPR Deletion of Prod.-Spec. Trnsp. Lane
    /SAPAPO/TR_IGS_BPSEL Scheduling of GIS Preselection
    /SAPAPO/TR_IGS_BUTRM Update of GIS Data
    /SAPAPO/TR_IGS_RPSEL Reorganization of GIS Preselection
    /SAPAPO/TSCONS Time Ser. Network Consistency Check
    /SAPAPO/TSCOPY Copy/Version Management
    /SAPAPO/TSCUBE Load Planning Area Version
    /SAPAPO/TSKEYFMAIN Mass Maint. for Time Series Key Fig.
    /SAPAPO/TSLCREORG Check LC Time Series Master Data
    /SAPAPO/TSPSTRU Toolbox for Planning Object Struct.
    /SAPAPO/TTC1 Schedule Maintenance
    /SAPAPO/TTV1 Maintain Validity Area
    /SAPAPO/TTW1 Itinerary Maintenance
    /SAPAPO/VERCOP Copy Version
    /SAPAPO/VERDELLD Delete a planning version
    /SAPAPO/VERMER Merge Planning Versions (SNP)
    /SAPAPO/VERMRM Merge Versions: Messages
    /SAPAPO/VS01 VS Interactive Planning
    /SAPAPO/VS05 Schedule optimization run
    /SAPAPO/VS10 Transportation Service Provider Sel.
    /SAPAPO/VS11 TPVS: Define Delivery/Pickup Windows
    /SAPAPO/VS12 TP/VS: Define Compatibilities
    /SAPAPO/VS50 Orders for Delivery Generation
    /SAPAPO/VS501 Schedule Delivery Generation
    /SAPAPO/VS51 Change Plan. Shipments to Shipments
    /SAPAPO/VS511 Transfer Planned Shipments to OLTP
    /SAPAPO/VS52 Check Release of Planned Shipments
    /SAPAPO/VS521 Check Release of Planned Shipments
    /SAPAPO/VS53 Deleting deliveries
    /SAPAPO/VS531 Delete Deliveries
    /SAPAPO/VS54 Deleting Shipments
    /SAPAPO/VS541 Delete Shipments
    /SAPAPO/VS551 Release Shipments in the Background
    /SAPAPO/VS60 Monitor for OLTP Publication
    /SAPAPO/VS70 Apply Split Rules
    /SAPAPO/VS71 Determine Split Rules
    /SAPAPO/VS72 Maintain Access Sequence for Splits
    /SAPAPO/VS73 Maintain Split Rules
    /SAPAPO/VSHIST Display the Change History
    /SAPCND/AO01 Conditions: V_T681F for O RB
    /SAPCND/AO03 Create condition table
    /SAPCND/AO04 Change condition table
    /SAPCND/AO05 Display condition table
    /SAPCND/AO06 Condition Type: Rules-Based ATP
    /SAPCND/AO07 Access: Maintain (Rules-Based ATP)
    /SAPCND/AO08 Conditions: Procedure for O RB
    /SAPCND/AO11 Create Rule Determination
    /SAPCND/AO12 Change Rule Determination
    /SAPCND/AO13 Display Rule Determination
    /SAPCND/AO14 Copy Rule Determination
    /SAPCND/AU11 Create Scheduling Step
    /SAPCND/AU12 Change Scheduling Step
    /SAPCND/AU13 Display Scheduling Step
    /SAPCND/AU14 Copy Scheduling Step
    /SCMB/ODM_CHECK ODM: Check Customizing
    /SCMB/ODM_DATA_CHECK ODM: Check Data Consistency
    AHTGL01 Action and Parameter Maintenance
    AHTGL02 Definition of Action Points
    BAPI BAPI Explorer
    CL02 Classes
    CL20N Object Assignments
    CL22N Assign Class to Superior Classes
    CL24N Class Assignments
    CT04 Characteristics
    LC10 liveCache Assistant
    LSMW Legacy System Migration Workbench
    MASSD Mass Maintenance
    MDEM Orders with Explosion Errors
    MDMD Matrix for Product/Location
    MDRPM Control Data for RPM Products
    OPPE13 User Assgmt: iPPE WB Professional
    OPPELUI02 User Assignment: iPPE WB Express
    PPECHK iPPE Consistency Check (Prod. Vers.)
    PPEHDR01 Create a Production Version
    PPEHDR02 Change a Production Version
    PPEHDR03 Display a Production Version
    RPMBAL Line Balancing for Demand Program
    RPMCALL Explosion for RPM
    RPMEVAL Evaluations
    RPMLOG RPM Log
    RPMPERF Display Performance Data
    RPMPLF Planning Flags for Planning Matrices
    RPM_DATEVECTORS_REOR Reorganize Table of Periods in LC
    RPM_DATEVECTOR_COMPU Calculate Table of Periods f. Res.
    RPM_OM_DATEVECTOR_SH Display Table of Periods from LC
    RPM_RESOURCE_TSTREAM Display Resource Time Stream
    RSKC Maintaining the Permittd Extra Chars
    RSPC Process Chain Maintenance
    RSSM Authorizations for Reporting
    RZ20 CCMS Monitoring
    SLG2 Application Log: Delete logs
    SM37 Overview of job selection
    SMQ1 qRFC Monitor (Outbound Queue)
    SMQ2 qRFC Monitor (Inbound Queue)
    S_AP5_28000002
    S_AP8_94000074
    S_AP8_94000284
    S_AP9_75000079 IMG Activity: APO_PPS_CDPSC0
    S_AP9_75000085 IMG Activity: APO_PPS_CDPSC8
    S_AP9_75000086 IMG Activity: APO_PPS_CDPSC5
    S_AP9_75000087 IMG Activity: APO_PPS_CDPSC4
    S_AP9_75000088 IMG Activity: APO_PPS_CDPSC3
    S_AP9_75000089 IMG Activity: APO_PPS_CDPSC2
    S_AP9_75000090 IMG Activity: APO_PPS_CDPSC1
    S_AP9_75000095 IMG Activity: APO_SNP_SNP112
    S_AP9_75000101 IMG Activity: APO_SNP_SNP107
    S_AP9_75000102 IMG Activity: APO_SNP_SNP105
    S_AP9_75000130 IMG Activity: APO_ALLG_TRANS
    S_AP9_75000138 IMG Activity: APO_ALLG_CAL
    S_AP9_75000141 IMG Activity: APO_PPS_ROUNDPRF
    S_AP9_75000142 IMG Activity: APO_DEMPL_BEDARF
    S_AP9_75000146 IMG Activity: APO_DEMPL_WORK
    S_AP9_75000169 Call the IMG Activity
    S_AP9_75000183
    S_AP9_75000184
    S_AP9_75000202
    S_AP9_75000203
    S_AP9_75000206
    S_AP9_75000212
    S_AP9_75000249
    S_AP9_86000053
    S_AP9_86000062 IMG Activity: APO_SNP_SNP120
    S_AP9_86000161
    S_APO_12000024
    S_APO_12000025
    S_APO_12000026
    S_APO_12000035
    WUF Where-Used List
    Tables:
    Tables where SALES ORDER Data is stored in APO
    In addition to the requirements in SAP liveCache, the SD order tables are also included in the comparison with SAP R/3. Data is stored in these tables that is required for SAP APO functions from the area of Global ATP, such as the check against product allocations and backorder processing.
    Both the existence and the consistency of the stored data is checked, based on the most important fields, as well as on the connection between main item(s) and subitem(s) in the following tables:
    · /sapapo/posmapn (mapping the item)
    · /sapapo/ordadm_h (order header)
    · /sapapo/ordadm_i (order item)
    · /sapapo/schedlin (order schedule line)
    · /sapapo/obref (object reference)
    · /sapapo/sdfield (SD order/delivery: Item additional data, also called 'field catalog')
    · /sapapo/ciflooku (CIF lookup table)
    The following inconsistencies can arise:
    · r3obj : R/3 object of item in table /sapapo/posmapn
    · atpcat: ATP category of item in table /sapapo/ordadm_i
    · chmod: Check mode of item in table /sapapo/ordadm_i
    · pstyv: Item category of item in table /sapapo/ordadm_i
    · from_time: Schedule line date in table /sapapo/schedlin
    · to_time: Schedule line date in table /sapapo/schedlin
    · uepos: Assignment of higher-level (main) item
    (Mapping in table /sapapo/posmapn and entry table in /sapapo/sdfield)
    · wmeng: Requested quantity in table /sapapo/schedlin
    · edatu: Requested delivery date in table /sapapo/schedlin
    · obref: Object reference between order and delivery item in table /sapapo/obref
    · matnr (MainItem)/matnrMItem: Product of main item in table /sapapo/ordadm_i
    · werks (MainItem)/werksMItem: Plant of main item in table /sapapo/ordadm_i
    · lgort (MainItem)/lgortMItem: Storage location of main item in table /sapapo/ordadm_i
    · Account assignment (MainItem)/accMItem: The account assignment of the main item, that is, the pegging area from table /sapapo/ordadm_i does not correspond to the account assignment in SAP R/3 (vbap-sobkz, vbap-vbeln and vbap-posnr)
    Important Tables in R/3
    Table Remarks
    QTVB Product Allocation: Allocation used by Customer Order* Use this table to find allocation assignment by Sales Order
    Important Tables in APO
    Table Remarks
    /SAPAPO/TBQTVB ATP: Parameter Buffer, Product Allocation Assignment
    /SAPAPO/PAGZE001 PAG-Z001 Product Allocations: Characteristic Value* This table is generated when a Product Allocation Group is defined. Use it to convert the GUID into a CVC.
    /SAPAPO/MATKEY Product Master* Use it to convert Material GUID into a material number.
    /SAPAPO/MATLOC Location product Master* Use it to see valid material plant combinations (GUID’s) in APO.
    /SAPAPO/MATMAP Mapping Table for Products* Use it to see mapping of material numbers in R/3, APO and GUID
    /SAPAPO/LOC Locations* Use it to convert Location GUID into a Location number.
    /SAPAPO/QTTAB Product Allocations: Schedule Line
    /SAPAPO/SDQTVB SD Order: Product Allocation Assignment* Use it to see detailed allocation assignment by Sales Order
    /SAPAPO/POSMAPN Order Items Mapping Table*Use to get GUID for Sales Orders
    /sapapo/treqires- All the confirmed qty and confirmed timestamp for order transaction GUID
    CDHDR, CDPOS- Broader- All changes
    /sapapo/DMCP
    R-Delete
    N-Create
    C-Change
    Regards,
    Naveen.

  • APO Tables relationship for shipment and Sales order

    Hello Every1,
    Does any1 know APO tables for link between Sales document and Shippment created in APO
    for sales & Delivery document I get the table /SAPAPO/VS_SDSHP
    Now I want to link the Order Number from Connected OLTP System & Order Item from table /SAPAPO/VS_SDSHP to the shipmet
    Shipment tables are
    /SAPAPO/VS_SHPA
    /SAPAPO/VS_LCMAP
    Still I am not able to link these tables through any of fields.
    Actual requirement is to create Report which maps Sales order from ERP to the shipments in APO.
    Kindly let me know if any1 know how to identify relationship between these tables,.
    Thanks & Regards,
    Narendra.

    Hi Narendra,
                        I did not find any tables where these linkage is stored.I guess it is stored in live-cache not in any table/view.However, you can try to read the "Order Number from Connected OLTP System" using function module /sapapo/om_order_get_data (pass ORDER GUID from table /SAPAPO/VS_SDSHP ) using which you will get the linkage in output/input parameter table if it is pegged with any shipment no.you have to create SIMSESSION ID using FM /sapapo/rrp_simsession_create and pass this to above mentioned FM.
    hope this helps.
    Regards
    Saurabh

  • FETCH FIELDS FROM iw32/iw33

    Hi All,
    I need to fetch the configuration details from tcode IW32/IW33 and use the field values of "Material out" and "Repair code" to add new fields in the display of IW72/IW73.
    Please help me to extract the detials from the Tcodes IW32 / IW33.
    Useful answers will be rewarded.
    Thanks in advance,
    veda

    Hi ,
    May be following function will be useful for you.
    CALL FUNCTION '/SAPAPO/OM_ORDER_GET_DATA'
    Reward if helpful.
    Thanks ,
    Madhura N.

  • Pegging Overview - base tables

    Hi All,
    I have a requirement where in i need to find the tables where data is stored for Pegging Overview :
    transaction - /SAPAPO/RRP3 .
    i know that there is ome thing called as live cache which helps populate data during run time.
    But there has to be some place where the Purchase Requistions / Planned Orders/ Purchase Orders are saved for the function module like
       /SAPAPO/OM_ORDER_GET_DATA  --- one level of pegging relationship
       /SAPAPO/EFPL_ORD_NET_GET  --- pegging relationship across the entire strucuture
    to get the data at run time.
    Could any one please help out ???
    Regards,
    Vidya

    Hi Vidya,
    LiveCache not just helps populate data during run time but contains some tables itself for performance reasons. These are called anchor tables. As of SCM 5.0, we have 3 such tables.
    The following are those 3 table.
    /SAPAPO/ORDKEY     information about orders in APO
    /SAPAPO/ORDMAP     information about orders in APO for the transfer between APO and R/3
    SAPAPO/STOCKANC     as of SCM 5.0: table contains stock anchors. Further details can be found in note 837744
    I guess the first 2 tables should contain the data youa are looking for.

  • How to get order, ( Output firmed ) ?

    Hello Friends,
    I have order id, and now I want to know the complete order details, because I have to check if the output firmed is set or not ?
    So I would like to ask, is there any FM which determine the complete order, in against of orderid. ?
    Many thanks in advance..
    Shah

    Hi Shah,
    the FM you mention also works but does a lot more than reading only the order from LC - and in the end it also calls '/SAPAPO/OM_ORDER_GET_DATA' to retrieve the information.
    If you only want to have the OUTPUT_FIXED indicator it would be faster if you use the FM I suggested and then only request ET_ORDKEY as an output table - this table contains the OUTPUT_FIXED indicator.
    MFG,
    Sebastian

  • Problem in using /SAPAPO/OM_ORDER_CHANGE to update characteristics

    Hi all
    I am having problem in updating orders in the live cache using FM /SAPAPO/OM_ORDER_CHANGE .
    The FM is used to update the one of the characteristics of the orders from eg A -> B .
    I have populated values in the FM as such
         CALL FUNCTION '/SAPAPO/OM_ORDER_CHANGE'
            EXPORTING
              is_gen_params          = gs_gen_params
              iv_simsession          = g_simsession
              is_atp_info            = gs_atp_info
              it_order_method        = gt_order_method
              it_ordmaps             = gt_ordmap_tab
              it_ordkeys             = gt_ordkey_tab
              it_charact_req_inpnode = gt_char_req
              it_charact_val_outnode = gt_char_val
            IMPORTING
              et_rc                  = gt_rc
              et_changed_orders      = lt_changed_ord
            EXCEPTIONS
              lc_connect_failed      = 1
              lc_com_error           = 2
              lc_appl_error          = 3
              OTHERS                 = 4.
    H/w, i am not getting any errors (gt_rc is  initial) and the characteristics of my orders are not updated
    And I am at my wits ends to figure out what I didnt do or need to do .
    Anyone got any ideas ?
    Thanks so much

    Hello Lina ,
    it depends on what params u are passing to that FM , can u get details by using /SAPAPO/OM_ORDER_DISPLAY/** or some FMs by passing the same params,if u are able to get the detaills then u are able to change details as well.
    regards
    prabhu

  • /SAPAPO/OM_ORDER_CHANGE: Error

    Hello Experts,
    I am trying to update planned order components qty, but i am getting  LC_APPL_ERROR                = 3.
    Can any one help me on this , whether i passed required parameters or not.
      CALL FUNCTION '/SAPAPO/OM_ORDER_CHANGE'
        EXPORTING
          IS_GEN_PARAMS                = r_gen_params
          IV_SIMSESSION                = w_simsession
          IS_ATP_INFO                  = T_ATP_INFO
          IT_ORDER_METHOD              = T_ORD_METHOD
          IT_ORDKEYS                   = T_ORDKEYS
      IT_ORDMAPS                   =
        IT_ORDERS                    = t_orders1
        IT_ACTIVITIES                = T_ACTIVITIES
        IT_MODE                      = T_MODES
        IT_CAP_REQS                  = T_CAP_REQS
      IT_POSITIONS                 =
       IT_INPUTS                    = T_INPUTS
        IT_OUTPUTS                   = T_OUTDATA
      IT_PRODFLOW                  =
      IT_INTERN_CONSTRAINTS        =
      IT_EXTERN_CONSTRAINTS        =
        IS_CONTROLPARAMETERS         = is_c
        IT_SCHED_PARAMS              = is_p_t
      IT_RES_PLAN_INTERVALLS       =
      IT_CHARACT_REQ_INPNODE       =
      IT_CHARACT_VAL_OUTNODE       =
      IT_CHARACT_VAL_ACTS          =
        IS_GET_CHANGED_OPTIONS       = is_g
      IV_GET_ALL_OBJECTS           = GC_FALSE
      IS_EXCLUDE_FIELDS            =
    IMPORTING
    ET_RC                         = t_rc1
    ET_CHANGED_ORDERS             = T_CHANGED_ORDERS
    ET_CHANGED_CAP_REQS           = T_CHANGED_CAP_REQS
    ET_CHANGED_IO_NODES           = T_CHANGED_IO_NODES
    ET_CHANGED_IO_PP_NODES        = T_CHANGED_IO_PP_NODES
    ET_CHANGED_PEGIDS             = T_CHANGED_PEGIDS
    ET_DELETED_FIX_PEGGING        = T_DELETED_FIX_PEGGING
    ET_SCHED_FAILURES             = T_SCHED_FAILURES
    ET_SCHED_LOG                  = T_SCHED_LOG
    EXCEPTIONS
    LC_CONNECT_FAILED            = 1
    LC_COM_ERROR                 = 2
    LC_APPL_ERROR                = 3
    OTHERS                       = 4
    Thanks
    Have a good weekend
    Cris

    Hi,
    Thanks for your reply, Yes I have passed correctly gen_param and simsession, still i am getting error lc_appl error and as you said et_rc is having error code 34.
    I am passing 24 records and i am trying to change one of the record with method type 'C'.
    Please help me out...
    Thanks
    Cris

  • Message /SAPAPO/SDP_PAR023: "Some CVCs cannot be processed in block..."

    Hi,
    We are using SAP SCM release 5.1, the component Demand Planning. We are running macros in background jobs, e.g. a macro that populates a key figure by summarizing other key figures etc. We are using parallel processing, configured based on recommendation from SAP. When the number of CVCs to be processed by the macros becomes very high (we are processing ~300.000 CVCs at the moment), we get the following message in the job log in SM37:
    "Some CVCs cannot be processed in block 2 ", message number /SAPAPO/SDP_PAR023. Obviously the block number varies, and in our case we have had the above message for up to 19 blocks. Users have spotted CVC's that were not updated by the background job, but we don't have a specific list of the CVCs that were not processed.
    OSS notes mentioning this behaviour:
    Note 1282811 - Error processing 1 CVC, terminates the Parallel Profile
    Note 1501424 - DP Job with parallel processing - job status message
    Note 1494099 - DP Job with parallel processing - job status
    The question below is only to those who have encountered the same message in a DP background job:
    Did you find a log of the CVCs that were not processed, and what did you do to overcome the problem?
    Thanks in advance!
    Kind regards,
    Geir Kronkvist

    Hi Rico,
    Thanks for your reply! The spool consists of 23.145 pages so I looked for the word "Lock" using the "Find in request" in the "Spool request" menu. The searched found two entries where there was a message stating that a CVC was locked. It must be noted that no users are logged on while our background job is running, and there are no other processes (background or dialog) running in parallel. When checking transaction SM12 prior to running the job, there are no locks in the system.
    Our job schedule consists of a nightly process chain transferring data from BI to liveCache, and a monthly job that prepares historical data and calculates the forecast. We are now running the monthly job.
    Is it possible that the parallel processing may cause the locking by itself?
    Kind regards,
    Geir Kronkvist

  • BADI /SAPAPO/AM_ALERTLIST - How to fill values in new field catalogue

    Hi,
    I need some help for passing values into the field Catalog of an ALERT Monitor.
    The requirement is to add new fields in the ALERT Monitor and then populate them with values form the PRODUCT view.
    I have implemented method MODIFY_ALERTLIST of BADI /SAPAPO/AM_ALERTLIST. I am able to add the new columns but I am unable to add the values. Actually while debugging i found that even though the NEW values are going into the table T_ALERTS, but the space between the New Added values and the original value is HUGE. Therefore when the Field Catalog is displayed in the Alert Monitor, the NEW Values are not shown.
    I am attaching my Code
      DATA: l_table_ref TYPE REF TO data,
      l_table_ref_1 TYPE REF TO data,
      l_fieldcat_str TYPE /sapapo/am_aot_fieldcat_str,
      ls_fieldcat TYPE LINE OF lvc_t_fcat,
      ls_t_fieldcat LIKE LINE OF t_fieldcat,
      l_alert_str TYPE LINE OF /sapapo/alert_tab,
      l_str_ref TYPE REF TO data,
      l_str_ref_1 TYPE REF TO data.
      FIELD-SYMBOLS: <aot_tab> TYPE STANDARD TABLE,
      <aot_tab_1> TYPE STANDARD TABLE,
      <alert_str> TYPE /sapapo/alert_str,
      <aot_str> TYPE ANY,
      <alert_str1> TYPE c,
      <alert_str_uc> TYPE c.
      FIELD-SYMBOLS: <zat103> TYPE c. "ANY.
      DATA : l_col_pos TYPE i,
      gv_entries TYPE i,
      xlength TYPE i.
      FIELD-SYMBOLS : <info> TYPE ANY,
                      <aot_str1> TYPE ANY.
      DATA olen1 TYPE i.
      DATA: t_pegid TYPE STANDARD TABLE OF /sapapo/amopegid_tab,
            t_ordid TYPE STANDARD TABLE OF /sapapo/amoordid_tab.
      CLEAR: l_alert_str,
        l_table_ref ,
        l_table_ref_1 ,
        l_fieldcat_str ,
        ls_fieldcat ,
        ls_t_fieldcat ,
        l_str_ref  .
    *Add new column
      READ TABLE t_fieldcat INTO ls_t_fieldcat INDEX 1.
      DATA: x1 TYPE lvc_t_fcat,
           y1 LIKE LINE OF x1.
      x1 = ls_t_fieldcat-fieldcat.
      LOOP AT x1 INTO y1 WHERE reptext NE space.
        CHECK y1-fieldname NE 'DELIVERY_DATE'.
        xlength = xlength + y1-intlen.
      ENDLOOP.
      DESCRIBE TABLE  x1 LINES gv_entries.
    Appending Delivery Date
      ls_fieldcat-col_pos = gv_entries + 1.
      ls_fieldcat-fieldname = 'DELIVERY_DATE'.
      ls_fieldcat-ifieldname = 'DELIVERY_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Delivery Date'.
      ls_fieldcat-outputlen = '10'.
    ls_fieldcat-rollname = '/SAPAPO/DELIVERY_DATE' . "'DATS'.
      ls_fieldcat-domname = '/SAPAPO/CHAR20'."'/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Delivery Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Start Date
      ls_fieldcat-col_pos = gv_entries + 2.
      ls_fieldcat-fieldname = 'STARTDAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Start Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Start Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Required Shelf Life Date
      ls_fieldcat-col_pos = gv_entries + 3.
      ls_fieldcat-fieldname = 'SL_MIN_DAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Req.SL dte'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Req.SL dte'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Shelf Life Date/Required Maximum Shelf life Date
      ls_fieldcat-col_pos = gv_entries + 4.
      ls_fieldcat-fieldname = 'SL_MAX_DAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'SL Date 2'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'SL Date 2'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending (Availability/Requirements) Date of a Schedule Line
      ls_fieldcat-col_pos = gv_entries + 5.
      ls_fieldcat-fieldname = 'AVL_REQ_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Schedule Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Schedule Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Req Date/ Shipment end date
      ls_fieldcat-col_pos = gv_entries + 6.
      ls_fieldcat-fieldname = 'SHIP_MAX_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Req Date/ Shipment end date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Req Date/ Shipment end date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Expected Grading Date
      ls_fieldcat-col_pos = gv_entries + 7.
      ls_fieldcat-fieldname = 'GRAD_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Expected Grading Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Expected Grading Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Available Date
      ls_fieldcat-col_pos = gv_entries + 8.
      ls_fieldcat-fieldname = 'AVAIL_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Available Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Available Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
      MODIFY TABLE t_fieldcat FROM ls_t_fieldcat.
      DATA lvc_t_fcat TYPE lvc_t_fcat.
    *CODE FOR ADDING THE NEW VALUES*
    ASSIGN Alert Structure to Field Symbols for Unicode
      ASSIGN COMPONENT 0 OF STRUCTURE l_alert_str
                         TO            <alert_str>           CASTING.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ls_t_fieldcat-fieldcat
        IMPORTING
          ep_table        = l_table_ref.
    *assign dynamic structure
      ASSIGN l_table_ref->* TO <aot_tab>.
      CREATE DATA l_str_ref LIKE LINE OF <aot_tab>.
      ASSIGN l_str_ref->* TO <aot_str>.
      ASSIGN l_str_ref->* TO <alert_str_uc> CASTING.
      LOOP AT t_alerts INTO l_alert_str.
       READ TABLE t_fieldcat WITH KEY aot = l_alert_str-aot
       INTO l_fieldcat_str.
       CALL FUNCTION '/SAPAPO/ATAB_FIELDCAT_GET'
         EXPORTING
           aot        = l_fieldcat_str-aot
           mview      = l_fieldcat_str-mview
         IMPORTING
           table_ref  = l_table_ref
           t_fieldcat = lvc_t_fcat.
        ASSIGN l_alert_str TO <alert_str>.
    *copy alert to aot-specific structure
        MOVE <alert_str>-info TO <alert_str_uc>.
    *Write this code inside the loop
        ASSIGN COMPONENT 'DELIVERY_DATE' OF STRUCTURE <aot_str> TO <zat103>.  "CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'STARTDAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SL_MIN_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SL_MAX_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'AVL_REQ_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SHIP_MAX_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'GRAD_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'AVAIL_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        MOVE <alert_str_uc> TO <alert_str>-info.
        MODIFY t_alerts FROM l_alert_str INDEX sy-tabix.
        CLEAR : <alert_str>, <alert_str_uc>.
      ENDLOOP.
    I have even tried Concatenating Values,  with that method even though the NEW Values are available but they do not fall under the correct Column.
    PLEASE help me out cos I am really Stuck.
    Regards
    Abhishek Sahi

    Hi,
    I need some help for passing values into the field Catalog of an ALERT Monitor.
    The requirement is to add new fields in the ALERT Monitor and then populate them with values form the PRODUCT view.
    I have implemented method MODIFY_ALERTLIST of BADI /SAPAPO/AM_ALERTLIST. I am able to add the new columns but I am unable to add the values. Actually while debugging i found that even though the NEW values are going into the table T_ALERTS, but the space between the New Added values and the original value is HUGE. Therefore when the Field Catalog is displayed in the Alert Monitor, the NEW Values are not shown.
    I am attaching my Code
      DATA: l_table_ref TYPE REF TO data,
      l_table_ref_1 TYPE REF TO data,
      l_fieldcat_str TYPE /sapapo/am_aot_fieldcat_str,
      ls_fieldcat TYPE LINE OF lvc_t_fcat,
      ls_t_fieldcat LIKE LINE OF t_fieldcat,
      l_alert_str TYPE LINE OF /sapapo/alert_tab,
      l_str_ref TYPE REF TO data,
      l_str_ref_1 TYPE REF TO data.
      FIELD-SYMBOLS: <aot_tab> TYPE STANDARD TABLE,
      <aot_tab_1> TYPE STANDARD TABLE,
      <alert_str> TYPE /sapapo/alert_str,
      <aot_str> TYPE ANY,
      <alert_str1> TYPE c,
      <alert_str_uc> TYPE c.
      FIELD-SYMBOLS: <zat103> TYPE c. "ANY.
      DATA : l_col_pos TYPE i,
      gv_entries TYPE i,
      xlength TYPE i.
      FIELD-SYMBOLS : <info> TYPE ANY,
                      <aot_str1> TYPE ANY.
      DATA olen1 TYPE i.
      DATA: t_pegid TYPE STANDARD TABLE OF /sapapo/amopegid_tab,
            t_ordid TYPE STANDARD TABLE OF /sapapo/amoordid_tab.
      CLEAR: l_alert_str,
        l_table_ref ,
        l_table_ref_1 ,
        l_fieldcat_str ,
        ls_fieldcat ,
        ls_t_fieldcat ,
        l_str_ref  .
    *Add new column
      READ TABLE t_fieldcat INTO ls_t_fieldcat INDEX 1.
      DATA: x1 TYPE lvc_t_fcat,
           y1 LIKE LINE OF x1.
      x1 = ls_t_fieldcat-fieldcat.
      LOOP AT x1 INTO y1 WHERE reptext NE space.
        CHECK y1-fieldname NE 'DELIVERY_DATE'.
        xlength = xlength + y1-intlen.
      ENDLOOP.
      DESCRIBE TABLE  x1 LINES gv_entries.
    Appending Delivery Date
      ls_fieldcat-col_pos = gv_entries + 1.
      ls_fieldcat-fieldname = 'DELIVERY_DATE'.
      ls_fieldcat-ifieldname = 'DELIVERY_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Delivery Date'.
      ls_fieldcat-outputlen = '10'.
    ls_fieldcat-rollname = '/SAPAPO/DELIVERY_DATE' . "'DATS'.
      ls_fieldcat-domname = '/SAPAPO/CHAR20'."'/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Delivery Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Start Date
      ls_fieldcat-col_pos = gv_entries + 2.
      ls_fieldcat-fieldname = 'STARTDAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Start Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Start Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Required Shelf Life Date
      ls_fieldcat-col_pos = gv_entries + 3.
      ls_fieldcat-fieldname = 'SL_MIN_DAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Req.SL dte'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Req.SL dte'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Shelf Life Date/Required Maximum Shelf life Date
      ls_fieldcat-col_pos = gv_entries + 4.
      ls_fieldcat-fieldname = 'SL_MAX_DAT'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'SL Date 2'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'SL Date 2'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending (Availability/Requirements) Date of a Schedule Line
      ls_fieldcat-col_pos = gv_entries + 5.
      ls_fieldcat-fieldname = 'AVL_REQ_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Schedule Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Schedule Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Req Date/ Shipment end date
      ls_fieldcat-col_pos = gv_entries + 6.
      ls_fieldcat-fieldname = 'SHIP_MAX_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Req Date/ Shipment end date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Req Date/ Shipment end date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Expected Grading Date
      ls_fieldcat-col_pos = gv_entries + 7.
      ls_fieldcat-fieldname = 'GRAD_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Expected Grading Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Expected Grading Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
    Appending Available Date
      ls_fieldcat-col_pos = gv_entries + 8.
      ls_fieldcat-fieldname = 'AVAIL_DATE'.
      ls_fieldcat-tabname = '1'.
      ls_fieldcat-seltext = 'Available Date'.
      ls_fieldcat-outputlen = '10'.
      ls_fieldcat-rollname = 'DATS'.
      ls_fieldcat-domname = '/SAPAPO/DATUM'.
      ls_fieldcat-coltext = 'Available Date'.
      APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
      MODIFY TABLE t_fieldcat FROM ls_t_fieldcat.
      DATA lvc_t_fcat TYPE lvc_t_fcat.
    *CODE FOR ADDING THE NEW VALUES*
    ASSIGN Alert Structure to Field Symbols for Unicode
      ASSIGN COMPONENT 0 OF STRUCTURE l_alert_str
                         TO            <alert_str>           CASTING.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ls_t_fieldcat-fieldcat
        IMPORTING
          ep_table        = l_table_ref.
    *assign dynamic structure
      ASSIGN l_table_ref->* TO <aot_tab>.
      CREATE DATA l_str_ref LIKE LINE OF <aot_tab>.
      ASSIGN l_str_ref->* TO <aot_str>.
      ASSIGN l_str_ref->* TO <alert_str_uc> CASTING.
      LOOP AT t_alerts INTO l_alert_str.
       READ TABLE t_fieldcat WITH KEY aot = l_alert_str-aot
       INTO l_fieldcat_str.
       CALL FUNCTION '/SAPAPO/ATAB_FIELDCAT_GET'
         EXPORTING
           aot        = l_fieldcat_str-aot
           mview      = l_fieldcat_str-mview
         IMPORTING
           table_ref  = l_table_ref
           t_fieldcat = lvc_t_fcat.
        ASSIGN l_alert_str TO <alert_str>.
    *copy alert to aot-specific structure
        MOVE <alert_str>-info TO <alert_str_uc>.
    *Write this code inside the loop
        ASSIGN COMPONENT 'DELIVERY_DATE' OF STRUCTURE <aot_str> TO <zat103>.  "CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'STARTDAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SL_MIN_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SL_MAX_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'AVL_REQ_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'SHIP_MAX_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'GRAD_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        ASSIGN COMPONENT 'AVAIL_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
        IF sy-subrc = 0.
          CLEAR <zat103>.
    *Fetch ur own custom value and move to the field symbol. This
    *dynamically populates ur structure.
          <zat103> = '22.11.1999'.
        ENDIF.
        MOVE <alert_str_uc> TO <alert_str>-info.
        MODIFY t_alerts FROM l_alert_str INDEX sy-tabix.
        CLEAR : <alert_str>, <alert_str_uc>.
      ENDLOOP.
    I have even tried Concatenating Values,  with that method even though the NEW Values are available but they do not fall under the correct Column.
    PLEASE help me out cos I am really Stuck.
    Regards
    Abhishek Sahi

Maybe you are looking for