Validate/madatory  in order to avoid  long time for the program execution.

Below is my selction screen.  I would like to do validations for specific fields to make them mandatory fields   as well.
Could you please suggeste me what are the fields that I can validate/madatory  in order to avoid  long time  for the program  run.
*Program selections
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
SELECT-OPTIONS : o_as4loc   FOR v_as4local,
                 o_ddlang   FOR ddlanguage,
                 o_vkorg    FOR vkorg     MEMORY ID vko,
                 o_auart    FOR auart              MEMORY     ID aat,
                 o_fdnam    FOR fdnam,
                 o_spart    FOR spart   MEMORY ID spa,
                 o_vbeln    FOR vbeln            MEMORY ID aun,
                 o_posnr    FOR posnr,
                 o_matnr    FOR matnr            MEMORY ID mat,
                 o_pltyp    FOR pltyp            MEMORY ID vpl,
                 o_j_3ar    FOR j_3arqda,
                 o_kzr00    FOR kbetr,                       " -ZR00
                 o_kalsm    FOR kalsmasd,
                 o_kmwst    FOR kbetr,                       " -MWST
                 o_kbmen    FOR kbmeng,
                 o_land1    FOR land1            MEMORY ID LND
SELECTION-SCREEN  : END OF BLOCK b1.
Thanks in advance.

Hi,
Make key fields as well as fields on which there in an index in the database table mandatory.
Regards,
Abhijit G. Borkar

Similar Messages

  • I have updated my ipod touch but i have to update iphone and ipad 1 and ipad2 . How can I save the udated software in order to avoid teh time for downloading it again each time

    I have updated my ipod touch but i have to update iphone and ipad 1 and ipad2 . How can I save the udated software in order to avoid teh time for downloading it again each time

    Even though the downloads are for the same iOS version number, they are different downloads and you can't use an iPod iOS update to update an iPhone or iPad etc. The iPad 1 and iPad 2 are also different downloads. So you will need to download different updates for your iPod Touch, iPhone, iPad 1 and the iPad 2.

  • My folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    my folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    Don't know if that would be a failing hard drive, but it may be that you are out of available space. How much hard drive space do you have available? Please highlight the Macintosh HD icon and then press Command and I for a get info window. Once open, please copy and post the following:
    Capacity:
    Used:
    Available:
    Mac OS requires a minimum of 10 - 15% of total hard drive space available and empty at all times in order to operate properly.

  • Hyperion System 9.3.1 reports taking longer time for the very first time

    We are on Hyperion System 9.3.1. The Financial reports are taking longer time (like 2 to 3 minuter) for the very first time for each login. The subsequest reports are does work faster.
    The behaviour is same for the Production and Development environments.
    All the reporting services have given enough JVM heap size.
    FYI, Reporting and Workspace runngin on the same server. Workspace/Reporting are clusted in two servers. HFM app is running on different server. HFM web is on different server. Shared Services is also on running on different server.
    Any help would be greately appreciated.
    Thanks.

    The reason they run quicker the subsequent times, is because the data has already been cached in the system.
    You could try the usual tricks to speed the report up:
    - move items into POV
    - have children and parent in the same row
    - arrange dimensions in inverse outline order
    - remove excessive formatting
    - push report calculations back to the data source
    We have found that using lots of dynamically calculated members also slows down reports, so try and limit the number of these.
    Hope this helps. If not maybe give us an idea of how the report is created to see if other changes could be made.

  • Long time for the replication tables in Hana

    Hi Gurus,
    We are replicating some tables in Hana these being Standard (AFPO) and Customer Table.
    We have two tables being already replicated to 3 days and not over yet.
    The replication takes so long?
    Thanks !
    In other words and in order to try to be clearer:
    we are replicating standard tables (AFPO, …) and one z-table in HANA, but this process is spending a long long time (more than 4 days and this process has not been finished yet). We are working at QAS. Is this duration correct? What can we do to improve it? We appreciate if you have any suggestions like portitioning scheme/parallel loads.
    Standard tables: around 1.000.000
    Z-Table: around 1000 ecords
    Thanks in advance. Regards. 

    Hi Gurus,
    We are replicating some tables in Hana these being Standard (AFPO) and Customer Table.
    We have two tables being already replicated to 3 days and not over yet.
    The replication takes so long?
    Thanks !
    In other words and in order to try to be clearer:
    we are replicating standard tables (AFPO, …) and one z-table in HANA, but this process is spending a long long time (more than 4 days and this process has not been finished yet). We are working at QAS. Is this duration correct? What can we do to improve it? We appreciate if you have any suggestions like portitioning scheme/parallel loads.
    Standard tables: around 1.000.000
    Z-Table: around 1000 ecords
    Thanks in advance. Regards. 

  • Takes a long time for the status of the dshboard to go from unknown to display the information

    been trouble shooting a issue with this server where its running fine for a few weeks then it will slow down shares will stop working or print services, eventually has to reboot it, a few times it wouldn't reboot and would just hang and had to be hard shut
    down.
    ran through diagnostics with Dell and Dset tool they didn't see anything wrong, we updated a few things and did the offline diag from the boot up and found a RAM issue, we pulled the ram out blew out the slots plugged it back in and everything has been fine.
    but seems like there is some of the issues creeping back in, Dell says its not hardware so looking at OS issues
    its a 2012 std server Power edge R520 Xeon E5-2420 with 32 gigs of ram, its a file server print server AD, only server for this construction company of about 20 users.
    when ever I load up the server manager it shows for about 5 min or longer unknown for everything, after 5-10 min some things fill in till its full, also the Volume shadow copy service keeps stopping and flagging it red in the server manager. have run sfc
    and not really seeing what could be wrong, everything shows fine,
    have not had any complaints about speed or not being able to access the shares since we did the downtime and reset the ram in the slots but when I even try to get to something like updates from control panel it takes about 15 min or so for the application
    to load up, but other things are fast like normal, its somewhat selective.
    any ideas?
    thank you!
    Brandon Dillon

    Hi Brandon Dillon,
    On current situation, please logon the server and open Server Manager. Then navigate to BEST PRACTIES ANALYZER and start BPA Scan. Please monitor the result. Meanwhile, please check
    if find some events which may be related to this issue. Those may help us to go further analyze.
    In addition, please
    perform a clean boot on the server. Then open Server Manager and check if this issue still exists.
    If any update, please feel free to l tem know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Crystal report from MSC taking long time for the first time

    Hello Friends,
    I have a report designed in Crystal Reports to display the BP details. It is giving some performance issues. In the analysis it is found that it is taking long time immediately after i restart the machine. From the next time it is not that worse.
    If anybody is facing the same performance issue while using the crystal reports, kindly let me know the reasons for this. I would like to know the ways to increse the performance.
    Thanks for all your support.
    Best regards,
    Swarna Seeta

    Hello Swarna
    Reporting is quiet a heavy component which interacts with many other dlls.
    What happens when you say generate report from the mobile application for the first time, UI Framework knows that it is a reporting call and it will instantiate Reporting Manager. Reporting Manager is the single point of contact for the entire reporting functionality. During the initialization of reporting manager,
    it needs to instantiate all other working components like Error Hanlder, Data handler, Resoure component and crystal reports etc..Resource component is a COM component and so there will be lot of Marshallign/Unmanrshalling from Dotnet calls. Since all these sub components are singleton classes, initialized only once for the first time and reuse the same instance in the subsequent attempts.
    Hope I had made it bit clear
    Best Regards
    Shankar

  • Input help takes longer times for the planning var in Portal

    Hi Gurus,
    I had a planning report with planning function copy historic demand and some planning filters forecast analysis ID.When i'm executing the report in portal by providing the direct values to   forecast analysis ID,but when i press F4 button the screen keep on refreshing.
    Regards,
    rambabu

    Dear Rambabu
    Have you maintained the selection criteria for the infoobject as Posted values or from master data, it will depend on this how fast the selection retrieves
    Regards
    Gajesh

  • Takes a long time for Apple logo to show up on boot up

    My 13" mpb early 2011 takes a long time for the Apple logo to show up... Is there a way to fix this? (It should show up within 2 seconds after the initial chime)
    I have Win7 installed, could it be that? Since it might be detecting which partition to boot up with.

    Check login items ...
    Remove all items from System Preferences > Users & Groups > Login Items
    Same for HD > Library > StartupItems
    Then restart your Mac to test.
    Not necessarily a Windows issue.
    ***   When you post for help, please state which OS X is installed.
    If you aren't sure, click About this Mac from your Apple menu 
    Troubleshooting advice can depend on that information.

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • When will I receive my I phone 6 case which i ordered along with the Iphone6 ?As per the website it says october . How long is the wait time for the Iphone 6 case?

    When will I receive my I phone 6 case which i ordered along with the I phone 6 ?As per the website it says October. How long is the wait time for the I phone 6 case?

    While we have no idea within this Community Forum how long you would have to wait for your iPhone 6 Case, I can tell you that there would not be a "general" answer of value.  Like any product that is available in different materials and colors, the inventory varies based on what you have specifically ordered.  For example, I visited an Apple Store on the day after the iPhone 6 became available and was interested in the "Midnight Blue" Leather"  Apple iPhone 6 Case.  The store had plenty of all the other colors, but that specific case and color had sold out that morning. 

  • Query taking long time for EXTRACTING the data more than 24 hours

    Hi ,
    Query taking long time for EXTRACTING the data more than 24 hours please find the query and explain plan details below even indexes avilable on table's goe's to FULL TABLE SCAN. please suggest me.......
    SQL> explain plan for select a.account_id,round(a.account_balance,2) account_balance,
    2 nvl(ah.invoice_id,ah.adjustment_id) transaction_id,
    to_char(ah.effective_start_date,'DD-MON-YYYY') transaction_date,
    to_char(nvl(i.payment_due_date,
    to_date('30-12-9999','dd-mm-yyyy')),'DD-MON-YYYY')
    due_date, ah.current_balance-ah.previous_balance amount,
    decode(ah.invoice_id,null,'A','I') transaction_type
    3 4 5 6 7 8 from account a,account_history ah,invoice i_+
    where a.account_id=ah.account_id
    and a.account_type_id=1000002
    and round(a.account_balance,2) > 0
    and (ah.invoice_id is not null or ah.adjustment_id is not null)
    and ah.CURRENT_BALANCE > ah.previous_balance
    and ah.invoice_id=i.invoice_id(+)
    AND a.account_balance > 0
    order by a.account_id,ah.effective_start_date desc; 9 10 11 12 13 14 15 16
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 544K| 30M| | 693K (20)|
    | 1 | SORT ORDER BY | | 544K| 30M| 75M| 693K (20)|
    |* 2 | HASH JOIN | | 544K| 30M| | 689K (20)|
    |* 3 | TABLE ACCESS FULL | ACCOUNT | 20080 | 294K| | 6220 (18)|
    |* 4 | HASH JOIN OUTER | | 131M| 5532M| 5155M| 678K (20)|
    |* 5 | TABLE ACCESS FULL| ACCOUNT_HISTORY | 131M| 3646M| | 197K (25)|
    | 6 | TABLE ACCESS FULL| INVOICE | 262M| 3758M| | 306K (18)|
    Predicate Information (identified by operation id):
    2 - access("A"."ACCOUNT_ID"="AH"."ACCOUNT_ID")
    3 - filter("A"."ACCOUNT_TYPE_ID"=1000002 AND "A"."ACCOUNT_BALANCE">0 AND
    ROUND("A"."ACCOUNT_BALANCE",2)>0)
    4 - access("AH"."INVOICE_ID"="I"."INVOICE_ID"(+))
    5 - filter("AH"."CURRENT_BALANCE">"AH"."PREVIOUS_BALANCE" AND ("AH"."INVOICE_ID"
    IS NOT NULL OR "AH"."ADJUSTMENT_ID" IS NOT NULL))
    22 rows selected.
    Index Details:+_
    SQL> select INDEX_OWNER,INDEX_NAME,COLUMN_NAME,TABLE_NAME from dba_ind_columns where
    2 table_name in ('INVOICE','ACCOUNT','ACCOUNT_HISTORY') order by 4;
    INDEX_OWNER INDEX_NAME COLUMN_NAME TABLE_NAME
    OPS$SVM_SRV4 P_ACCOUNT ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME ACCOUNT_NAME ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT CUSTOMER_NODE_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT ACCOUNT_TYPE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_ACCOUNT_TYPE ACCOUNT_TYPE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_INVOICE INVOICE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_PREVIOUS_INVOICE PREVIOUS_INVOICE_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME_ID ACCOUNT_NAME ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME_ID ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 I_LAST_MODIFIED_ACCOUNT LAST_MODIFIED ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_INVOICE_ACCOUNT INVOICE_ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ACCOUNT ACCOUNT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ACCOUNT SEQNR ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_INVOICE INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADINV INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA CURRENT_BALANCE ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA ACCOUNT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_LMOD LAST_MODIFIED ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADINV ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_PAYMENT PAYMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADJUSTMENT ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_APPLIED_DT APPLIED_DATE ACCOUNT_HISTORY
    OPS$SVM_SRV4 P_INVOICE INVOICE_ID INVOICE
    OPS$SVM_SRV4 U_INVOICE CUSTOMER_INVOICE_STR INVOICE
    OPS$SVM_SRV4 I_LAST_MODIFIED_INVOICE LAST_MODIFIED INVOICE
    OPS$SVM_SRV4 U_INVOICE_ACCOUNT ACCOUNT_ID INVOICE
    OPS$SVM_SRV4 U_INVOICE_ACCOUNT BILL_RUN_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_BILL_RUN BILL_RUN_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_INVOICE_TYPE INVOICE_TYPE_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_CUSTOMER_NODE CUSTOMER_NODE_ID INVOICE
    32 rows selected.
    Regards,
    Bathula
    Oracle-DBA

    I have some suggestions. But first, you realize that you have some redundant indexes, right? You have an index on account(account_name) and also account(account_name, account_id), and also account_history(invoice_id) and account_history(invoice_id, adjustment_id). No matter, I will suggest some new composite indexes.
    Also, you do not need two lines for these conditions:
    and round(a.account_balance, 2) > 0
    AND a.account_balance > 0
    You can just use: and a.account_balance >= 0.005
    So the formatted query isselect a.account_id,
           round(a.account_balance, 2) account_balance,
           nvl(ah.invoice_id, ah.adjustment_id) transaction_id,
           to_char(ah.effective_start_date, 'DD-MON-YYYY') transaction_date,
           to_char(nvl(i.payment_due_date, to_date('30-12-9999', 'dd-mm-yyyy')),
                   'DD-MON-YYYY') due_date,
           ah.current_balance - ah.previous_balance amount,
           decode(ah.invoice_id, null, 'A', 'I') transaction_type
      from account a, account_history ah, invoice i
    where a.account_id = ah.account_id
       and a.account_type_id = 1000002
       and (ah.invoice_id is not null or ah.adjustment_id is not null)
       and ah.CURRENT_BALANCE > ah.previous_balance
       and ah.invoice_id = i.invoice_id(+)
       AND a.account_balance >= .005
    order by a.account_id, ah.effective_start_date desc;You will probably want to select:
    1. From ACCOUNT first (your smaller table), for which you supply a literal on account_type_id. That should limit the accounts retrieved from ACCOUNT_HISTORY
    2. From ACCOUNT_HISTORY. We want to limit the records as much as possible on this table because of the outer join.
    3. INVOICE we want to access last because it seems to be least restricted, it is the biggest, and it has the outer join condition so it will manufacture rows to match as many rows as come back from account_history.
    Try the query above after creating the following composite indexes. The order of the columns is important:create index account_composite_i on account(account_type_id, account_balance, account_id);
    create index acct_history_comp_i on account_history(account_id, invoice_id, adjustment_id, current_balance, previous_balance, effective_start_date);
    create index invoice_composite_i on invoice(invoice_id, payment_due_date);All the columns used in the where clause will be indexed, in a logical order suited to the needs of the query. Plus each selected column is indexed as well so that we should not need to touch the tables at all to satisfy the query.
    Try the query after creating these indexes.
    A final suggestion is to try larger sort and hash area sizes and a manual workarea policy.alter session set workarea_size_policy = manual;
    alter session set sort_area_size = 2147483647;
    alter session set hash_area_size = 2147483647;

  • You are running a report. It is taking long time for

    You are running a report. It is taking long time for
    execution. What steps will you do to reduce the
    execution time.
        plx explain clearly

    Avoid loops inside loops.
    Avoid select inside loops.
    Select only the data that is required instead of using select *
    Select the field in the sequence as they are present in the database, and also specify the fields in the where clause in the same sequence.
    When ur using for all entries in the select statement, check whether the internal table to which ur refering is not initial.
    Remove select... endselect instead use into table
    Avoid Select Single inside the loop, instead select all the data before the loop and read that internal table inside the loop using binary search.
    Sort the Internal tables where ever necessary.

  • Taking too long time for booting

    Hi there,
    I just bought myself an iphone 5s. . Try to get up started for the 1st time but the thing keep booting or loading too long time for endless hours. What may go wrong? Appreciate if you could help me on this.

    But payment run before due date. you are not run before due date once check it

  • I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time con

    I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time consuming for me, so I finally investigated a bit further.
    I discovered how to enter the track titles onto my newer MacBook Pro, and was so pleased!  But when I tried to do the same with the other laptop, it failed. 
    What I did, basically, was what the Apple Help suggested--choose iTunes General Preferences, etc.etc.  And yes, I did upgrade the old laptop to the newest iTunes version.
    Am I just wasting my time here? Is there some reason why an older Mac Pro will not do what the newer one will, with regard to iTunes?
    My older laptop is a 2.6 GHz Core Duo; it has 36 GB of "memory available."  The newer one  a 2.3 GHz Intel Core i7. It has 284 GB of memory available.
    Both are using the same version of Snow Leopard--10.6.8.

    I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time consuming for me, so I finally investigated a bit further.
    I discovered how to enter the track titles onto my newer MacBook Pro, and was so pleased!  But when I tried to do the same with the other laptop, it failed. 
    What I did, basically, was what the Apple Help suggested--choose iTunes General Preferences, etc.etc.  And yes, I did upgrade the old laptop to the newest iTunes version.
    Am I just wasting my time here? Is there some reason why an older Mac Pro will not do what the newer one will, with regard to iTunes?
    My older laptop is a 2.6 GHz Core Duo; it has 36 GB of "memory available."  The newer one  a 2.3 GHz Intel Core i7. It has 284 GB of memory available.
    Both are using the same version of Snow Leopard--10.6.8.

Maybe you are looking for

  • How to make 13 month Fiscal Year Variant

    Current Configuration Fiscal Year Variance u2013 (Dec., - Nov) with 4 Special Periods Current Period Configuration Month     Days     Period     Year Shift 1     31     2     0 2     29     3     0 3     31     4     0 4     30     5     0 5     31  

  • Vendor Return for VMI for multiple materials

    We have a scenario where we need to do return to Vendor for many items (1000 plus). Is there a way to do this easily other than using MBRL which is a very difficult and complicated process, considering the number of transactions we need to do. My und

  • Alerts on specific type of exception

    Is it possible to trigger an alert when a specific exception type is thrown or to exclude certain types of exceptions from being treated as Exceptions?

  • How to debug RFC connection?

    I have got an error when SAP execute RfcOpenEx. How to debug RfcOpenEx and setup breakpoint? Thanks for your help Marty

  • How do I add a banner, counter, and an email me button?

    Hello, I'm learning how to use iweb and would like to know how to put an active banner across my page, a counter to know how many visitors, and an email me button. Can anyone help me?