Creating INCLUDE, just like REPORT prog.?

Hi Experts,
One simple question, pls. clarify ma that,
In the process of VA01-Sales Order creation, I need to do not allow to create/save that doc. if PO#, MATNR, Batch r already existing in DB! in this case, I need to write logic in SAPMV45A, I found the corresponding User exit, so, I wanna insert my code as INCLUDE my_prog_code.
So, to write INCLUDE, Is it just like Report prog.? like, SE38>my_name>create--->Type->INCLDE selection?
Or any other things I hv to consider, to write a INCLUDE?
thanq

That is correct way to create an INCLUDE program. Just make sure that you correctly call the routines in the user exit and give reference of this program.
Here is a pseudo logic.
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
perform validate_DATA(<your include program name>).
ENDFORM.
Your code for routine VALIDATE_DATA will be placed in the include program.
Message was edited by:
        Ashish Gundawar

Similar Messages

  • How to create a form like report

    Hi all,
    I am using Oracle 11g release 1.
    I want to create a form like report.
    for example: first row have 4 items (4 columns).
    second row have 5 items,
    third row have 7 items.
    is there any way to do that?
    Thanks.

    Not sure I understand what you want, but I set up a page with 2 items on one row, 3 on the next. http://apex.oracle.com/pls/apex/f?p=23834:30 is that the sorta thing you want to do? - control where the items appear?
    If so - you can just use drag and drop layout, or on the items settings (Displayed settings), specify whether or not it appears on a new line or not.
    Ta,
    Trent

  • How can you create subtitles just like in movies?

    Hi, I recently purchased Final Cut Pro X and I was wondering how to create subtitles just like in movies. Thanks

    Does FCP X support subtitles like you see in Blu-ray or DVD?  I.e. subtitles for the narrative?
    I know you can put titles but subtitles would be something that needs to keep "changing".

  • How to create a matrix like report with description column

    Hi,
    currently i have two tables - one describing a job and another describing the stock. it is a simple relation where a job uses stock.
    i join job and stock using stock_code. there are three categories of stock - namely envelope, insert, stationary.
    i wish to create a cross tab report - basically i would like it to look like
    jobname, envelope, stationary, insert
    abc, e1, s1, i1
    , ,s2,i2
    def, e2,s3,i4
    , e3, , i5
    basically for each job i would like to place the stock code under envelope, stationary, or insert based on what type of stock it is. i can do this in sql, however, i get left with blank spaces.
    i do this by
    select     
    "FILE_PARAMETER"."FILE_NAME" as "FILE_NAME",
    "CATEGORY",
    "STOCK"."STOCK_CODE" as "STOCK_CODE",
    decode(upper("CATEGORY"), 'LASER', "STOCK_CODE", '') "LASER",
    decode(upper("CATEGORY"), 'ENVELOPE', "STOCK_CODE", '') "ENVELOPE",
    decode(upper("CATEGORY"), 'INSERT', "STOCK_CODE", '') "INSERT",
    decode(upper("CATEGORY"), 'INSERT',"STOCK"."DESCRIPTION",'') "DESCRIPTION"
    from
    "FILE_PARAMETER" "FILE_PARAMETER",
    "JOB_OVERVIEW" "JOB_OVERVIEW",
    "STOCK" "STOCK"
    where
    "FILE_PARAMETER"."FILE_NAME"="JOB_OVERVIEW"."AP_JOB_CODE"
    and "FILE_PARAMETER"."SCODE"="STOCK"."STOCK_CODE"
    ORDER BY "FILE_PARAMETER"."FILE_NAME", "CATEGORY"
    unfortunately this doesn't give me exactly the output i want. i would like it to show the first piece of stock in each category on the first line, and each subsequent stock on the line after that for each job group. my solution at the moment will put the stock in the corresponding stock category column but i have been unable to find a solution to removing the blank space.
    i have created the matrix report in developer and it can do what i want, however, it will not show the description for insert only. the way i have grouped it, it wants to show it all, and being a reports newbie i have no idea how to fix that
    any solutions would be very much appreciated!

    This feature is supported in MS Access and known as CROSSTAB through TRANSFORM function.
    In Oracle this exists but not in a elegant way as in MS.
    You have addition function GROUP BY ROLLUP and CUBE and GROUP BY GROUPING SETS, available in 10g, which can help you.
    Look in manuals and play with it!

  • I would like to create something just like this

    http://www.thirdmenson.com/3dstore/index.php/AE-Projects/Realistic-Text-on-Fire/shop.flypa ge_ae.html
    I have tried to contact the creator of these letters to no avail. As best as I can tell they have not been involved with the project for a long time so it may be a moot point.
    Given that, I would really like it if someone can give me some pointers of other very similar projects or guidance on where to start.
    Thanks, Mike

    http://tutorials.forgingfire.com/2009/02/forging-fire-after-effects-tutorial/
    Here is something that is somewhat similar. AETUTS+ is a great place for After Effects tutorials: http://ae.tutsplus.com/
    From what I saw you can download all 26 fire letters for 30.00 from the vendor site: http://www.thirdmenson.com/3dstore/index.php/AE-Projects/Realistic-Text-on-Fire/shop.flypa ge_ae.html
    I hope this helps! : )

  • Tree like report

    I have a view which returns holding data in a parent-child hierarchy.
    holding
    instrument_id
    parent_instrument id
    level
    I looked at creating hierarchy and go through “Connect By” example from the Admin manual, but it seems like I already have parent/child structure returned from my DB View.
    How can I create a tree like report? Is it possible?
    Deepak

    Hi,
    If you have the tree level in your report you can create a tree like report by using the LPAD function to add spaces in front of your data. eg.
    LPAD('   ', '   ', (level-1)*3)||instrument_idHope that helps,
    Rod West

  • Report to Form (in Update mode), update, "Close" back to report (just like QBE).

    Alright, I have been through the entire board and found bit and pieces here and there on how to do this, but I am not satisfied with the results. Answers to these questions will dictate whether we use this product or not.
    1) The QBE solution is great for the above EXCEPT I am unable (it seems) to make updates to the form portion of the Report/Form combination. I need to be able to lock off certain fields and disallow certain functions. Other's have asked whether this can be done. No answers issued forth.
    Is there some way short of hacking into the PL/SQL code of updating the form on a wizard created QBE?
    2) I was able to create my own report, link (via link object) to a custom form (update the form as I needed). Now I would like my users not to have to hit the query button (which is absurd in this case because they already have the proper record displayed). So I need to open the form in "update" mode. I have seen some different approaches to this on the board, and all kinds of code, but is there a simple way to do this (preferably from the tool, not hacking code)?
    I see the code in the various posting (including the FAQ), the question is where I put in in the context of my link from report to form (if it is in the native pl/sql, this is not an answer because we will not go that route; having code blown away by the tool and have to be reentered. It goes in in the context of the tool or we don't use the tool).
    Also, is there a way to utilize the "close" button from the QBE that so nicely takes you back to the report and does a refresh?
    This is the simplest app I could dream up to test this product and it looks like it falls short.
    In summation:
    1) Generate a report. (yes)
    2) Link to form (yes)
    2a) Link direct to record (no query click) (no, without hacking)
    3) update the form (yes, if after query click)
    4) Jump back to report at spot where you left, do automatic refresh (just like QBE) (No, without hacking)
    Again, this is the simplest and most common of apps, I cannot understand why it would be so hard to accomplish. What am I missing? Anybody on the board, please advise.
    null

    If your report is created using ‘Reports From SQL Query’ then you can modify it using the following to achieve this:
    1. Remove the link from ‘Column Formatting’ section of the report object.
    2. In the SQL of the report , use custom link to the column where you want to provide link using the syntax
    select a.empno,’‘||a.ename||’‘ ename_link,a.deptno
    from scott.emp a
    Order by a.empno
    and the form will always open in ‘INSERT’ mode with passed values filled in.
    Thanks
    Krishnamurthy

  • Creating j2me GUI s just like j2se in Netbeans

    I am a j2se programmer. I know nothing about j2me. Can we design GUIs for mobile apps just like we do in j2se application? I saw one option in netbeans visual midb(forget it) to design GUI. but i couldnt create effectively as i do in j2se.
    can anyone explain how to create GUI in netbeans for mobile app?

    Yes, you are right.
    From the time I posted my question I tried to make a similar GUI in NetBeans and I noticed that NetBeans included the following code for the GUI:
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(UpToolbar, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
                .addGroup(layout.createSequentialGroup()
                    .addGap(10, 10, 10)
                    .addComponent(tabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(UpToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(tabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)
                    .addContainerGap())
            pack();I just adapted the code to my initial project and it works much more better.
    Still the icon pics look very poor, like I am using a 800x600 resolution. They look so old...And the fonts used for the menus are bolded...
    I will look on the forum for a way to make the GUI use some normal fonts.
    Thank you, camickr , for your response ;)

  • How to batch compile Oracle Reports ?(just like the code for compiling forms)

    The following is for Batch compiling forms..
    IF %1=="" GOTO END
    DEL *.FMX
    FOR %%F IN (*.FMB) DO START /W Ifcmp60 USERID=%1 BATCH=Y MODULE=%
    %F
    :END
    Any idea for compiling all reports using a technique just like
    this..

    User dbms_ldap package in the database to use PL SQL to create your database
    account and then an OID account with a RAD to match the database login. If you
    You may have to load the DBMS_Ldap package from the database ADMIN directory first to be available in the database.
    LDAP SQL Ex.
    user_username := LOWER(new_user) || '@domain.com'; -
    retval := dbms_ldap.search_s(my_session, ldap_base,
    dbms_ldap.scope_subtree, 'uid=' || user_username, my_attrs, 0,
    my_message);
    retval := dbms_ldap.count_entries(my_session, my_message);
    my_entry := dbms_ldap.first_entry(my_session,my_message);
    my_dn := dbms_ldap.get_dn(my_session,my_entry);
    dbpassword := 'PASSWD01';
    isvalidrad := forms_rad.newraddefinition(radname,new_user,dbpassword,
    dbtnsnames,errormessage);
    sessionestablished := forms_rad.createoidsession(ldap_user, ldap_passwd,
    ldap_host, ldap_port, ldap_base);
    radcreated := forms_rad.createradforcn(my_dn, 'false', errormessage);
    -- Create new user's database account same as RAD account.
    v_sql := 'CREATE USER "' || new_user || '" IDENTIFIED BY ' || dbpassword ||
    ' DEFAULT TABLESPACE JLIM TEMPORARY TABLESPACE TEMP';
    EXECUTE IMMEDIATE v_sql;
    v_sql := 'GRANT CONNECT TO ' || new_user;
    EXECUTE IMMEDIATE v_sql;

  • How to create more than one window for a vi that can be acces anytime...just like using the creating new window in internet explorer

    hello guys,
    I want to create a vi such dat when I press a button on the frontpanel of the vi it opens the same vi in another window..and I should be able to work on this new window also able to work on the previous window without closing it...Just like opening a new window when using the internet explorer....
    I try to make my vi a reetrant vi but when I click the new window button on my vi..a new clone windows open up that I can control but the previous windows is not accessible not I close the current window...I want a way that I can acces both vi window and d operation of one will not affect the other like when the indicators are updating in one window the other window will not update...
    Thank you...
    Solved!
    Go to Solution.

    The picture attached shows what i want to achieve as a vi or executable...The new window button opens a clone of the vi, but the previous window can not be operated on until i close the clone window...i want to be able to work on both window at any time without closing one of them....The vi was design in labview 2010
    Attachments:
    ni.jpg ‏66 KB
    window vi.vi ‏8 KB

  • Create subscriptions for Powerview reports like SSRS reports in SharePoint 2010

    Hi,
    I have created the power view reports in SharePoint 2010 and now I want to create an email subscription for Powerview reports like SSRS reports in SharePoint 2010. Is it possible? If not, is there any workaround?
    Thanks,
    Suresh.

    Hi Suresh: 
    Unfortunately, you can't setup subscriptions in PowerView like you can on SSRS. I would suggest you to open up a connect item here and request for this feature - http://connect.microsoft.com/SQLServer
    Hope this helps.
    Faisal Muhammed My Blog

  • Creating an Internet Shortcut to the desktop just like Internet Explorer.

    Hi!
    I am running FF24 and would like to create a shortcut of a website to the desktop just like Internet Explorer. I have read a solution that has me resizing FF and feel that it is clumsy and unproductive.
    Does anyone know of an Add-On to this great feature in IE?
    Not only for Windows XP but for 7 & 8, as well.
    Surprised that the smarties at Mozilla did not put any thought into this.
    TIA :)

    Hi jscher2000,
    Thanks for your timely response!
    I installed and configured it, double checked settings, but it does not create anything on the desktop in XP. Very strange.
    Any suggestions welcome.
    Cheers,
    Compumind :)

  • BAPI/FM to create idoc based from another(Just like WE19)...

    Hello Experts,
    Are there any BAPI to create a new idoc based on an existing one just like the functionality of WE19?
    Thank you guys!

    But looks like this function module is opening CO07 in SAPGUI...i actually need to call the function module from web application and create the add-on order. Please advise.
    Besides..i can pass the KTEXT value during the function module call itself right? can you pls tell me the reason why i need to force this in the enhancement spot?
    Regards,
    Kumar.
    Edited by: Kumar Kasavaraju on Aug 28, 2009 11:02 PM

  • This is just to report a problem with Apple updates. I updated recently and the computer brought up my 2012 desktop with all my 2014 files and data including stickies missing! Now I hesitate to do another Apple update. What would you do?

    Apple Updates: This is just to report a problem. I updated recently and on restart the computer restored up my 2012 desktop with all my 2014 files and data including stickies missing!!! Now I hesitate to do another Apple update. What would you do?

    If all your files are missing
    You may have logged in as a different user, such as Guest. Open the Users & Groups pane in System Preferences. Your name should be at the top of the user list, under Current User. See also this support article.   
    If files are missing from one folder
    Change the Finder view mode; for example, from icon view to list view, or vice versa.
    If files are present, but seem outdated
    You may have started up from a different volume (disk.) Open the Startup Disk preference pane and check the selection.

  • CS6. I cant duplicate lighting effects using an alt key, just like in CS3. I dont want a new light i want to duplicata an existing one that i created.

    CS6. I cant duplicate lighting effects using an alt key, just like in CS3. I dont want a new light i want to duplicata an existing one that i created.
    Nie mogę duplikować zaprogramowanego efektu świetlnego za pomocą altu tak jak w poprzednich wersjach.

    http://java.sun.com/j2se/1.4.1/docs/api/java/io/FileOutputStream.html#FileOutputStream(java.io.File, boolean)
    Kind regards,
    Levi

Maybe you are looking for

  • How can I find out the age of my imac

    How can I find out the age of my computer to see if it will be able to download latest operating system

  • Can workflows be triggered by Web Service updates?

    Hi, From our testing it appears that the workflows are not triggered by updates via the web services. In particular we have a workflows as follows: Workflow Name: Opportunity Contact Role Delete Record Type: Opportunity Contact Role Trigger Event: Wh

  • Payment block in FB60-header level

    Hi, I am having trouble posting AP transactions and blocking them for payment when posting them at FB60. I blocked the transaction (at the header level) before the system generates a document number but when I look in vendor line open items the block

  • Payment release required; payment block set automatically Message no. F5707

    Hello Friends, I am trying to post vendor down payment with T.CODE F-48 but is am getting this Error " Payment release required; payment block set automatically, Message no. F5707" Will any budy please make me clear with this issue .... Have a nice d

  • Pages panel opens whenever I open a PDF

    Acrobat Version 8 Pro. This seems to have started a few weeks ago. Whenever I open a PDF, the Pages Panel opens and takes up 1/2 the page. (I do not want to see the Pages Panel until I need/select it). I have verified that the File_Document Propertie