Tcode PPCI : please help

Hi all,
i need to create a new PD infotype so i searched some informations about that.
I recovered the following document :
http://www.sappro.com/downloads/jan07/OMinfotypes.pdf
and i use the following help : http://help.sap.com/erp2005_ehp_02/helpdata/en/42/51c08e4a1211d182b80000e829fbfe/frameset.htm
I created my structure : HRI9100 and activate it. Now go into the tcode PPCI, i put the infotype number and a description, i click on create button. Help SAP : "The infotype copier generates all of the Repository objects that are required for the infotype.". In my case, i obtain a popup with the text "Infotype 9100 cannot be created. Please look at the following log."
Ok i do this. In dictionnary section, only the structure HRI9100 exists, the structure P9100 has not been created, and the table HRP9100 has not been created etc. Nothing has been created automatically.
Help !

Hi....these are steps.....reqd...
Enter the transaction code PPCI
Enter a four digit infotype number (9nnn) and an infotype name.
Select Field Infotype
Choose Infotype Create.
Choose Check environment to maintain the required entry in table T777I (Infotypes per object type).
Choose the Entry 'T777I' under the list of 'Table Entries' (This list is produced when you choose 'Check' on the First screen of the Transaction PPCI.
Press the 'Change' button and you will be taken to the 'Maintain Table Views' Transaction (SM30).
Press the Maintain button.
From the list of Infotypes locate the custom infotype created and select the entry for that.
Click on the 'Time Constraint' folder appearing on the left hand corner of the screen.
The screen for Change View Time Constraint would appear.
In the object type field put in: O,P,S whatever is relevant to your requirement.Also add the time constraint.
Save it and double click on the 'Infotypes per object type' folder (on the left hand side again).
Create a new entry here for your infotype and save it.
also.....
First create the structure  HRI9nnn for field infotypes and PTnnnn for table infotypes in the dictionary using SE11 tcode.
Activate structures....!!!!
Regards
Vasu

Similar Messages

  • Transaction PPCI : please help !

    Hi all,
    i need to create a new PD infotype so i searched some informations about that.
    I recovered the following document :
    http://www.sappro.com/downloads/jan07/OMinfotypes.pdf
    and i use the following help : http://help.sap.com/erp2005_ehp_02/helpdata/en/42/51c08e4a1211d182b80000e829fbfe/frameset.htm
    I created my structure : HRI9100 and activate it. Now go into the tcode PPCI, i put the infotype number and a description, i click on create button. Help SAP : "The infotype copier generates all of the Repository objects that are required for the infotype.". In my case, i obtain a popup with the text "Infotype 9100 cannot be created. Please look at the following log."
    Ok i do this. In dictionnary section, only the structure HRI9100 exists, the structure P9100 has not been created, and the table HRP9100 has not been created etc. Nothing has been created automatically.
    Help !

    Hi....these are steps.....reqd...
    Enter the transaction code PPCI
    Enter a four digit infotype number (9nnn) and an infotype name.
    Select Field Infotype
    Choose Infotype Create.
    Choose Check environment to maintain the required entry in table T777I (Infotypes per object type).
    Choose the Entry 'T777I' under the list of 'Table Entries' (This list is produced when you choose 'Check' on the First screen of the Transaction PPCI.
    Press the 'Change' button and you will be taken to the 'Maintain Table Views' Transaction (SM30).
    Press the Maintain button.
    From the list of Infotypes locate the custom infotype created and select the entry for that.
    Click on the 'Time Constraint' folder appearing on the left hand corner of the screen.
    The screen for Change View Time Constraint would appear.
    In the object type field put in: O,P,S whatever is relevant to your requirement.Also add the time constraint.
    Save it and double click on the 'Infotypes per object type' folder (on the left hand side again).
    Create a new entry here for your infotype and save it.
    also.....
    First create the structure  HRI9nnn for field infotypes and PTnnnn for table infotypes in the dictionary using SE11 tcode.
    Activate structures....!!!!
    Regards
    Vasu

  • Please help me with user-exits or baids for TCode : FOE2 & FOE1

    Hi  Experts
    Please help me with user-exits or baids for TCode : FOE2 & FOE1.
    I found these but not picking values from VIMI01,VIOB03 and VIOB41.
    User-exits
    FVCH0001                                CH-specific enhancements: Esp. POR
    ISRE0001                                Determine bank procedure account no.
    ISRE0002                                IPD reporting data retrieval
    Business Add-in
    FVD_HANDLE_FORMULA                      Processing of Condition Formulas

    Hi,
    ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
    And check this exit-COOMKS03 whether it works for your screen exits.
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM

  • Adobe PDF forms using tcode SFP - Nested tables... Please help

    Hi Friends,
    I have some strange issues when I am trying to create a nested dynamic table with SAP DATA in Adobe Designer.
    In the context, under the MAIN node
    I had dragged the header table. Under the header table I had dragged the item table and had created a WHERE condition to link the HEADER and ITEM table.
    Now my layout is pretty complicated..
    I want to result to be as below:
    header row.... with 0001 Customer name
    item row with 0001 0010 price qty
    0001 0020 price qty
    0001 0030 price qty
    header row... field4
    (field4 from the header table has to be displayed after the item table has generated all the items and this process should repeat for all header data)
    My design in layout is as below
    subform1 for headerdata
    ( set as positioned and has set to 'Repeat form for each data item')
    headerdata fields for subform1 (field1, field2, field3)
    subform2 for itemdata
    (set as folowed)
    subform3 for itemdata
    (set as positioned, 'Allow page breaks within content' and had set 'Repeat form for each data item')
    itemdata fields in subform3
    subform4 for headerrow field4
    but when I activated and execute the form, the result was wrong.
    The result should be like below...
    |->field1, field2, field3
    |--->field1 charge111
    |--->field1 charge211
    |-> field4
    |->field2
    |--->field2 charge122
    |--->field2 charge222
    |-> field4
    but it is printed like below and field4 is overlapped with the item rows if the item rows are more...
    DATA
    |->field1 field2 field3
    |--->field1 charge111 This inner table is overlapping the subform4 for each item
    |--->field1 charge211
    |
    |->field1 field2 field3
    |--->field1 charge121 This inner table is overlapping the subform4 for each item
    |--->field1 charge221
    2) If I have more item data, all the item rows are overlapped with the field4 (which I had explained in my layout) and the item rows are not moved to the next page, but still it is continued in the same page, meaning that if the page can fill 20 lines and my item row are more than 20 lines, 20 lines are printed and the remaining items are not moved to the next page... it is invisible...
    How can I solve this issue?
    Please help me
    Thanks in advance.
    Jaffer Ali.S

    Hi Prakash,
    Thanks for your reply.
    I tried it..... but nothing came out...
    Is there any alternative for this...
    My Hirearchy is like this...
    Main Table (SubformA - MainSubform) set as flowed, repeat for each data item     
        Maintable-field1 Maintable-field2 (Subform) set as positioned
    Inner table (table subform) set as flowed
      Innertable-field1 Innertable-field2 (subform) set as positioned
    I linked the Maintable and the Innertable in the context in the 'Where Conditions' tab
    Kindly review the above hirearchy and reply...
    Guys please help me.... I am in an urgent state and need to complete this ASAP.
    I will give full points for all of u guys...
    Please.... please... please....
    Thanks in advance.
    Jaffer Ali.S

  • Best practices for ARM - please help!!!

    Hi all,
    Can you please help with any pointers / links to documents describing best practices for "who should be creating" the GRC request in below workflow of ARM in GRC 10.0??
    Create GRC request -> role approver -> risk manager -> security team
    options are : end user / Manager / Functional super users / security team.
    End user and manager not possible- we can not train so many people. Functional team is refusing since its a lot of work. Please help me with pointers to any best practices documents.
    Thanks!!!!

    In this case, I recommend proposing that the department managers create GRC Access Requests.  In order for the managers to comprehend the new process, you should create a separate "Role Catalog" that describes what abilities each role enables.  This Role Catalog needs to be taught to the department Managers, and they need to fully understand what tcodes and abilities are inside of each role.  From your workflow design, it looks like Role Owners should be brought into these workshops.
    You might consider a Role Catalog that the manager could filter on and make selections from.  For example, an AP manager could select "Accounts Payable" roles, and then choose from a smaller list of AP-related roles.  You could map business functions or tasks to specific technical roles.  The design flaw here, of course, is the way your technical roles have been designed.
    The point being, GRC AC 10 is not business-user friendly, so using an intuitive "Role Catalog" really helps the managers understand which technical roles they should be selecting in GRC ARs.  They can use this catalog to spit out a list of technical role names that they can then search for within the GRC Access Request.
    At all costs, avoid having end-users create ARs.  They usually select the wrong access, and the process then becomes very long and drawn out because the role owners or security stages need to mix and match the access after the fact.  You should choose a Requestor who has the highest chance of requesting the correct access.  This is usually the user's Manager, but you need to propose this solution in a way that won't scare off the manager - at the end of the day, they do NOT want to take on more work.
    If you are using SAP HR, then you can attempt HR Triggers for New User Access Requests, which automatically fill out and submit the GRC AR upon a specific HR action (New Hire, or Termination).  I do not recommend going down this path, however.  It is very confusing, time consuming, and difficult to integrate properly.
    Good luck!
    -Ken

  • FI-MM and FI- SD Queries... Please Help

    Hi Gurus, Please help me with the following queries-
    1. How movement type and valuation class helps in determining G/L A/C?
    2. Where do I configure GL A/C as per movement type and valuation class?
    3. Where I can see G/L postings of individual material after PGI and invoice?
    4. How can I see individual customer receivable a/c?
    5. How can I see G/L postings of sales revenue, discounts and freight?
    Thanks in Advance

    hi mohit,
    1 & 2. Once u define G/L accounts in valuation class it is applicable for the movement types under the valuation class. for tcode:0MWB or menu path:
    spro>img>MM>valuvation & account assignment>account determination>account assg withount wizard-> configure automatic posting
    3.for invoice: goto vf03> selct each line item & click accounting ikon on th top>now double click the accounting document.
    (or) use tcode:FB03 here u have 2 enter the acc docuemnt no
    4.use tcode:FBL5N
    regards,
    Arun prasad

  • Please help me with the following two questions, very urgent

    Hi All,
    Please help me with some scenerios about what are the common problems when modifying a standard script such a standard Invoice script and how can we overcome them.
    What are the common problems encountered when working with SAP SMARTFORMS and how to overcome them?
    Please help me with these questions, its very urgent.
    Thanks in advance.
    MD.

    hi
    hope it will help you.
    reward if ehlp.
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)

  • Parameters of a Function Module.Please help

    Hi guys,
    Am using the FM ARCHIVFILE_CLIENT_TO_SERVER to take an file from the presentation server i.e local PC to an application server.
    In this Fm the parameters are source path and destination path,source path being the path to the file in the PC and destination path the path where the file needs to go in the appn server.
    To find the directory in appn server I logged on to Tcode AL11 where I goit the SAP directories.
    I wanna put my file in one of thedse directories.What should I give my file path in the FM as.
    For eg. /usr/sap/BS7/DVEBMGS01/work
    is what I find in AL11 but what path to give in the FM.Will giving this suffice.
    Please help.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 1:13 PM

    Hi,
    You cannot post the data anywhere in the application server. Just ask path to your client or your onsite coordinator. They will give you the path.
    <REMOVED BY MODERATOR>
    Thanks
    Vikranth
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 1:13 PM

  • Using flat file to upload in ABAP. Please help. Urgent

    Hi all,
    I am using a CSV excel file to upload some data to my ABAP program. Thje file contains material numbers as one of the fields. But if I enter the material number 11910892E80, excel converts it to  1.19E+87. Since I am using this file in the program to extract some fields from MARA, i am getting an error 'Material number does not exist'.
    I know that we can avoid this problem by changing the format type of the cell to 'text' in excel. I want to know if there is any other way to rectify this problem. I have to use an excel file for upload. Notepad will not do.
    Please help me solve this problem. It is urgent.
    Thanks and regards,
    Swaminath

    Hi
    If it is comma delimited file (CSV format) you can directly read the whole file and into a table with one field.
    Loop at that table.
    Use split a comma into fields of your internal table.
    endloop.
    Sample code
    move pcfile to v_file.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                = v_file
          FILETYPE                = 'ASC'
          HAS_FIELD_SEPARATOR     = 'X'
        TABLES
          DATA_TAB                = in_rec
        EXCEPTIONS
          FILE_OPEN_ERROR         = 1
          FILE_READ_ERROR         = 2
          NO_BATCH                = 3
          GUI_REFUSE_FILETRANSFER = 4
          INVALID_TYPE            = 5
          NO_AUTHORITY            = 6
          UNKNOWN_ERROR           = 7
          BAD_DATA_FORMAT         = 8
          HEADER_NOT_ALLOWED      = 9
          SEPARATOR_NOT_ALLOWED   = 10
          HEADER_TOO_LONG         = 11
          UNKNOWN_DP_ERROR        = 12
          ACCESS_DENIED           = 13
          DP_OUT_OF_MEMORY        = 14
          DISK_FULL               = 15
          DP_TIMEOUT              = 16
          OTHERS                  = 17.
      if sy-subrc ne 0.
        write:/5 'Error with PC file'.
      endif.
      loop at in_rec.
        if in_rec(4) ca number.
          split in_rec at p_del into
            itab-tcode  itab-tcodet
            itab-saknr
            itab-waers1 itab-waers2
            itab-amt1   itab-amt2
            itab-gl itab-kostl
            itab-prctr itab-obukrs
            itab-otcode itab-otcodet.
          if itab-amt1 = '0.00' or itab-amt1 = space.      "skip this line
            continue.
          endif.
          move-corresponding itab to fitab.
          append fitab.
          clear: itab, fitab.
         append itab.
        endif.
      endloop.

  • Question on security in ABAP. Please help!

    Hi Experts,
            I have a question on security in ABAP program.
    I have a ABAP program which has a transaction attached.
    I have added authorization check in ABAP program(Progran level security).
    I have also attached the authorization object to the transaction.(Transaction level security)
    If an end user runs the transactionm, then which authorization check will fire first? Will it be transaction level?
    If I have web enabled my ABAP program via SICF (in other words, ITS). Then when I try to run my ITS service in the browser will the transaction level authorization fire? or Will the program level authorization fire?
    Please help me understand this security aspect.
    Thanks
    Gopal

    Hi gopalkrishna,
    1. if an end user runs the transactionm, then which authorization check will fire first? Will it be transaction level?
    Yes, transaction level first !
    2. In ITS scenario also,
      a) first tcode level,
      b) then, program level
    regards,
    amit m.

  • Question on security in ABAP program with ITS. Please help!

    Hi Experts,
            I have a question on security in ABAP program.
    I have a ABAP program which has a transaction attached.
    I have added authorization check in ABAP program(Progran level security).
    I have also attached the authorization object to the transaction.(Transaction level security)
    If an end user runs the transactionm, then which authorization check will fire first? Will it be transaction level?
    If I have web enabled my ABAP program via SICF (in other words, ITS). Then when I try to run my ITS service in the browser will the transaction level authorization fire? or Will the program level authorization fire?
    Please help me understand this security aspect.
    Thanks
    Gopal

    <i>I have added authorization check in ABAP program(Progran level security).</i>
    i assume you have coded call authority within the program.
    <i>If an end user runs the transactionm, then which authorization check will fire first?</i>
    if he calls the transaction, then first authorization attached to the transaction will be checked.
    but if he executes the program attached to the transaction, then the authorization attached to the transaction dosent help here, the one coded in side the program is checked.
    <i>If I have web enabled my ABAP program via SICF (in other words, ITS).</i>
    it depends,
    if you are calling your transaction like
    webgui/?~transaction=<tcode> then first tcode level authorization.
    if you generate the templates for the program and callign the same, then i guess its progam level. (i need to check this)
    Regards
    Raja

  • CRM order giving the document could not be saved exception! Please help!

    Hi Experts,
       I am changing the status of a order using CRM_STATUS_CHANGE_EXTERN and CRM_STATUS_CHANGE_INTERN.
       After this I call CRM_ORDER_INITIALIZE and the BAPI_BUSPROCESSND_SAVE.
       Finally commit.
               CALL FUNCTION 'CRM_ORDER_INITIALIZE'
                  EXPORTING
                    it_guids_to_init  = lt_crmd_guids
                    iv_init_frame_log = 'X'
                    iv_keep_lock      = 'X'
                  EXCEPTIONS
                    error_occurred    = 1
                    OTHERS            = 2.
                ls_obj_save-guid = v_header_guid.
                append ls_obj_save TO lt_obj_save.
                CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
                   EXPORTING
                    UPDATE_TASK_LOCAL       = 'X'  "commented. Taking default
                     SAVE_FRAME_LOG          = 'X'
                   IMPORTING
                     LOG_HANDLE              = lv_log_handle
                    TABLES
                      OBJECTS_TO_SAVE         =  lt_obj_save
                      SAVED_OBJECTS           =  lt_obj_saved
                      RETURN                  =  lt_return.
        The function BAPI_BUSPROCESSND_SAVE is returning error: The document could not be saved in it_return. I am not getting any other details. What am I doing wrong? Please help!
    Thanks & Regards
    Gopal

    Hi Robert,
       The SPRO settings seems to be fine.
       The problem is that the order is not getting saved whenever there is backward status change. However if I see the item status via tcode "crmd_order" then it actually shows the new status. In other words status is changing but still order is not getting saved.
       When I debugged the code I found that first It has successfully executed the FM CRM_STATUS_CHANGE_EXTERN and then when CRM_ORDER SAVE is called the parameter et_saved_objects is empty. I am passing header Guid in  it_objects_to_save. If order is saved properly then et_saved_objects should be filled with order guid.
    CALL FUNCTION 'CRM_ORDER_SAVE'
                   EXPORTING
                     it_objects_to_save = lt_save
                   IMPORTING
                     et_saved_objects   = lt_saved_obj
                   EXCEPTIONS
                     document_not_saved = 1
                     OTHERS             = 2.
    On further debugging inside CRM_ORDER SAVE I found that the FM CRM_EVENT_PASS_INFO_EXE_OW returns lt_events empty. That means the given guid  is not registered for saving. Why is this so?
      are there objects registered for saving
        call function 'CRM_EVENT_PASS_INFO_EXE_OW'
          exporting
            iv_exetime     = gc_event_exec_time-save_order
            iv_order_guid  = ls_object_to_save
            iv_obj_kind    = gc_object_kind-orderadm_h
          importing
            et_event_calls = lt_events
          exceptions
            others         = 99.
        if lt_events is initial.
          delete ct_objects_to_save.
          continue.
        endif.
       The problem is when the order is not getting saved the status change is not getting transferred to BW or BI.
       What could be the issue?
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Apr 7, 2011 5:59 AM
    Edited by: gopalkrishna baliga on Apr 7, 2011 6:09 AM

  • Please help about Report Printer and PS tables-objects . ..

    Hi everybody
    I'm in trouble. I have a requirement in PS módule related with reports created by the Report Printer tool. I don't have any idea about these topics.
    My requirement is to create a report (not with Report Printer) with the structure for projects, with all the structure Project-WBS-Network-Activity and with some values like Budget, Commit, Actual,  Paid, etc.
    The functional consultant only tells me about some reports created with Report Printer wich have the columns required, some report has the Budget, other one has the Commit, etc. For example, one report is the tcode S_ALR_87013532; i don't know if this transaction exists in all the SAP implementations or if it was created only for my company.
    These reports only show two levels (Project-Network) so i i have to investigate:
    1. How to get all the structure levels (project-WBS-network-activity)
    2. How to 'translate' in code some value showed in a report created with Report Printer, i guess these values are created with formules and objects.
    3. How to get the same values showed in these reports, but for the Networks and Activities.
    I do not know anything about PS module and Report Printer and i really don't have any idea about how to make my development.
    4. I think the functional consultant could be able to create the report himself with the Report Printer, but he tells me he does not manage this tool so good and he wants to send SAP mails with the reports, and he say the reports created with Report Printer can not send mails. Is this true ?  and then, would be easier for me to learn Report Printer and create the report myself instead to develop it ?
    Does somebody can help me ?     Any idea ?
    Please help !!     I don't know even how to start with this.
    Thanks in advance ..
    Frank

    Hi Frank,
    here're some links:
    -http://help.sap.com/saphelp_47x200/helpdata/en/ca/01993862b47c67e10000009b38f8cf/frameset.htm
    -http://www.sapgenie.com/abap/tables_ps.htm
    -Re: Project System Costs: budget/actual/commt/rem.plan/assd
    Andreas

  • Please help: Message no. M7090/Accounting data not yet maintained

    To whom it may concern-
    I am currently a student attending LSU working on an SAP project worth a very significant portion of our grade. The following is a detailed description of the problem, which should hopefully help you put your finger on a solution.
    My problem is that when I try to hit the accept button on PP10 for a goods issue, I get an error message "Accounting data not yet maintained" (please refer to attached screenshot #1). When I click the help button, I get a vague solution (please refer to attached picture #2). I have tried and "change" my material master record for Cushion 065 by going back to MM06/create material master for trading goods (please refer to attached picture #3), but I don't have the understanding of SAP to manipulate the information at this point. It is just giving me the ability to manipulate views and it is only letting me choose the following views (please refer to attached picture #4).
    Please help me find a more useful pathway so I can proceed. If whoever is helping me needs me detailed information, please let me know. Also, if someone could direct me to a user support function where I can talk to a representative in real time, I would appreciate that.
    Mack Bradford

    Extend the Accounting view with Tcode :MM50
    Go to MM50 , select Maintenance status as "B" and enter Material number and click on execute (F8), then select the Material line item and click on Maintain Materials tab.
    Regards,
    Ramesh

  • 0FI_AP_4 - Delta Extraction Problem - Please help

    Hi,
         I activated the business content ODS 0FIAP_O03 and the relevant infosource for Accounts Payable and also did the init. In R/3 I created an Invoice using FB60 transaction and Posted the payment using F-53 transaction. I can see the document in BSAK table which the 0FI_AP_4 extractor is using but when I see the delta queue in RSA7 there are 0 records for the extractor 0FI_AP_4 which means the new changes are not pushed to the delta queue. Please help.
    Thanks.

    Hi Thiagu,
    Try running a delta load 0FI_AP_4 using the tcode RSA3 in your R/3 system? Are you seeing your document there?
    I would also check RAS7 in R/3, and to make sure the delta init has taken properly. You can also check for your document there.
    HTH

Maybe you are looking for