Selection profile field in COOIS transaction to use in custom program

I need to use the field selection profile in the transaction COOIS in a custom report .How can we do that ?

The program for this tcode is PPIO_ENTRY
in that you see that the  include  program ' ppio_entry_sel_criteria.'
contains the logic for your request.
copy the same in your custom program.

Similar Messages

  • How to add the fields to the transaction 'Z10SD25' using ABAP Query

    Hello,
    I want to add the new fields like 'From' and 'To' depending on some conditiions. But i have to do this using ABAP Query.
    Can any one help me with this as I am not much aware of ABAP Query .
    Regards,
    Darshana

    Hi,
    ABAP/4 query can be designed in four steps
    1.     Creation of a user group
    2.     Creation of Infoset
    3.     Assignment of user group to Infoset
    4.     Creation of the query based on Infoset
    By executing the transaction codes mentioned below
    u2022     SQ01   ABAP/4 Query
    u2022     SQ02   Infosets
    u2022     SQ03   User group
    Step 1: To create an Infoset without a logical database
    One of the following can be selected
    u2022     Based on a single table
    u2022     Using an ABAP/4 program
    u2022     Using Table Joins
    u2022     Using Sequential Dataset
    NOTE: The tables to be used in the join should have at least one field in common i.e. it should have the same name, domain or data element.
    Step 2: Here you specify the users who should be authorized to run the query. A user group is always associated with a Infoset.
    Step 3: In Query Definition you can define the Selections Screen. Here you can check against the fields(fields from the tables specified in the infoset above) that you require to be shown on the selection screen.
    Now we Finally need to specify the output type for the query as Basic List, Statistics or Ranked List. Choose the option Basic List and also select the fields to be displayed in the output list(in your case from and to fields...)
    After providing all the above options you can save the query and execute it by clicking the Execute button twice.
    Hope this helps
    Regards
    Shiva
    Edited by: Shiva Kumar Tirumalasetty on Sep 15, 2009 12:44 PM

  • Report to check authorization object used in customized programs

    Hi Guys,
    An auditor came and he raised a question to us, he asked whether all of our customized transactions and programs are maintained with authorization checks? The question is how can we check what authorization objects are used for our customized programs and transaction codes? The developer did not maintain the objects used for that program in SU24 table. Is there a program or a report to show us all the authorization object used for a customised program or transaction? Example : T-code MIGO we can check in SU24 table for all the authorization object used. How do we check for customized tcodes? Please advise. Thanks!
    Edited by: Jarod Tan on Nov 25, 2010 9:42 AM

    Note that some programs are built in such a way that no (visible) auth check is necessary, or even desired at all.
    To determine the necessity of an auth check, you should check that starting it has an entry point (tcode, rfc, service) which is appropriately restricted. The rest (whether and where and how a further check is evaluated) is entirely dependent to what the program actually does.
    Well designed applications generally have centralized functions and methods, and the checks are in there or a "base check" they use.
    Others again use the same in UI programming to determine the visibility of functions, to make the application more intuitive for the user. This on it's own is however not a sufficient auth check to rely on.
    Code review is an art form!
    Cheers,
    Julius

  • Similar to VA01 Item Data ,based on one field selection,other fields get populated in Table control for Custom table. How Do I do that. Plz suggest

    I\
    Moderator message : Search for available information, discussion locked.
    Message was edited by: Vinod Kumar

    Hi,
    You need to create table events to do so.
    Refer blog
    http://wiki.sdn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS

  • PO printing into PDF using a customized program

    Dear All,
    I understand that program RSTXPDFT4 is use to generate/print PO in PDF format using the spool no as input.
    My question is there any similar program like this that PO can be printed in PDF but the input is PO Number.?
    Thanks,
    Rgds,
    Shela

    if you want print in PDF, then  you should use PDF based forms instead of SAPscript or smart forms
    http://help.sap.com/erp2005_ehp_04/helpdata/En/5a/b9c6f89f1ede48a7d6413cc4512145/frameset.htm
    alternative check OSS Note 191470 - Purchase order as an e-mail
    if you want send the output by mail.

  • Selection Profile - what is it and where is it used?

    Hi,
    Kindly help to explain what a selection profile is and where it is used.  (The configration is Project Systems > Structure > Operative Stucture > Milestones > Define Selection profiles.
    I want to understand if we still need to set this up even if we do not use milestones.
    Thanks!
    Regards,
    Vivian

    Dear Vivian,
    if u r not using milestone then u do'nt need to do configure.
    for more detail pls read following
    Define Selection Profiles
    In this menu option you define selection profiles that you can use to specify status combinations for selecting objects (for example, orders or operations). A selection profile is especially useful if you select a large number of objects repeatedly according to the same selection conditions (for example, orders for printing shop papers, for collective release, or for creating order valuations).
    Selection procedure
    The selection conditions are evaluated top-down. Here the following rule applies:
    Several lines following one another that are linked by an OR are combined and evaluated together. From the block at least one selection condition must be fulfilled.
    AND links blocks or individual conditions. All the blocks or individual conditions linked with AND must be fulfilled. An order is no longer part of the evaluation as soon as a block or individual condition is not fulfilled. That means that with every freshly inserted AND a bracket is inserted around the preceding expressions (conjunctive normal form). To select the desired status combinations a reforming of the selection conditions is necessary.
    In general one can say that OR links more strongly than AND!
    Example
    You want to define a selection profile with which orders with the following status combinations are selected:
    REL (released)
    CRTD UND MACM (created and material committed)
    To do this formulate:
    REL OR (CRTD AND MACM)
    But the system interprets:
    (REL OR CRTD) AND MACM
    Orders with the following status combinations are selected:
    REL AND MACM
    Thus the original formulation must be reformulated by "multiplying out" to:
    (REL OR CRTD) AND (REL OR MACM)
    Regards ,
    Vivek Tripathi

  • How to find the selection profile w.r.t plants.

    Hi,
    I have a list of 50 plants, how can i find the list of selection profile that includes these plants. Apart from going inside each and every selection profile.
    Thanks
    Aswath

    Hi Aswath,
    Make use of the badi SAPAPO/SDP _SELECTOR to get
    critical fields and tables and you can create your
    custom report to find out this information
    Regards
    R. Senthil mareeswaran.

  • Custom Fields in ME21N transaction

    Hi all,
    I have added custom fields on the transaction ME21N using the screen exit in enhancement MM06E005.
    Now i need to do validations on these fields even if the user does not come to the screen. So i am using the BADI ME_PROCESS_PO_CUST for the validations.
    But this BADI gets triggered only when there is a change in a standard SAP field. If i change the value of the Custom field then the BADI does not get triggered.
    So the problem is that once i issue an error message for the custom field in the BADI .. and then change the value in the custom field, the BADI does not get called and hence the error message stays as it is...
    Any solutions for this?
    thanks,
    Ashiq Ali Ratnani

    even when we create a custom screen, the user-exits which are getting called from other screens should also get called from custom one. If this is not happeing, then you need to check in configurations where you have created this screen, that whether you have done assignment of screen at right place, not at the header level but at tab level.

  • Column alias to select all fields in only one table in a join

    Hi,
    Please can you tell me if it is possible to use something like "SELECT a*" to select all fields in table a when using a join to join 2 tables e.g a and b? Instead of using "select acomlumn1 acomlumn2 acomlumn3" etc.
    Thanks and Regards.

    HI,
    It is not possible... You have to specify all the fields you want to select with the tilde '~' symbol...
    or,
    The other solution can be to fetch all the fields from the first table and use 'For all entries' of this table to fetch all fields from the other table...
    Edited by: sneha singhania on Jun 23, 2009 3:01 PM

  • Authorization check for select-options field - Company code.

    Hi experts,
    i have company code field on the report selection screen and i have to validate the authorization check for BUKRS.
    How to do authorization check for a select-options field?
    Any function modules used to write the authorization check for a SELECT-OPTIONS FIELD?
    Thanks.

    >
    RNB wrote:
    > Any function modules used to write the authorization check for a SELECT-OPTIONS FIELD?
    Does it hurt to type a few lines of code? Why do you need an FM for this my friend?
    Anyways can you please tell which SAP application area (viz. FI, SD etc.) do you want to run the report?
    Suhas

  • Transaction type used for FA posting to depreciation area 01 (ordinary dep)

    Hi Expert,
    There is a difference between my ordinary dep area 01 and book dep area 03.
    area 01 is having a USD100
    area 03 is having zero USD
    I need to zerolized area 01.
    I have created a new TTY and limit the dep area posting to 01 in OAYA. However, when I tried to post via ABZE, it is giving me an error message AA350.
    Diagnosis
    According to Table T093A, if you use transaction type 050, area 03 has to adopt values from area 01 (chart of depreciation TPGL). However, the specifications made in Table TABWA for the two areas do not agree.
    Procedure
    Maintain the transaction type using the Customizing menu. Both areas have to have either the indicator 'propose for posting' or 'has to be posted'.
    I have checked both tables and it is not allowing me to post to area 01 only. I have done this before by creating a new TTY and post to area 02 and it works.
    Please advise soon how to rectify this.
    Thanks.
    Angel.

    Hi,
    please check ion OABC if area 02 takes over the values identically.
    regards Bernhard

  • Re: Payment order Reversal using custom program

    Hello Experts,
    The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
    Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
    I am able to reverse it by using standard transaction ihc02.
    In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
    Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
    Thanks and regards
    pavan

    Hello Experts,
    The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
    Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
    I am able to reverse it by using standard transaction ihc02.
    In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
    Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
    Thanks and regards
    pavan

  • Printing Purchase Order from ME9F using custom program and smartform

    I was able to use my custom program which calls a smartform to print purchase orders from transaction ME9F. I did this using transaction NACE.
    However, when I call "Output Message" from ME9F, the output always fails (shown by an 'X' icon after the checkbox). When I try to put back the standard program in NACE, it does not show an 'X' but a check which indicates that the printing was successful.
    Do you know why this happens? What did I miss?
    Here's my call to my smartform from my custom driver program:
        " Change Smartform ZP_MMSF_P01_PURCHASE_ORDER
        " to internal Function module name
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
                FORMNAME   = 'ZP_MMSF_P01_PURCHASE_ORDER'
            IMPORTING
                FM_NAME    = fmname
        wa_cparam-no_dialog = 'X'.
        wa_output-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
        CALL FUNCTION fmname
            EXPORTING
                control_parameters         = wa_cparam
                output_options             = wa_output
                i_data                     = i_data
                wa_lookup                  = wa_data_lookup
                goods_amt                  = goods_amt
                discount_amt               = discount_amt
                vat                        = vat
                total_amt                  = total_amt
                total_amt_inwords          = total_amt_inwords

    Vijaya,
    I have this problem though,
    Whenever I try to provide values for CONTROL_PARAMETERS and OUTPUT_OPTIONS to the sapscript call in your code, the PO printing (even the preview) does not proceed. I do this because I wanted to suppress the printer dialog.
    here is a fragment of the code:
    " code I added
    LS_COMPOSER_PARAM-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
    LS_COMPOSER_PARAM-bcs_langu = sy-langu.
    LS_CONTROL_PARAM-preview = 'X'.
    LS_CONTROL_PARAM-no_open = 'X'.
    LS_CONTROL_PARAM-no_close = 'X'.
    LS_CONTROL_PARAM-device = 'PRINTER'.
    LS_CONTROL_PARAM-no_dialog = 'X'.
    DO NAST_ANZAL TIMES.
    *--In case of repetition only one time archiving
    * if sy-index > 1 and nast-tdarmod = 3.
    * nast_tdarmod = nast-tdarmod.
    * nast-tdarmod = 1.
    * ls_composer_param-tdarmod = 1.
    * endif.
    IF SY-INDEX NE 1 AND REPEAT IS INITIAL.
    REPEAT = 'X'.
    ENDIF.
    CALL FUNCTION LF_FM_NAME
    EXPORTING
    ARCHIVE_INDEX = TOA_DARA
    ARCHIVE_PARAMETERS = ARC_PARAMS
    CONTROL_PARAMETERS = LS_CONTROL_PARAM
    MAIL_RECIPIENT = LS_RECIPIENT
    MAIL_SENDER = LS_SENDER
    OUTPUT_OPTIONS = LS_COMPOSER_PARAM
    USER_SETTINGS = SPACE
    IS_NAST = NAST
    IS_REPEAT = REPEAT
    I tried to trace it to the function module generated by smartform. The error propagates this way: From the function module, there is a call to function SSFCOMP_PROCESS_DOCUMENT. Then inside that function, there is a perform operation to tr_ssfcomp_process_doc
    perform tr_ssfcomp_process_doc using startpage docstruc
                                           header.
    Inside that form, it calls the macro tr_active which checks the value of ssfcstat-trlevel (tracelevel) against c_trlevel_document. In the macro, if ssfcstat-trlevel is less than c_trlevel_document, the smartform will fail. c_trlevel_document is 15 and ssfcstat-trlevel is 0, and so the smartform fails.
    (you can see the macro tr_active in include LSTXBCMAC and the form tr_ssfcomp_process_doc is in the include LSTXBCFTR)
    When I do not put values in CONTROL_PARAMETERS and OUTPUT_OPTIONS, everything is ok.
    Do you know why this happens?
    Thanks in advance!
    Edit: I have found out about transaction SFTRACE, but this is disabled.
    Kyle

  • Trigger IDOC_OUTPUT_ORDRS using custom program.

    Hello.
    I have a requirement to send an order response (ORDERS05) IDoc by calling FM IDOC_OUTPUT_ORDRS using a custom program.  Wanted to know if anyone had suggestions on the best approach.  We are using much of the native mapping and adding a few segments (which I would handle updating in the customer exits).
    My biggest question is how to setup the call to IDOC_OUTPUT_ORDRS.  I think I need to simulate the NAST table entry.  Is that the recommended approach?  Any tips or hints would be appreciated.
    Thanks,
    Cal
    Edited by: Cal on Feb 3, 2009 7:07 PM

    Actually condition technique based on which output determination works - is designed for exactly what you are asking - triggering the output type under certain conditions.
    You can create ouput condition records with key fields that represent your business conditions: for example certain sales org, distrib channel, certain sales order type can only trigger the output. You can make it as finer as you want (like even including sold-to as a criteria), like you can include any field that appears in the sales document as a criteria to trigger the idoc.
    The tables that store condition records - condition tables - are custom created with your business field combination that you want to base the triggering upon.
    Goto the IMG path:
    IMG -> SD -> Basic functions -> Output control -> Output determination -> Maintain output determination for sales documents.
    1. A o/p determination procedure is assigned to sales document type
    2. A o/p determination procedure comprise a list of output types, which are checked sequentially by the system
    3. Custom condition tables with new business criteria can be assigned to new or existing access sequence
    4. Access sequence is attached to output type
    How the system triggers a particular output type during application document processing, say sales order processing:
    1. From the sales document type, the o/p determination procedure is determined
    2. The system then checks the output types inside the procedure one by one
    3. Say at output type 1, the system checks to see what access sequence it has
    4. The access sequence comprises of 1 or more condition tables.
    5. The system then checks each condition table, by comparing the key fields of the condition table with the correpsonding sales document fields - like comparing sales org, documen type in the condition record with what the sales document has. If every thing matches, the output type is triggered.
    I have just simplified the whole o/p determination. There are several other features which are controlle at o/p determination, procedure, output type and access sequence levels. Spend some time one these, it is a neat, flexible and future proof concept. You will never regret! )

  • How to add production Version  field in COOIS to selection options?

    Dear Experts,
    Need your suggestion for below issue raised by client.
    1) As per client, he was running COOIS with the selection option of a production version. But currently he is  not able to see this selection while executing a COOIS t-code.-----> Kindly guide me on its possibilities & necesary checks.
    2) If I want to correct it & want to add Production Version field in COOIS report what steps I should take?
    Need all your valuable guidence to resolve above issue.
    Thanks & Regards,
    Mehul

    Hello Vivek,
    Really thanks for your mail. Please see below comments-
    1) I checked the transaction COOIS & also told user to select Production Version after executing the report by giving Plant code & dates. But user asking for this field before execution.
    As per your suggestion I checked in Header level of first screen but its not showing me also.
    2)  I am using ECC6.0 version
    3) One finding from my side- This is I am checking only selecting Production Orders. But when I am selecting only Planned order then Production version can be seen in first screen under Repetitive Mfg. section.
    so kindly tell me why this not showing when Production order selected?
    Thanks in Advance for your help.
    Regards,
    Mehul

Maybe you are looking for

  • After 2.1 update Eris will not leave POP mail on server

    I've seen some other posts on this, at least one of which said Verizon has acknowledged as a 2.1 issue - but it's not clear if any solution has yet been provided. Since the 2.1 update, if I delete my Verizon e-mail on my Eris it's evidently deleting

  • ECC Report showing Outline Agreements WITH related Release Orders

    Does anyone know of a report in ECC which will display all Outline Agreements together with all the Related Release Orders associated with each Agreement Number? I have trawled through hundreds of SAP transaction codes and cannot find something that

  • Invoice for BOM_Normal material(TAN item category) error

    Hi Sap gurus, We are facing one production issue.they are creating a SO/Delivery/billing with below line items: 1.Normal material 2.BOM 3 BOM components1 4.BOM components2 5.Normal material 6.Normal material but while creating billing, the BOM compon

  • User Exit at Production Order Release

    Hello Everyone Could anyone tell me if there is any particular User Exit at the Release of Production Order? I have seen the list but didnt find any appropriate one. Reward points Guaranteed Regards Chandra

  • Talent Relationship Management for also external candidates

    Hi Experts Using portal as recruiter in e-recruiting I checked the option Talent Relationship Management in order to find out candidates from old job applications to detect new employees before any other expensive measures such as placing job adverti