Skip to Content
author's profile photo Former Member
Former Member

output type - Access sequence


I have created a output type for VF02 and my requirement is to restrict the output type to only certain company codes.

I have created a access sequence with table 502 and assigned this to the output type and also maintained the condition records.

But still I see that the output type is getting created for all company codes..Am i missing anything here.

Please let me know.



Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 13, 2011 at 10:18 AM

    What are the Feilds you have taken in Table 502?

    Is your Condition Record Company Code specific?

    I believe Company Code is not available in Feild Catalogue for Output Condition Tables...


    Jignesh Mehta

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello,

      Whatever you have done seems perfect.

      Hope you have assigned the Routine in Requirement column in Output Procedure.

      Regarding, why it is not working, you will have to work with ABAPer & debug the program execution to check the values passing.

      Hope this helps,


      JIgnesh Mehta

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2011 at 11:42 AM


    Your requirement is not possible with standerd functionality,go for a enhancement with the help of your ABAP consultant.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2011 at 12:42 PM


    If company code field is not available in condition table then search in OV24 T code from their you can take, it is called allowed field catalog.

    If that field is not available their also then check below document and ask your abaper to fallow this process below and add that field then you can see this field in OV24 and from that you can use this field to crate condition table

    In SAP condition records store the pricing values. These records are stored in condition tables. Condition tables name has three digits. From 1 to 500 are reserved by SAP name space and from 501 to 999 are given to customer space. In the actual database a persistent data base table is created with u201CAu201D prefixed to the table number .i.e. condition table 980 creates a table with name A980.

    During the condition table creation required fields can be selected. Only the fields present in the field catalogue are available for selection in the condition table. Fields present in the KOMG table can be added to the field catalogue. By default SAP does not add all the fields of KOMG to field catalogue. KOMG table is a union of KOMP, KOMK tables. KOMK table contains the header information of the document (Sales order or Billing), KOMP contains item level information of the document (Sales order / Billing). New fields can be added to the KOMP, KOMK structures. To add the new fields to these structures, an append structure should not be created. To add a field to KOMP structure, field should be added to KOMPAZ structure, which is an include in KOMP structure. Similarly fields should be added to KOMKAZ structure.

    If it is required to create a condition table with a custom field the following steps should be followed.

    A.Add the field in KOMKAZ or KOMPAZ structure. If the field is at the header level, add the field to KOMKAZ, and if the field is at the item level add to KOMPAZ structure. This step should be done SE11 transaction.

    B.Activate the structure.

    C.Add the new field to field catalog.

    D.Create the condition table.

    Adding the field to field catalog and condition table creation can be done VOK0 transaction.

    At run time the custom field should be filled with the appropriate value. To to this the following user exits should be used.



    Below is an example to add sales representative , who is a partner at item level to KOMP structure.

    1. Go to Se11, and add the field WWSR1.

    2. Open the program RV60AFZZ using SE38 transaction.

    3. Add the field to field catalog. To do this go to VOK0 transaction. Then environment ? condition table ? field catalog.

    4. Create the condition table. To do this goto VOK0 transaction. Goto environment-> condition table create. Enter the condition table number 980 .

    Once the condition table is created, this table can be used in the access sequence. Access sequence is assigned to the condition type. Condition type is inserted in the required pricing procedure. Condition records can be created in VK11 transaction. All the condition records are created with reference to the condition type. As the condition type is linked to access sequence, and access sequence to condition table, system displays all the condition table assigned to access sequence , in the initial screen. User should select one table, and enter condition records.

    for more detail check

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.