New record should not be created....

Hello all,
I have a block with multi record block ( Max records 10 visible). Consider we query the block and query returns only 5 records. Now if you go and click on 6th record, it will create a new record. This is not intended and this has to be disabled.
Even when the tab is pressed being control in the last item of the 5th record, it was creating a new record. This one i handled by setting the next navigable item of the last item of that block. But, I am not able to handle the Mouse navigation. I need the Mouse navigation to be set to Form but this function disabled. Any ideas??
With Regards,
Yathish

typically you have no chance.
you can forbid the insert and use this code in the menu :
allow_insert on block via set_block_property;
go_block ();
create_record;
forbid_insert on block via set_block_property;
try it
Gerd

Similar Messages

  • Excise invoice should not get created without PGI

    Hi,
    I have a scenario where the billing document is being generated by the customer without PGI after creation of outbound delivery for exports. (This is as per customer's requirement - Copy control maintained in VTFL for the same - copying requirements 11 )
    This creates a situation - excise invoice can be created without PGI - which creates problems for customer. This should not happen.
    Customer wants a check during the excise invoice creation - excise invoice should not get created if PGI has not been done.
    Kindly advise as to how this can be done.
    Regards,
    T Saravanan

    Dear Saravanan
    Two options are there
    -  in your existing routine itself, you can specify the control in such a way that unless the preceding document is PGId
    -  apply excise user exits like J_1I7_USEREXIT_EXCISE_BEF_SAVE to achieve the requirement.
    thanks
    G. Lakshmipathi

  • Purchase Req Should not be created if the order is Delivery blocked

    Hello All,
    I have a requirement in third party sales where the Purchase requistion should not be created if the sales order is delivery Blocked, as and when the delivery block is removed then only the PR should be created.
    Please help to fulfill the requirement
    Regards
    kiran

    Hi,
    Please check the field purchase req with delivery scheduling in scheduling line configuration.
    thanks
    Kuntla

  • Tag should not be created at target side in mappin...

    Hi all.
    I hav a requirement wherein i need to generate a tag of a field depending on the input value .I mean,if input value is not matchin thn tag for that element should not be created .how can i achieve this in an user defined function.
    thanks in advance.

    The code which I posted was not looking as it is as I written due to some issue with some symbols..
    refer this
    http://www.flickr.com/photos/23639237@N02/2911950458/
    Edited by: Sarvesh Singh on Oct 4, 2008 4:04 PM

  • Pricing condition records should not be picked up

    Hi,
    I have configured a scenario for Supplementary Invoice for which I created a new sales order type. The requirement is such that this order type should not pick the pricing condition records that have been created in VK11. Please suggest how can this be configured.
    Do I have to use any Userexits, if so which one?
    Regards,
    Abhishek

    As mentioned by you, you have created a new Sales Order Type, you can create a new document pricing procedure, based on which you can determine a new pricing procedure.
    To configure new Document Pricing Procedure:
    IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Define Document Pricing Procedure. (Maintain the new Document Pricing Procedure in new Sales Order Type)
    Maintain a new Pricing Procedure, maintaining the Condition Types as manual. Maintain the determination of Pricing Procedure appropriately.
    Pricing Procedure Determination:
    In SD, Pricing Procedure is determined (T.Code: OVKK) based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
    Pricing Procedure Configuration:
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table (T.Code: V/04): If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence (T.Code: V/07): If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type (T.Code: V/06): If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the neccessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure (T.Code: V/08):  It is recommended to copy a similar pricing procedure & make the neccesary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure (T.Code: VOK0): After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    5. Condition record (T.Code: VK11 / VK12): Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc. Condition Record is maintained in T.Code: VK11 / VK12, which are captured in Sales Order & Billing.
    Also check document pricing procedure in Sales Document Type (T.Code: VOV8 - Sales order Type, VOFA: Billing Type (If Required)), customer pricing procedure in Customer Master Data (T.Code: XD02), ... are in place.
    Regards,
    Rajesh Banka

  • When new record instance not firing on Purchase Order form

    I query a purchase order and click on the shipment lines button. There are 2 shipment lines in this example. I am using CUSTOM.pll to inject some specific code to restrict the cancel functionality. One line I want to restrict the cancel functionality and the other line I don't want to restrict. The problem arises when I click between the two rows on the Org or Ship to fields. No event or trigger gets fired that I can see; hence, the CUSTOM.pll code does not get injected and the user will be able to cancel both lines. Any ideas? Thank you for your time,
    -Kevin

    What does that mean? In the middle of creating a record?
    But how come system allows me to go to the 2nd tab when it goes to the last record and doesnt allow me to go the 2nd tab when i create in middle of the record
    Seems that there is some difference in the data of the two records, maybe one record passing validation and the other one not.Validations are same, both the scenario it just creates a new record.

  • DNS record is not dynamically created in DNS Zone, when joining to DNS domain

    hi
    in my test lab i have deployed two virtual machines (both are windows server 2008 R2 enterprise).
    on vm1 i have installed just DNS role (without Active directory) and created a primary non-ADintegrated zone.
    on this DNS zone, i have enabled dynamic update set to
    non-secure & secure .
    now in my vm2 (as a DNS client) , i set the ip address of this DNS server as preferred DNS server and then in system properties, on the primary DNS suffix field, i entered the name of my DNS domain (mydomain.lab)& rebooted VM2, but the a record of this
    client (vm2) is not registered (created ) in mydomain.lab zone.
    i respect the record be created like the situations which we join a client to AD domain 

    Hi  John ,
    When registering DNS record ,client will send a SOA query to find the primary server of the zone .Then send register message to the server .
    We can use nslookup to find the problem :
    Open Command Prompt
    type nslookup
    type set type=soa
    type zone name
        1. If there is positive response ,check the name of
    primary name server and the IP address of the server .
    Its name should be vm1.mydomain.lab .If not ,edit the SOA record in the zone .
    If no IP address ,edit NS record in the zone .
        2. If there is no response ,check the SOA record in the zone .
    We can manually delete and recreate the records to ensure there are right SOA and NS records .
    Here is the guide for using nslookup :
    Nslookup :
    https://technet.microsoft.com/en-us/library/cc940085.aspx
    Best Regards,
    Leo
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Hi Leo, thanks for reply.
    i did all steps you mentioned but still no result.
    i put an screenshot of my desktop here , everything is shown here:

  • New recording does not process

    Hello,
    I have created a new recording that I immediately try to process and it fails.  I can do the same steps outside the recording and it works but within the recording it fails.
    The process I recorded using ME38:
    Enter a schedule agreement
    choose line 1
    click "Delivery Schedule"
    Choose a line.
    Click "Item" > "Components" > "New BOM Explosion" from the menu bar
    View the results
    Click back
    Click save
    Here is the code:
    start-of-selection.
    perform open_group.
    perform bdc_dynpro      using 'SAPMM06E' '0205'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-EVRTN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RM06E-EVRTN'
                                  '5500000783'.
    perform bdc_dynpro      using 'SAPMM06E' '0222'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-EVRTP(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ET'.
    perform bdc_field       using 'RM06E-EBELP'
                                  '1'.
    perform bdc_field       using 'RM06E-TCSELFLAG(01)'
                                  'X'.
    perform bdc_dynpro      using 'SAPMM06E' '1117'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-ETNR1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RM06E-ETNR1'
                                  '   1'.
    perform bdc_dynpro      using 'SAPMM06E' '1117'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-EEIND(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=LBST'.
    perform bdc_field       using 'RM06E-ETNR1'
                                  '  66'.
    perform bdc_dynpro      using 'SAPLM61Q' '0115'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MDBA-MATNR'.
    perform bdc_dynpro      using 'SAPMM06E' '1117'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM06E-ETNR1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    perform bdc_field       using 'RM06E-ETNR1'
                                  '  66'.
    perform bdc_transaction using 'ME38'.
    perform close_group.
    Any suggestions?
    Thanks,
    Matt

    Answered in case someone else has this problem.
    This problem had to do with the scrolling down to select the last field in ME38.  I added code to scroll down to the last item.  Then select the 1st line on the page (since I scrolled down to the last item it is now the first and only item on the page).  BDC can not communicate back other than system messages so this was the only way I could find to select the last item every time.
    PERFORM bdc_dynpro      USING 'SAPMM06E' '0205'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'RM06E-EVRTN'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '/00'.
                PERFORM bdc_field       USING 'RM06E-EVRTN'
                                              wa_pkps-ebeln.
                PERFORM bdc_dynpro      USING 'SAPMM06E' '0222'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'RM06E-EVRTP(01)'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '=ET'.
                PERFORM bdc_field       USING 'RM06E-EBELP'
                                              wa_pkps-ebelp.
                PERFORM bdc_field       USING 'RM06E-TCSELFLAG(01)'
                                              'X'.
                PERFORM bdc_dynpro      USING 'SAPMM06E' '1117'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'RM06E-ETNR1'.
                PERFORM bdc_field       USING 'RM06E-ETNR1'
                                              y_count.
                                              "'1'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '/00'.
                PERFORM bdc_dynpro      USING 'SAPMM06E' '1117'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'RM06E-EEIND(1)'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                             '=LBST'.
                PERFORM bdc_dynpro      USING 'SAPLM61Q' '0115'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '=BACK'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'MDBA-MATNR'.
                PERFORM bdc_dynpro      USING 'SAPMM06E' '1117'.
                PERFORM bdc_field       USING 'BDC_CURSOR'
                                              'RM06E-ETNR1'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '=BU'.
                PERFORM bdc_field       USING 'RM06E-ETNR1'
                                              '1'.
                PERFORM bdc_dynpro      USING 'SAPLSLVC_FULLSCREEN' '500'.
                PERFORM bdc_field       USING 'BDC_OKCODE'
                                              '&F03'.
    Matt

  • Excise Invoice should not get created without J1ID data for all material

    Dear All,
    We  have a requirement that excise invoice should not get generated unless chapter ID data is maintained for all the materials in the invoice.( when there is more than one item and chapter id is not maintained for all the items)
    At present excise invoice is getting generated for single item which has chapter ID maintained and  the items without chapter ID data are left out from the excise invoice. This results in an incorrect invoice.
    We want to ensure that excise invoice is not created, unless all the items in the billing document have chapter ID maintained.
    Kindly advise as to how this can be done.
    Regards,
    T Saravanan

    Dear Muralidhar, Lakshmipathi,
    Thanks for the solution.
    I have been able to solve the problem using the user exit mentioned by you.
    Regards,
    T Saravanan

  • Billing documents should not be created when it is not released to accounti

    Hi SD gurus,
    In some situation, billing documents are generated but it is not released to accounting which results in mismatch between FI value and SD value. We go to VFX3 and see the list of billing documents and take corrective action.
    Our requirement is that the billing document should not be generated when system is not releasing this billing document to accounting.
    Please suggest a solution for this.
    Regards,
    Senthil.

    Thanks giri.
    For the following reasons, the billing documents are not released to accounting.
    1. If the user wrongly chosen the billing type for the delivery.
    2. After creating condition type, it has to be assigned in COPA. If we forgot to do it, billing doc will not released.
    Our requirement is that if the billing document is not able create accounting document, the billing document itself should not be generated.
    Hope this will be suffice to understand my issue and suggest a suitable solution.
    Points will be rewarded.
    Regards,
    Kumar.

  • In ME38 If (EKET-MENGE) (EKPO-KTMNG)Schedule lines should not be created

    Hi,
    Our Requirement is in ME38 which is for creting Schdule line Agrement the system should not allow to create schedule lines
    if the Total of Schedule Line Quantity > Total Scheduled Quantity
              (Sum of all EKET-MENGE) > (EKPO-KTMNG)
    Can anybody give me the right User Exit,BADI for this Requirement and Coding for this

    Hello,
    I have the same problem as you. Someone know something about it?
    kanyadhara, did yo solve this problem?
    Thanks a lot

  • Duplicate record should not allow to enter

    hi
    i have three columns
    sno Number;
    in time date;
    out time date;
    this is the multiple taulat layout :
    User enter at run time values like this :
    1 01:15 03:00
    1 01:15 03:00 Here second record User should not allow to enter same Sno for Same In time and End time
    Before entering the data the total no of records : 0
    can u give me any suggestion.
    how to validate the columns.

    If you have a Unique Constraint on the table for these there columns it will prevent duplicate records.
    1 01:15 03:00 Here second record User should not allow to enter same Sno for Same In time and End timeBy "Second User" do you mean a user in a seperate Forms Session? If so, there is no way to check if the user in session 2 is entering a duplicate of a record entered by a user is session 1 accept through the use of a unique constraint on the table.
    There are methods available for checking for duplicates in the same Forms Session. Check out: Avoid duplicates in the same block and Forms: Record Group Processing (Duplicate Value Checking) for more information.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Inspection lot should not be created in stock transfer

    Hai QM masters,
        I have a following scenarios in my client side
    My client have 5 plants
       1)When a material is moved from one plant 1 to plant 2using stock transport order inspection lot is created since i have activated the 08 inspection type in the material master for partcularly for the movement type 349.But we have to restrict for the stock transport order from plant 1 and 2.Hw to restrict this?
    2)Second scenario is When a material is tranfered from plant 2 to plant 4 using stock transport order inspection lot is created with number starting 800000XXX since i have activated the 08 inspection type in the material master.But when they do 349 movement inspection lot created with same number range how to restrict this?
    Regards
    Mohanraj.C

    Hi Shyamal,
        THank you for ur reply.
    I have activated the 08 inspection type for a material (say A) in both plants 1,2 and 3 for the 349 movement type.
    But when they do stock transport order from plant 1 and 2 inspection lot get created when they receive it in plant 2.
    My requirement is this shouuld not be created.
    For the second one when they do stock transport order for material A from plant 2 to plant 3,the inspection lot no. is 800000XXX which starts with 8 which is the same as the inspection lot created when they do 349 in plant 3.My requirement is they should have different number ranges.
    These happens because in both the scenarios inspection lot origin is 08.
    How to restrict these?
    Regards
    Mohanraj.C

  • GroupFilter and sum(); filtered records should not be included in the sum()

    Hi All,
    I am working on a report that has the following requirement.
    1. Query records from the database (multiple queries)
    2. Filter records based on a certain criteria.
    3. Sum() the rows.
    4. Cannot use where clause because of the complexity of the report.
    I have achieved the above requirement using data-template with one exception where my sum() is including all the filtered rows in the summation. I DO NOT want the filtered rows to be included in the sum(). I know I could do sum() in layout-template using xslt.
    Is there a way to do this in data-template?
    My data-template looks something like
    <group name="g_dept" source="q_dept">
        <element name="dname" value="dname"/>
        <element name="d_salary" value="g_emp.salary" function="sum()"/>
        <group name="g_emp" source="q_emp" groupFilter="filterEmployees(:empno)">
           <element name="ename" value="ename"/>
           <element name="empno" value="empno"/>
           <element name="salary" value="salary"/>
        </group>
    </group>
    My data looks like
    10    Scott1    7865    $100
    10    Scott2    6875    $200
    10    Scott3    5678    $300
    10    Scott4    8657    $500 <-- filtered with pl/sql package
    My output should look like
    Dept: 10
    Scott1    7865    $100
    Scott2    6875    $200
    Scott3    5678    $300
    Total for 10: $600
    instead my output looks like
    Total for 10: $1100 <-- including filtered row Steve.
    Is this a feature or a bug in the data-template? not sure the order of events querying, filtering & summation. If anyone could answer, I really appreciate it.
    Thanks

    Was there ever an answer the original question with the groupfilter and sum()?
    I have a GL Report (bi pub 5.6.3 with ebusiness suite 11.5.10.2) that uses the oracle.apps.fnd.flex.kff.select (with security as the output type). In my lowest group (lines) i have a group filter that eliminates the row if the security is Y (to eliminate it from the XML and report). However, the sums that I'm doing are including all rows, not just the ones included in the data file.
    I too have the same issue as Kalagara, where I can't use the where clause to exclude the rows.
    Thanks - Jennifer

  • Foreign trade--Billing document should not be created with missing data

    Hi,
    We have foreign trade set up. In that we defined incompletion schema at line item level with commodity code and country of origin as "Field ready for input - Incompletion check active".
    Can anybody tell me that, in the above setup,  is it possible to avoid the creation of billing document with missing above data.
    Generally ,  system will go for the accounting status for block with foreign trade data missing.  But our users don't want to create the billing document if the data is missing.
    Can any body suggest us.
    Rajesh.

    Hi Rajesh
    You have to set up a new subroutine or you have to copy the standard subroutine and include the logic that it should read the foreign  trade details at both sales order and delivery levels.you need to assign the subroutine in both  VTFL and VTFA copy controls (header and item levels)
    Another option is you have to go with user exit RV60AFZZ.Please refer this link,hope it should solve your problem
    http://forums.sdn.sap.com/thread.jspa?threadID=1361141&tstart=3735
    Regards
    Srinath

Maybe you are looking for

  • Open Balance

    Hi every one.  Can someone know how can I make a query that brings me all the open invoices, credit memos and open payments for a specific customer at a determined date; or how to combine ORIN with OINV in the same report. Thank you. Maximo Edited by

  • Chinese character issue in BSP input text

    Hi Experts, We are using chinese characters for some text fields in BSP. That characters are displayed correctly in the BSP screen. But the same is converted as numbers and special character in backend and stored in the database table. When analyse t

  • Finder doesn't show image dimensions

    Hi! I have a problem with image dimensions in Finder. Finder doesn't show image dimension info in preview column and Get Info window. But when I open in Preview app I can see dimensions in Get Info window. How to solve this problem. If I want to sort

  • RE - up grading to MacOSX 10.7

    While waiting for new generation of MacPro I operated happily on a 2006 MacPro maxed out with RAM and videocards and internal raid ... . Eventually my setup felt sloggish with FCPX and this year I got a maxed out iMac ( 2011 TB - 3.4 - 2GB video ). A

  • Use Java Bean or Java Importer

    I have created my java class to validate a user against LDAP and now I would like to use that class in my own 9i login form. In order to pass the class variable values to the form is it better to create a java bean or use the Java Importer? Which is