Custom Tcode for VF01

Hi,
My requirement is to create a new tcode(ZVF01) for VF01.
In the new tcode, User should able to process/create ONLY billing document.  All other fields like billing type and billing date should be disabled.
So user will give only billing document.
This can be done through SHD0.
But after giving the document, when user hit enter, it should go to next screen "Create Item". In this screen also, all the fields should be display mode(non-editable).
In SHD0, how can we set the next screen settings?

>
Ezhilhrh wrote:
> Hi,
>
> My requirement is to create a new tcode(ZVF01) for VF01.
>
> In the new tcode, User should able to process/create ONLY billing document.  All other fields like billing type and billing date should be disabled.
>
> So user will give only billing document.
>
> This can be done through SHD0.
>
> But after giving the document, when user hit enter, it should go to next screen "Create Item". In this screen also, all the fields should be display mode(non-editable).
>
> In SHD0, how can we set the next screen settings?
I think, you have answered your questions.
You can do SHD0 .
I would preffer SHD0 and use user exits to default the dates and billing type. Create a ZVF01 is a mess..... I wouldnt do that but if i have to i will....

Similar Messages

  • Create a custom tcode for VF01

    Hi,
    My user requirement is 
    Need to create a new transaction (for example ZVF01) that will allow a user to create an invoice without being able to change or add any data.  The same validations on preceding documents should be the same as for the standard invoice creation with VF01, and the data in the invoice should be determined as per existing processes.
    So i can create the zvf01 using transaction variant. But what are all functions should i disable? My user is not clear with this.
    So for creation of invoice without being able to change or add any data, which buttons should i disable in the vf01 screen?
    Ezhil

    Hi,
    I would echo the earlier comments however it sounds like you can probably do what you want to do using transaction variants/creating a variant transaction:
    http://help.sap.com/saphelp_nw04s/helpdata/EN/7d/f639fb015111d396480000e82de14a/frameset.htm
    Take a look at transaction SHD0.
    Regards, David

  • Custom TCode for Excel File Upload/Import - WebGUI Error

    We get an ABAP runtime error when uploading an excel file with a custom tcode using WebGUI.  It works ok with WinGUI.  Any ideas what could be causing that error?
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          01/05/2011 17:27:16
    Short text
         Exception condition "JAVABEANNOTSUPPORTED" raised.
    What happened?
         The current ABAP/4 program encountered an unexpected
         situation.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         A RAISE statement in the program "C_OI_CONTAINER_CONTROL_CREATORCP" raised the
          exception
         condition "JAVABEANNOTSUPPORTED".
         Since the exception was not intercepted by a superior
         program, processing was terminated.

    You can use the below code. One more thing while running make sure there is no unsaved excel sheet open in your system.
    FORM sub_create_container .
    Create Instance control for container
      CALL METHOD c_oi_container_control_creator=>get_container_control
        IMPORTING
          control = iref_control
          error   = iref_error.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    Create generic container linked to container in screen 100
      CREATE OBJECT oref_container
        EXPORTING
          container_name              = 'CONT'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'Error while creating container'(012).
      ENDIF.
    Establish connection to GUI Control
      CALL METHOD iref_control->init_control
        EXPORTING
          inplace_enabled      = c_check
          r3_application_name  = 'EXCEL CONTAINER'
          parent               = oref_container
        IMPORTING
          error                = iref_error
        EXCEPTIONS
          javabeannotsupported = 1
          OTHERS               = 2.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    Create Document Proxy
      CALL METHOD iref_control->get_document_proxy
        EXPORTING
          document_type  = soi_doctype_excel_sheet
        IMPORTING
          document_proxy = iref_document
          error          = iref_error.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    ENDFORM.                    " SUB_CREATE_CONTAINER
    FORM sub_create_document  USING    p_sheet TYPE i.
      DATA:  l_title   TYPE char40,
              l_char    TYPE char2,
              l_time    TYPE i,
              l_sheet   TYPE char12.
    Calculate the number of sheets to be created
      l_time = p_sheet - 1.
      CONCATENATE 'Assembly Table'(015) v_char INTO l_title
      SEPARATED BY space.
    Create document
      CALL METHOD iref_document->create_document                 " Open use Open_document method
        EXPORTING
          open_inplace   = c_check
          document_title = l_title
          no_flush       = c_check
        IMPORTING
          error          = iref_error.
    Open Spreadsheet interface
      CALL METHOD iref_document->get_spreadsheet_interface
        EXPORTING
          no_flush        = c_check
        IMPORTING
          sheet_interface = iref_spreadsheet
          error           = iref_error.
    Get number of sheets
      CALL METHOD iref_spreadsheet->get_sheets
        EXPORTING
          no_flush = c_check
        IMPORTING
          sheets   = i_sheets
          error    = iref_error.
    Reaname he sheet
      READ TABLE i_sheets INTO wa_sheets INDEX 1.
      l_char = p_sheet.
      CONCATENATE 'Sheet' l_char INTO l_sheet.
      CALL METHOD iref_spreadsheet->set_sheet_name
        EXPORTING
          newname  = l_sheet
          oldname  = wa_sheets-sheet_name
          no_flush = c_check
        IMPORTING
          error    = iref_error.
      REFRESH i_sheets.
      CLEAR: l_char,
             l_sheet.
    Add sheets
      DO l_time TIMES.
        l_char = sy-index.
        l_char = p_sheet - l_char.
        CONCATENATE 'Sheet' l_char INTO l_sheet.
        CALL METHOD iref_spreadsheet->add_sheet
          EXPORTING
            name     = l_sheet
            no_flush = c_check
          IMPORTING
            error    = iref_error.
      ENDDO.
    Get number of sheets
      CALL METHOD iref_spreadsheet->get_sheets
        EXPORTING
          no_flush = c_check
        IMPORTING
          sheets   = i_sheets
          error    = iref_error.
      SORT i_sheets BY sheet_name DESCENDING.
    ENDFORM.                    " SUB_CREATE_DOCUMENT
    FORM sub_save_document .
      DATA: l_changed     TYPE int4.
    Save the document
      CALL METHOD iref_document->save_as
        EXPORTING
          file_name = p_file
          no_flush  = c_check
        IMPORTING
          error     = iref_error.
    Close the document
      CALL METHOD iref_document->close_document
        EXPORTING
          do_save     = c_check
          no_flush    = ''
        IMPORTING
          has_changed = l_changed
          error       = iref_error.
    ENDFORM.                    " SUB_SAVE_DOCUMENT
    Thanks
    Subhankar

  • Create custom tcode for iw32

    Hi,
    I need to copy the standard tcode and remove all the tabs inside that and need top add some additional screens.
    I tried by copying the standard program SAPLCOIH. It asked to copy function group and function modules and gave me the copied program name as SAPLZCOIH. where ZCOIH is the copied function group.
    I also tried copyinf tcode IW32 from se93, but it is saying tcode not found in table.
    Here i am unable to assign a tcode for this , as this is function pool.
    I would appreciate, if any one can give me more detailed path to solve this.

    Using SHD0 you could set default value to any transaction for executing first time.
    You could not make major modification to screen structure.
    Regards,
    Amit R.

  • Customer Exit for VF01 at Saving of Document

    Hi friends,
    I need a customer exit which will execute just after saving the Billing document number in T-code VF01 and have the data of VBRK and VBRP tables. I am having a list of Exits but which exit should I use, I am not confident.
    The list is as follow.
    Enhancement
    J_3RSINV
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    Business Add-in
    VOR_WA_FAKTURA                          Billing before Goods Issue
    SD_CIN_LV60AU02                         BADI for billing
    Please suggest any suitable way for the solution.
    Thanks in advance.
    Krishan

    hi ,
    keeep break point like break <username> in exit and check ur transaction.
    u will get the exit that is triggered during saving of transaction.
    reward points if hlpful.

  • How to create transaction or screen variant for custom tcode in module pool

    Hi,
              I have one module pool program with custome tcode ,i want to create transaction or screen variant for this tcode.Next time when we run this tcode we need a variant for this tcode.
    I tried by using of SHD0 but it is working only for standred tcodes.Is there any possibilty please help me.
    thanks,
    Lavanya.

    Hi,
    you created a Custom Tcode for ur module pool Pgm..if u execute the Tcode in the output screen give the input details and press Save Option then variant will be created. Then you can use that variant.
    otherwise.. while creating a Tcode..
    select an option for Tcode type Tranasction With variant ..there u will provide the variant for ur Tcode ( which is already created ).
    Regards,
    PraVeen.

  • Creating Tcode for Custom Table

    Hi all,
              I have created a custom table ZSALESMANAGER, I have created a Maintenance view for this table ZSALESMANAGER_MV. I have to create a custom Tcode for this maintenance. so that when the i enter this tcode i should get the maintenance view scree of the table.
             Please help me, how to do this.
    Thanks & Regards,
    Poorna.

    please  go throught   below link ..... it was  given with  screen  shots  of the   T.code   Creating  for the   table after the   maintaince  view   had been created ......
    <a href="http://">http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm</a>
    <a href="http://">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc</a>
    reward points  if it  is  usefull ...
    Girish

  • Creation of custom Transaction for confirm goods in SRM

    Hi Experts
    i need to create a custom transaction same as standard one  for confirm goods/servics in SRM portal.
    In sap GUI, the transaction is BBPCF03
    Can you please suggest any good sources where i can learn to Custome Tcodes for my requirement
    Thanks in advance
    Edited by: kittu reddy on Nov 19, 2008 7:27 AM

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

  • F-53 and F-28, Customized columns for cash discount and %

    Hi Expert,
    With reference to the subject of: Customized columns for cash discount and % ...
    I faced the problem of not able to set / defined hidden column for cash discount and % by creating a new variant.
    Steps:
    Create a variant
    Click <administrator> button ... mark the columns hidden, and click <activate> button
    Then click <Save> button
    Problem: Every time I using the F-53/F-28, the layout is not working, and when goto check the variant settings, the cash discount and % columns remained unchecked.
    SAP version: 4.6
    Kindly advise.
    Thanks and regards,
    sbmel

    Hi JP,
    It is not working using field status group, as I am using F-53 and F-28 and not FB50/60/70.
    The purpose I want to create variant for screen after clicking <process open item> is to control column display (hide cash discount and %).  if the variant is working, I can create a customized Tcode for the F-53 and F-28.
    Now problem is that variant seem not working.
    Thanks and regards,
    sbmel

  • Tcode for Hierarchy maintenance

    Hi experts,
    My finally user has needed a custom tcode for Hierarchy maintenance.
    This tcode will be usefull to open a specific Hierarchy directly, without pass to RSA1 tcode.
    Another solution could also go well, but user will has to necessarily see only the maintenance screen of his hierarchy.
    Any idea please?
    thanks for your tips.

    Hi Claudia,
    Tcode RSHIER  is used for Hierarchy maintenance w/o AdmWB  which uses Progarm   RSHIERARCHY .
    Surly it will help to  you.
    Thanks
    Abha

  • Tcode for customer deletion

    Hi,
    What is the Tcode for customer deletion and what is the process, like VD01 for create customer and VD02 for update customer.
    What is the Icon we use for update like ICON_DELETE for deletion.
    Thanks,
    Veni.

    Hi,
    You can mark a customer for Deletion and not physically delete it from the database for business continuity purposes.
    Go to VD02 and enter the customer you want to delete.
    Then Click on Extras->Deletion Flags.
    Then it will take you to a screen with various options for Deletion.
    Select the option Deletion Flags->All Areas to delete all data.
    I hope this reply helps.
    Thanks,
    Priyabrata Samanta
    Edited by: Priyabrata Samanta on Jan 25, 2008 4:27 AM

  • Why still check S_TCODE "SE16" for customizing tcode (only in ECC)

    I want to limit the access for SE16. So i need to create customizing tocde that allow user to access the specific table by SE16; I try to create this tcode in SE93;
    When this tcode assign to role and add the additional necessary auth obj. S_TABU_DIS, put the value for AuthGrp with *, Actvt = 03; When i do the testing, the system still check S_TCODE "SE16". means testing id also need authorization "SE16". If this T-code assign to testing user, then i cant limit the access for SE16;
    I also have do the testing in CRM and use the same way to create the customizing tcode. In CRM system, no need S_TCODE "SE16", only assign customizing tcode & S_TABU_DIS to testing user, is ok, this customizing tcode can be used by tester directly;

    Hello,
    create a parameter transaction in SE93. An example is the already existing parameter transaction SE16_MARA. You can specify the table in the parameters of the transaction.
    You will still need S_TABU_DIS. To enter the * isn't a good idea. The better way is to get the correct table dictionary class for the table you have assigned to the parameter transaction. Get the class in transaction SE54 (there you can also specify one, if no class is assigned yet) or from table TDDAT.
    If you have a class and a parameter transaction you should join them in SU24. Add object S_TABU_DIS to your transaction and specify activity and class for S_TABU_DIS. Then these values will be added to the role, if you add the transaction in the menu.
    regards
    Rainer

  • Regarding LSMW Recording for Custom TCodes

    Hi Experts,
    Can we do the recording in LSMW for Custom TCodes.Actually I have created a table(fields with data elements,provided technical settings) through LSMW Batch Input Method Recording.When I specify the file in 7th step it goes to dump.Could you please help me how to do this problem?

    Yes LSMW recording can be used for Custom TCodes, that is actually the main purpose for the recording option.
    Why you get a dump can only be determined by reading the dump. Usually this info is among the first 7 pages .

  • How to find custom Tcodes,programs and enhancement.. for a specific country

    hi...
    Is there any way in ABAP to find the Custom Tcodes, programs and enhancements only for specific country in our present system.

    Hi Srujan,
    Use the table name TSTC to find the custom program and t-code.
    To find the custom enhancement use t-code : CMOD.
    Regards
    Dev

  • Tcode for customer infotype in hr

    Dear friends
    other than PM01 , ther is one more tcode for creating customer infotype ..
    can any1 tel me th tcode & also wat makes th exact diff bet th tcodes ..
    thnk u
    sakthi

    Hi sakthi
    PM01 is used to create, extend or modify the PA infotypes. (i.e. The inoftypes which starts from 0000 to 0999 and 2000 to 2999).
    PPCJ  is used to create PD/OM infotypes. (i.e. The infotypes which starts from 1000 to 1999).
    Regards
    Ranganath

Maybe you are looking for

  • Static PAT entry blocking Branch site from accessing resource on same port. How to get around this?

    Hello, I have a UC560 and UC540 connected using an IPSec Site to Site tunnel. There is a server on the main site they are trying to access (lets say IP is 192.168.1.252) and they need to access this server on ports 13000, 14000, and 15000. Unfortunat

  • Lossless format conversion question

    Considering that my local computer has a lot of space, and I want my permanent archive of music to be in a lossless format; and considering that I have considerably less space on the iPod, I was wondering why I can't seem to find a way to make iTunes

  • Please explain this to me?

    Ok, so i have had numerous faults on my line since i moved into my house 21st March 2011, due to these my services that i have subscribed to havent worked properly. Yesterday the engineer called out so thats almost 2 weeks without these services and

  • Renaming and CVS

    Hi, I've just renamed an entity object. Jdeveloper renamed the java files for me. I work with CVS. How do I tell CVS to remove the old file and add the new file after a rename? (I can do it manually ofcourse with the CVS command line, but I'd like to

  • BEx Universes and BW Accelerator

    Hi I'm told that BEx query based universes can use the BW Accelerator.  But I'm not getting great performance from my reports though, so do the universes have to be based on v3.5 or v7 BEx queries for BWA to work, or is there some configuration to do