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.

Similar Messages

  • SAP Webdynpro for ABAP - IXOS Integration for storing documents

    Hi
    We have a requirement to attach documents to a web based SAP custom application and store as attachments simialr to GOS fucntionality in SAPGUI. SAP web based application is developed using web dynpro for ABAP. Atatched documents are to be stored externally in IXOS system. I am looking for fucntion modules or BAPI's that integrate SAP webdynpro for ABAP and IXOS. Requirement is below
    1)     From SAP Webdynpro for ABAP application read a file form desktop and store on external IXOS system.
    2)     Retrieve a file from IXOS system and display in SAP Web Dynpro for ABAP  application
    3)     Delete a file on IXOS system from Web Dynpro for ABAP application
    Thank You

    You are on right track thinking about enhancement framework.
    My approach is would be in the following order.
    Personalization/customization
    Enhancement
    Modification

  • Perform some changes on standard SAP webdynpro for ABAP application

    Hi,
    We do need to perform some changes (new buttons, new tabs, adding new code etc) on a standard SAP product developed on Webdynpro for ABAP.
    Which is the best approach to do so? I have reading about enhancement framework and it seems to be right solution to do so. Am I correct?
    Any best practice to acomplish our target is very welcome.
    Looking forward to hearing from you.
    Kind regards,
      Imanol

    You are on right track thinking about enhancement framework.
    My approach is would be in the following order.
    Personalization/customization
    Enhancement
    Modification

  • SAP Certification for  *ABAP  System Interfaces with SAP NetWeaver    7.0*

    Hi Experts,
      I am appearing for SAP Certification in the stream of  *ABAP 
      System Interfaces with SAP NetWeaver    7.0* 
      so as per the syllabus i required the following material,
      BC420,BC425, BC427,BC415,BC417,BIT300,BIT350
      BC401,BC402,BC400, BC430,BC490,ADM325,BC425,NET900,
      NW001,TESA20,TZCAFG,SM001
      so if any body is having the softcopy or any related links of the   
      above  mentioned material
      please send to my following mail ID's.
      <removed by moderator>
      Points Assured.
      Regards
      Praneeth
    Edited by: Jan Stallkamp on Oct 13, 2008 3:30 PM

    Don't ask for copyrighted material!
    Don't publish your e-mail address!
    Don't assure points!
    => this thread will be locked.
    Please read the rules of engagement otherwise you will set your account on risk of being deleted.
    Best regards,
    Jan Stallkamp

  • SAP Certification for   ABAP  System Interfaces with SAP NetWeaver

    Hi Experts,
      I am appearing for SAP Certification in the stream of  *ABAP 
      System Interfaces with SAP NetWeaver    7.0* 
      so as per the syllabus i required the following material,
      BC420,BC425, BC427,BC415,BC417,BIT300,BIT350
      BC401,BC402,BC400, BC430,BC490,ADM325,BC425,NET900,
      NW001,TESA20,TZCAFG,SM001
      so if any body is having the softcopy or any related links of the   
      above  mentioned material
      please send to my following mail ID's.
      <removed by moderator>  at  yahoo dot co in
      Points Assured.
      Regards
      Praneeth
    <THREAD LOCKED. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] to discover why>
    Edited by: Mike Pokraka on Oct 14, 2008 1:25 PM

    Don't ask for copyrighted material!
    Don't publish your e-mail address!
    Don't assure points!
    => this thread will be locked.
    Please read the rules of engagement otherwise you will set your account on risk of being deleted.
    Best regards,
    Jan Stallkamp

  • SAP License for ABAP

    Dear all
    We are using ECC6.0. We needed to some upgradation work on our development system. After this, we lost our credentials as hardware key and Expiry date with SLICENSE. It is showing an expired temporary license as Old license and two valid licenses as new licenses. But these valid licenses are not working, so I am only able to log on with SAP*, which cant work for gettin the Hardware key as desired credential. I am also not able to install temporary license as it has already expired.
    So can anybody suggest me the way to install new temporary license or any other optional method to solve my issue.
    With regards
    Virender Sharma

    hi,
    you can log on to your OS using <sid>adm user if you are using UNIX.
    run saplicense command.
    >saplicense -get
    this command will show you your hardware key. you can also install your new license key using this command.
    For more information about how to use saplicense command, just type : >saplicense --help
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Help sap exect path for ABAP

    Hi All,
           Please let me know how to navigate help.sap.com for ABAP start to end.
    When I opned help.sap.com I am not able to find abap releated documents.
    Pelase help me on this.
    Thanks,
    Anitha.B

    Hi,
    For Abap development help, you can try this link:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/F3/B2934258A5C76AE10000000A155106/frameset.htm">ABAP development guide online</a>.
    Regards,

  • Need help on SAP APO

    Hi,
    We are in process of evaluating SAP APO for one of our subsidiaries which is into computer AMC business.
    I undersatand that SAP APO has a service part management module and i need some clarity on certain functionality aspects of the product, for example
    - Does SAP APO manage alternate part list?
    - Does it compute reorder level for spares and also can it provide ROL for multiple plant location
    - Does it compute ROL considering the Alternate Parts Availability?
    - Does the system consider spares reparability factor while planning for spares?
    - Does the spares planning logic modeled on consumption of spares or on some other logic?
    We are currently on SAP R/3 ECC 6.0.
    Standard MM & SD modules are used for the subsidiary in discussion.
    FI is also used but posting is done only for few cases as it is under control of corporate Finance.
    Thanking in advance for the responses.
    Regards,
    HRS

    Hi
    I am also intrested to know about this. One of our client wants to implement SPP. At present they are in ECC 6.0.
    Can any please share the information on SPP.
    Now if they want to enter in to SCM system what are the other modules they have to implement along with SPP?
    Thanks in advance
    Vijaya

  • IP for ABAP ADD-ON

    Greetings,
        This is a question bothering me for quite sometime, a gentleman told me that developing a product using ABAP is not advisable because of the licensing terms that SAP uses for ABAP, he further told me that you can not own the intellectual property right on your product if it is developed on ABAP. You can only sell a solution to a customer and customer can only use it and SAP can takeover the IP (Intellectual Property right) anytime they want. He sited this as a reason why they are developing their product on Java stack rather than ABAP stack.
        Is it true ? Can someone throw some light on this ?
    Regards,
    Sanjeev

    We have implemented our own algorithm

  • Using the Execute Preloaded Option for ABAP Dataflows in SAP BODS

    Hello All,
    This is regarding the use of Advanced Option in SAP Application Type (ECC) Datastore settings in SAP BODS 4.2, where there are two options to select from for ABAP Execution Option property: (1)Generate and Execute and (2) Execute Preloaded. Since our ECC client is often locked by BASIS team even on DEV environment, we would like to make use of the second option 'Execute Preloaded' so that we could extract the data from ECC tables without having to ask the BASIS team to unlock the ECC client every time before extraction.
    The problem is that we are getting an error upon generating and uploading the ABAP program to ECC client. I have searched the blogs and so far I have only found that there are certain ABAP programs or function modules that come with SAP BODS which need to be installed by BASIS team on ECC side to allow the ABAP dataflows to be generated and uploaded to ECC server. I would appreciate it if anyone could provide a list of which function modules BASIS needs to install on ECC or a blog that provides details around using this option.
    So far, from the SAP BODS designer, we are performing below steps but getting an error upon generating and uploading the ABAP dataflow program:
    1. Create a test ABAP Dataflow using SAP ECC datastore. Provide the ABAP program options.
    2. Right click, select Generate ABAP Program.
    3. Once the ABAP Program Generation Dialog box appears, check the box "Upload Generated Program".
    4. Upon clicking OK, we are getting the following error:
    The ABAP program <ZRTEST01> for ABAP data flow <RT_TEST_R3> (datastore <R3_DS>) was not uploaded: < RFC CallReceive error <Function /BODS/RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_MESSAGE- Exception condition "NOT_SUPPORTED_BY_GUI" trigger[SAP NWRFC 720][SAP Partner ### ][clientname][servername][accountname][4103]>. >.
    Any help would be greatly appreciated.
    Thanks,
    Rizwan

    All,
    The BASIS team reviewed steps provided in the BODS document and attempted to install the Function Modules but now none of the BODS jobs would work. All BODS jobs are being terminted with the Syntax Error error when extracting data from ECC using ABAP dataflows:
    17740 16404 R3C-150412 06/17/2014 9:38:46 AM |Data flow RT_DF_TEST_PC207
    17740 16404 R3C-150412 06/17/2014 9:38:46 AM RFC CallReceive error <Function /BODS/RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_RUNTIME_FAILURE-(Exception_Key: SYNTAX_ERROR)- Syntax
    17740 16404 R3C-150412 06/17/2014 9:38:46 AM error in program /BODS/SAPLBODS                          .[SAP NWRFC 720][SAP Partner 740 ][DEV1][Server][account][4103]>.
    22052 20572 R3C-150412 06/17/2014 9:38:46 AM |Data flow RT_DF_TEST_PC207
    22052 20572 R3C-150412 06/17/2014 9:38:46 AM RFC CallReceive error <Function /BODS/RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_RUNTIME_FAILURE-(Exception_Key: SYNTAX_ERROR)- Syntax
    22052 20572 R3C-150412 06/17/2014 9:38:46 AM error in program /BODS/SAPLBODS                          .[SAP NWRFC 720][SAP Partner 740 ][DEV1][Server][account][4103]>.

  • Initial password for SAP* in SAP NetWeaver 2004s ABAP Edition

    Hello,
    I have just installed the SAP NetWeaver 2004s ABAP Edition on my PC and I want to setup some new clients to simulate an ALE model.
    Does anyone know the initial password for SAP* ?
    I have already tried PASS and pass because I know it is case -sensitive now but it did not work.
    Thanks a lot.
    Wim Van den Wyngaert

    Hi,
    initial SAP* password is 06071992 
    DDIC is 19920706

  • T-code or Table to find total errors in SAP APO like ST22 in ABAP

    hi all,
    Could please tell me the T-code or Table to find total errors in SAP APO like ST22 t-code in SAP ABAP.
    Thanks.
    Suryam S

    Hello Venu,
    Do you mean other functional errors?
    You can check SLG1, /SAPAPO/C3, STAD
    Best Regards,
    R.Brahmankar

  • Commenting a Line in ABAP Editor when using SAP GUI for java

    Hi,
    In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.

    Hello Kedar,
    please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
    Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
    Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
    Best regards
    Rolf-Martin

  • How to find SAP  java realted roles for ABAP and Basis

    Hi Gurus,
    I am new in SAP Security First week, I got the assignment to find the SAP Roles and Trans for ABAP and Basis in all Systems like Ecc, BI, ......
    I use SE16 ->AGR_TCODES then SAP* in Table Name it give me all SAP Roles and Trans.
    Pls help me to get only SAP Java and Basis roles and Trans Seperately
    Thanks

    Hi,
    Are you speaking about the standrad SAP roles? If yes, you can have a look at BC and ABAP roles. However, if your question is about the created roles, you should see the convention that was followed in your organization to identify the roles.
    Rgds,
    Raghu Boddu

  • SAP GUI for Java 7.00 rev 4 - bug in ABAP download

    When I try to download ABAP source code or when I use "Edit Locally" in SE38 (the easiest way how to write/edit programs with a comfortable editor), ABAP source is downloaded to my computer with trailing 0x00 bytes. It has small side-effect in Local Editing: new code with this block is uploaded into SAP and syntax check of such program fails.
    Using 7.00 rev 3 works fine.
    Has anybody idea how to eliminate this bug?
    Wishlist, but to another forum: It will be really nice to assign hot-key to this menu item in SE38.
    Thank you,
      Pavel

    Hello Pavel,
    thanks for bringing this to our attention.
    This is a bug in SAP GUI for Java 7.00 rev 4 and we will fix this in the next revision.
    Regarding the hot-key for the "Edit Locally" menu item, I suggest to give this feedback officially using <a href="http://service.sap.com/message">message wizard</a> on component BC-DWB-TOO.
    Best regards
    Rolf-Martin

Maybe you are looking for

  • HT1423 the memory-access door won't come off, HELP!

    Hi, I have a mid-2007 iMac with 1 GB of ram and i'm trying to replace it, but the memory-access door won't come off. i loosen the screw with a screw driver but it won't open and i don't know why. i want to upgrade to 4 GB. is there some trick to open

  • Trying to make a php file work with my email form

    Hello, Going slightly mad trying to link my php file with my html and actually getting it to work. It (the php file) keeps coming up with a syntax error on line 37 - code hinting may not work etc etc but there is no error from what I can see - can an

  • Cant connect iphone 4 to netgear router

    I am unable to connect my 2 new iphones to our Netgear Router. Even when I have NONE selected under wireless options on Netgear router it will still not let me join. I have a Netgear N300 Wireless ADSL2 + Modem Router DGN2200 I spent 90 mins on the p

  • Help!  I'm stuck on the Task Bar and I can't get up!

    I recently upgraded to Premiere Elements 8, and now I can start the program but as soon as I open a project the window minimizes to the task bar.  I can not restore the window to show-up on the screen.  The Organizer works OK, and the Adobe startup w

  • MRP does more than 100% ?

    Hello experts My scenario is as follows (my key-useru2019s request): Production units in all plants are allowed to exceed production by 15% thus giving them authorisation to convert any production order from anywhere between 100% - 115% & still be de