Delete Generated programs in transformations in SAP BI

Hi Experts,
I am facing an issue while deleting an old include program which was no more used in the transformation.
While deleting the include program its still showing that its used in the generated program.
But the transformation was deleted long back.
Now could some one help me in deleting the generated program and the include.
Thanks in advance.

Hi,
You need to deactivate the Function group and Function Module and delete the include program.
Regards,
Suman

Similar Messages

  • Generated Program from transformation

    Hi,
    I have created a transformation and transported it into production. I had to changed one of the routine on a key figure. The last changed key figure is now executed last in the generated program.
    Example:
    Start routine: declared global variables X and Y.
    Transformation: 3 key figures
    A
    B
    C
    Routine is used to calculate A. This value is passed to the global variable X. X is then used in B and passed to global variable Y. Y is then used to calculate C.
    When i first created the transformation, the sequence was working well. But after the change in routine on A. The sequence is changed and the generated program has a sequence:
    B
    C
    A
    The key figures in the transformation remain in the same order as before.
    Is this the way the generated program works. Is there any way to resequence the generated program based on the order of the key figures in the transformation.
    Or deleting and recreating the transformation the only way.
    Thank you,
    Ravi.

    if you have just changed the routine then it should not change the execution sequence...
    can you make these changes at start routine itself??
    Edited by: Sharayu Kumatkar on Apr 23, 2009 11:16 AM

  • Unable to activate transformation, error generating program

    Hi,
    We are currently on SAP EHP 1 for SAP NetWeaver 7.0
    SAP_BW Release 701 Support Package SAPKW70107
    BI_CONT Release 705 Support Package SAPK-70501INBICONT
    When I try to activate my transformation between 0PLANT and infosource ZPLANT_TEXT(Generated from 3.x infosource 0PLANT_TEXT), I get the below error message
    Syntax error in GP_MET_RSTRAN_MASTER_TMPL, row 0 (-> long text)
    Error during generation(Message no. RSTRAN511)
    Error when resetting Transformation 06L8E7JA476EMLRHOX35W9KX6TMS8XSX to the active version(Message no. RSO410)
    Long Text:
    Syntax error in GP_MET_RSTRAN_MASTER_TMPL, row 0 (-> long text)
    Message no. RG102
    Diagnosis
    SQL error 1654 occurred when accessing program GP_MET_RSTRAN_MASTER_TMPL part LREF.
    When  I check for the program GP_MET_RSTRAN_MASTER_TMPL in SE38 is does not exist.
    Can anyone help me figure out this problem?
    Thanks

    I ran the program RS_TRANSTRU_ACTIVATE_ALL with below parameters
    Source System = <logical system name of our src system>
    InfoSource (* gen) = 0PLANT_TEXT
    Got the error message as
    Error generating program
    Error generating program
    Transfer structure 0PLANT_TEXT_DC NOT activated successfully Activate manually
    Long Text:
    Message no. RSAR245
    Diagnosis
    An error occurred during program generation:
    Template:   RSTMPL80
    Error code: 6
    Row:        0
    Message:
    Procedure
    Correct the template to remove the problem.
    Incase I give the InfoSource (* gen) = ZPLANT_TEXT
    I get the message
    No Transfer Structure Selected

  • Problem in transporting generated program of SAP Query

    <h5> Hi all,
    I created a SAP query in development server and generated the program for the same, I transported the infoset and the user group etc. to the next server but couldnot transfer the program, since the program is not a Z Program, so coudlnot save it and capture it in request so that the same can be transported.
    What could be the possible solution for the same????
    Regards, </h5>

    Yep, this gets a bit tricky. Remember that SAP Query is designed as an end-user tool. To this end, the creation of queries could be done in a productive environment. The maintenance of infosets could be restricted to Development systems only. I know that some sites do not allow this.
    Through the use of authorisations, you could appoint an administrator to generate the queries in PRD for the users.
    The name of the ABAP is a combination of the query name, infoset and the client number (I think - going from memory). You could possibly change the package name of the generated program and then attach it to a transport, but it becomes very messy and I wouldn't recommend it.

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0

    Hi guys,
    When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0.
    I have found several SAP notes, especially [Sap Note 944842|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler], but the implementation on our system does not change anything.
    We are working on BW3.5 SP12.
    Can anyone could tell me what to do ?
    Will this issue be solved once we upgrade until SP18 as it is mentionned in the SAPNote ?
    Thanks,
    Alexandra
    Edited by: Alexandra Guillaux on Apr 1, 2009 4:36 PM

    Hello Alex,
    after implementing the corrrection part of note 944842 via SNOTE, plaese also:
    1. replicate datasource
    2. activate transfer structure (report RS_TRANSTRU_ACTIVATE_ALL)
    3. activate infoobject   (make dummy change to description
    of infoobject etc, save and activate it, remove change and save and
    activate it again).
    Hope it could resolve the incident.
    Thank you & Best regards,
    Vince

  • How to insert abap code in LSMW generated program?

    hi,
    i m working on LSMW for loading data in SAP
    i would like to insert abap code into the generated program....
    it's because i have 1 BKPF segment (header data), 2 BSEG segments, but i cannot define rules by customizing for the second BSEG segment(LSMW doesn't permitt).
    i already tried to insert code directly into the program, but obviously it disapears at each time i generate the program.
    i saw that apparently a code insertion has already be made into this program and the subject of this insertion is to define rules for the second BSEG (exactly what i want to do....) and this modification doesn't disapear at new prog generation.....
    Any idea ?

    Hi
    Why dont you use the FORM provided by LSMW
    To use this please do the following
    1.Goto option <b>Maintain Field Mapping and Conversion Rules</b>
    2.Goto menu <b>EXTRAS->LAYOUT->Form Routines</b>
      Here you will now get many options like
       Global Data
       Begin of Transaction
    Begin of Processing
    Begin of Record
      like wise the End of these also.
    Please put a breakpoint and check where you want to insert your code.
    Note:
    This is only for the Conversion Program and does not affect the main program used to update the Standard Tables
    Hi , I was reading your earlier post .. It seems that you have worked on EMIGALL. Consider a similar situation, it is like writing the code in the events till CALL01...
    Thanks
    DOminic
    Message was edited by: Dominic  Pappaly

  • How to deal with generated programs in eCATT SAPGUI recording?

    Hi experts and professionals,
    I am trying to automate testing of our solutions by eCATTs and so far i have not been able to find solution for following problem.
    Whole test scenario is very simple:
    Check InfoProvider data (query, lookup, listcube,...)
    Create DAP on InfoProvider
    Archive InfoProvider
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 4. (must match)
    Reload archived data
    Check InfoProvider data (query, lookup, listcube,...)  again
    Compare results from step 1. and 7. (must match)
    As you can see, one of the required test steps is to check InfoProvider's data in transaction LISTCUBE.
    But transaction LISTCUBE generates its program "name" every time it is executed and
    I am struggling to find a way how to deal with these generated programs in eCATT SAPGUI recording.
    Key is that solution must be generic and work for all SAP BW releases from 7.0 upwards
    (having in mind that LISTCUBE can read NLS data from SAP BW 7.3 release).
    Error description from eCATT log:
    Screen Check Error: Expected Transaction: LISTCUBE, Actual Transaction: LISTCUBE.
    Expected Program: GP0KOZE7EFIUBN10MZUFWX90W80, Actual Program: GPBP24INA6VV77SL0XKU5NA642O.
    Expected Screen Number: 1000, Actual Screen Number: 1000.
    There Is Probably an Error in SAPGUI recording.
    ExceptionClass:CX_ECATT_APL_CAPTURE  ExceptionId:SCREEN_CHECK_ERROR
    RaisingClass:CL_APL_ECATT_LINE_INTERPRETER  Include:CL_APL_ECATT_LINE_INTERPRETER=CM00J  Line:443
    Is there any way how to avoid program check in eCATT script?
    Anything that would help me to find solution will be greatly appreciated.
    Best Regards,
    Igor

    Dear Igor,
    Your issue is caused by the "screen check" which eCATT processes here.
    In General this screen check is a very usefull activity, since is ensures that only those screens are processed by automation, which initially where recorded. This should ensure as much as possible to invoke only intended activities.
    Remember, that the driver of the screen flow is still the automated transaction program ( but not the test tool). So application logic decides which screen is send next.
    Using screen check the test tool tries to ensure that menu items and buttons and other activities are only automated when the tool "believes" to work on the intended screen.
    For generic test scripts and often in context of generated programs the screen check might hurt a bit.
    To overcome this, one might try to make the check dynamic (as Sheetal suggests correctly).
    If here the name of program cannot be determined for any reason, one can use another method and do following:
    - Change the value of ProcessedScreen-Active to 'R'
    This will disable/skip the screen-check for this ProcessedScreen.
    Sure the solution includes a certain risk, since not checking the correct screen to appear might lead to automation of actions with not desired impact.
    Maybe this can improve your solution.
    Kind Regards
    Jens

  • Query generated program not imported to Quality server

    Hi All,
    I am working on a query. It is an existing query which has been converted to an ABAP program in Z.
    The requirement was to make some minor changes in the existing report, like change in the selection screen and include an extra column in the output.
    report.
    when I checked the transaction it had a Z program, when i went into it, it was a SAP generated program with the report name starting in Z.
    It was not possible to make the changes in the existing program.
    So i created a new Infoset YSTP_INFOSET with the requested changes and a new user group YSTP_USRGP assigned to the infoset in SQ02 and SQ03 respectively.
    Query area is a global area.
    I created a new query in SQ01 and when i executed gave me correct result.
    i went to SE38 there it displayed the program name AQZZYSTP_USRGP==ZQUERY_WYT3===
    this name i assigned to the transaction in SE93.
    It was working fine till it was moved to the quality system. In the next system when i tried to test i got a short dumb telling that the report was not found.
    The Infoset and the User group are present in the quality system. but the program is not moved.
    Please tell me how to move this? its an urgent issue and it needs to be solved today.
    Points will be awarded .
    Please help.
    Regards,
    Rekha

    Hi Cristophe,
    Yes the user groups is copied and pasted in the transaction. Attaching the screen shots for your reference.
    I have assigned all the users in user group. Attaching that screen shot as well.
    @Raymond - could you please let me know how to transport. I have tried the truck icon in user group and infoset i have tried to transport but i dont get any transport request. Please let  me know how to solve this.
    Am i assigning the users correct? let me know please.
    Regards,
    Rekha

  • Error when generating program /SAPAPO/TSM141

    Hello APO Experts!!
    I have one infocube for sales history, which has one key figure that contains the sales history values.
    First, I was using this key figure in one planning area. This Key Figure Semantics for Read and Write Operations was 002 = Semantics for InfoCube key figures.
    Now, I had to include the same key figure in another planning area and with the same configuration Semantics = 002.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error  "Error when generating program /SAPAPO/TSM141" when trying to access the data in the planning books that are created in the first planning area.
    For the second planning area, nothing happens, everything is working correctly.
    Do you have any idea of what this could be?
    Regards
    Anglea

    Hi
    Sounds like a Planning Area extraction problem. First of all check that all your required BW InfoObjects are created for the Planning Areas, then check that the Semantics you mentioned are the same for all Aggregates in the Planning Area.
    Also try running program /SAPAPO/TS_PSTRU_GEN to regenerate the planning area extractor.
    Delete and recreate the data source.
    Hope that helps
    Regards
    Ian

  • Error when generating program /SAPAPO/TSM141 and Errors in source system

    Hello APO Experts!
    I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
    Do you have any idea of what this could be?
    Best Regards
    Nik

    Hello,
    The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
    - SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
    - SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
    Are the two extraction structures the same or different ?
    If they're different, please read the below solutions, otherwise, you can ignore the following.
    In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
    Please refer to following content from note 549184:
    Q4: Why could I have extraction problem after transport of DataSource?
    A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
    The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
    After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
    - Basis - form routines
    - Create planning objects
    - Planning area extractor
    with the flags "Reset generation time stamp" and "Generate" set.
    And in order to transfer datasource correctly, please also refer to the consulting note 514524.
    Best Regards,
    Ada

  • Delete Abap program via change reqeust

    Hi,
        We deleted some ABAP report source code via tcode(SE38) at development system. The system ask insert the delete action to one change request. I have added it to the change request. The ABAP source code have delete at development system. We transported the change request to our QA and PRD system. The deleted ABAP program source code is still exist in QA and PRD system. We want to delete the QA and PRD system ABAP source code. Could you pls advise how to delete it? Thanks.
    Best Regards
    Park Han

    My delete ABAP program process, Pls help check it correct or not. And How to delete the QA and PRD system ABAP program source code? Pls advise.
    1. Access Tcode(SE38)
    2. Input the delete program, Click Delete button.
    3. The system ask generate the change request. I have create the change request.
    4. Release and transport the change request to QA and PRD system.
    5. The development ABAP program has deleted. I can't find it via Tcode(SE38).
    6. We checked the ABAP program at QA and PRD system. It is still exist.
    Best Regards
    Park Han

  • Unicode :Generated programs

    Hi,
    Can somebody please let me know how to check if there are any <b>Generated programs</b> in SAP system( for example : Programs generated by customizing)
    As per Unicode documentation, generated programs are not considered as customer programs and also are not looked at by UCCHECK transaction.
    Generated programs must be <b>Regenerated</b> for Unicode system to set the Unicode flag and use New Unicode Syntax.
    I want to know how to handle Generated programs in Unicode system?
    Regards,
    Yogita

    Hi,
    Can anyone please help to answer above question regarding regenerating ABAP programs in Unicode system?
    Thanks for help in advance.
    Regards,
    Yogita

  • Transport Query generated program using SQ01

    Dear All,
    Please let me know how to transport a query generated program using SQ01. I have created a program from SQ01 query creation and assign a tcode to this program. When the program was generated there was no request create so how to make a request to transport this generated program to PRD.
    Thanks in advance.

    Hi,
    for query transport (export/import or download/upload (which I prefer because it can be done between different SAP systems where no transport mechanism exists)) go to SQ02 and tick the button that looks like a car.
    The t-code assignment (and maybe the the T-code is added in an area menu using SE43) needs to be transported seperately (if you use downlaod/upload as this does not create a transport request.
    best regards, Christian

  • Unable to execute Extras -- Display generated program in BW 7.0

    When I try to execute Extras --> Display generated program for a Transformation in RSA1 (BW 7.0) I get the following message:
    Unable to find a tool to process the request
    Message no. SEU_MANAGER026
    Does any one know what's the reason for that?
    Kindly help me to correct this.
    Thank you in advance.

    Hi,
    Try and check OSS notes: 501565 and 761681
    Hth.,
    Jacob

  • Deletion Utility Program for Sales Order.

    Hi Experts,
    We decided to have a deletion utility program for Sales orders. 
    The program should take sales order numbers from a source file, and delete one by one, also the program should generate process log details at the end.
    For creating the above program i need to create a new program or there is any BAPI for deleting the Sales Orders.
    Thanks & Regards,
    Ramana

    Hi,
    Possible UPDATEFLAGS:
    BAPISDH1X-UPDATEFLAG = 'D'.
    U = change
    D = delete
    I = add
    If you go to SE37 give BAPI_SALESORDER_CHANGE --> Display ---> In application tool bar Last Buttion Function Module Documentaion --> Here you get some usefull information.
    Dont Change the BAPI Just pass the Header X = 'D'.
    Try this Sample Program.
    PARAMETERS: p_vbeln  TYPE vbap-vbeln OBLIGATORY.
    DATA:  i_hdrx TYPE bapisdh1x.
    i_hdrx-updateflag = 'D'.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument     = p_vbeln
          order_header_inx  = i_hdrx
        TABLES
          return            = i_ret.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      LOOP AT i_ret.
        WRITE / i_ret-message.
      ENDLOOP.
    Thanks,
    Durai.V
    Edited by: Durai V on Aug 19, 2008 8:22 AM

Maybe you are looking for

  • Run a java class in Oracle db to connect to Sybase

    Hi All, I'm looking for a way to connect to Sybase database at no-license-cost (meaning Oracle Gateway or similar 3rd party products), first coming idea was JDBC, I know I can run a java class in Oracle, the simple idea is to write a java class which

  • 10.4.10 kills USB Maxtor external disk

    Hi all, The latest OS update killed my external disk. It is no longer recognizing the USB external disk. Disk utility started from the internal disk or the Tiger install disk does not show the disk. I don't have another Mac, but the disk is seen by P

  • I have to frequently clear history in firefox

    I have a remedy that works for almost all problems I encounter on a daily basis and so it has become almost a second nature to clear the cache when something doesn't work in Firefox. Mostly the contents of some websites I frequently visit get jumbled

  • Can't sign in to VS because IE is blocked at our company

    Hi all, I can't sign in to VS Express 2013 to update my trial license. The problem seems to be that when I try to sign in there opens a striped down IE window with an error message that it can't connect to the internet so I can't login to my outlook

  • Regarding Bulk Collect

    Hi, I have some problem in BULK binding. See below code, we have three columns in pl/sql record and table based on that record is populated with rows. Now requirement is like, I want to store two of the columns in table with the help of FORALL statem