Back calcualtion of the qty based on the value

Dear Friends,
I have a requirement where the customer gives a lumpsum amount and asks for the material qty to be given based on the lumpsum amount that includes the excise and the tax as well.
How can I achieve this in the pricing procedure?
Thanks
Isaac

Closing this unresolved

Similar Messages

  • Regarding roll back and reassign the value.

    hi all,
    i am using forms6i.
    Re: how to avoid the form's message situation
    as we discussed my process has to happen like this. since it is a new topic so i have raised new thread.
    what i want to do is based on the input values(base table values) i have to call one procedure, the procedure returned value i have to assign to one of my database field and one new record should go into other table.
    so what i am doing is at the key-commit trigger i have written a procedure inside that i am calling a procedure which results in one value which i have to assigned to my blocks item. and one record to the table
    my code in key commit trigger is something like
    go_block('block name');
    first_record;
    based on the forms parameter call procedure
    if procedure returns error then rollback otherwise assign value to base table item and one record to other table so
    job_proc();
    :block.item:= output ;
    insert into job_table() values();
    if system.last_record = 'TRUE' then
    exit
    else
    next_record;
    end loop;now senario is like if i am in fifth record four record processed as i explained before. in fifth record if i am getting error means
    all four records value and insert statement should be reassined and rolled back.
    so i have written like
    exception when others then
    forms_ddl('rollback');
    go_block(block name);
    go_record(system.current_record);
    :block.item := null;
    if :system.trigger_record = 1 then
    exit;
    else
    previous_record;
    end if;
    end loop;is this is the way to rollback or is there any better way?
    please advise.
    Thanks..

    Hi,
    Check these files on rollback and commit:
    Transactional Behavior of an Integration Process:
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/058023846b2460e10000000a1553f7/frameset.htm
    Commit Handling:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/814d3ccd6fba74e10000000a114084/frameset.htm
    Rollback:
    http://help.sap.com/saphelp_nw70/helpdata/en/23/5f5fd653b6f64d9bb0b468a8689838/frameset.htm
    Regards,
    Subhasha

  • Validity of the Qty Based Condition

    Hi All
    In one of my scenarios, I am using a Tax Code containing Qty Based BED Condition.
    Like V3 Tax Code BED + VAT, BED / Qty Condition is JMOQ
    I am maintaining FV11 - JMOQ
    Value for Plant / Material Group Combination is 500 / TON with Validity 28.02.2009 to 27.02.2010
    No I am trying to set the different Value for the different Validity like 550 / TON with Validity 28.02.2010 to 27.02.2011
    Then system gives me Error as the condition is being processed in the current session.
    Tax Procedure in use - TAXINN
    Kindly guide me.

    Sorry
    I already did this activity.
    But couldnt find out the solution.
    Anyways
    Thanks for your reply
    Resolved with some other trials.

  • ** Is it possible to move back and generate the target node in Message Map

    Hi,
    We are doing EDI to IDoc scenario. In our scenario the source XML comes like
    XML Instance
    G_SPOC       (Node) 0..unbounded
       D_670       (Field)
       S_SDQ      (Node)
         D_67
         D_380
         D_67_2
         D_380_2
    G_SPOC
       D_670
       S_CTP
         D_212
    G_SPOC
       D_670
       S_SDQ
         D_67
         D_380
         D_67_2
         D_380_2
    Target Strcutre
    E1EDP01    0..unbounded
      For this instance we have to create E1EDP01 node for how much times D_67,D_67_2..... will come.
    By using 'CreateIf' function we check the existance of D_67,D_67_2 ... and create the target structure E1EDP01. This is working fine if S_SDQ node will come in source XML. Basically D_67,D_67_2 represents Store Nos and D_380,D_380_2 represents Qty.
    In the customer given EDI file, Price change also comes for Line items. It may comes in the file middle also. When Price Change come, the node S_SDQ will not come in G_SPOC but where as S_CTP will come. This contains Price Change in the field D_212.
    The indicator whether QD (Qty Discount), QI (Qty Increase), PC (Price change), AI (Additonal Increase) is stored in the fild D_670.
    In our logic in mapping, we create E1EDP01 based on the existance of D_67,D_67_2... . But, for PC (Price Change) we created special node E1EDP01 at the end (after all D_67,D_67_2 ) by checking the condition whether D_670 = 'PC'. This is also working fine when 'PC' comes in last G_POC of source XML. But, when it will come in middle of G_SPOC, mapping is only executed  for first 3 GPOC (for Example, QD,QI,PC) and it ignored the last one AI. (Because this is generated based on D_67 under S_SDQ again).
    The problem is we think that the system does not go back and execute the mapping for AI based on D_67.
    It executes mapping only in order.
    So, How will we solve this problem, friends? The requirements is  we have to do this thru Graphical Mapping only.
    We tried sever possibilites, but not worked out.
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P

    Friends,
    Any help to solve the above issue ?

  • I can't tell for sure if the photos on my iphone were successfully backed up in the icloud.  How can I find out what is stored in my icloud account?

    I activated the icloud backup on my iphone 4s and bought an extra 10gb of space.  I clicked backup to icloud now to backup my trip photos.  I want to be able to erase the photos on my phone because I'm at max capacity and I have another week to go on my trip.  Based on the number of gb available before my attempt to do the backup and the much smaller gbs available now, I guess that the photos were backed up.  How can I confirm that?  Is there an icloud website I can log into to see exactly what has been backed up?  I do not have access to my home computer so I don't think that I can access my itunes account, and even if I could I'm not sure that would tell me anything.  Thanks for any insights you can give me.
      Framois

    You can go to icloud.com from your computer to see what data is in the account (other than photo stream photos and your iCloud backup), but you won't know what data may have been accessed by someone else.  If you're concerned, change your password as discussed here: http://support.apple.com/kb/HT5624.  After changing your iCloud ID password, go to Settings>iCloud, tap Delete Account, then sign back in with the new password.
    When you delete the account it only deletes the account and your synced data from your device, not from iCloud.  Provided you are signing back into the same account your data will be synced back when you sign back in.  Save you photo stream photos before deleting the account (tap Edit, tap the photos, tap Share, tap Save to Camera Roll)

  • How to change the values in an LOV based on values selected in another LOV

    Hi,
    I have a requirement in ADF where there are two LOVs. Based on the values that I select in the 1st LOV, the values in the second LOV should change dynamically.
    Also, the 1st LOV accepts 3 values, for every value I select, a different query is executed to populate the 2nd LOV.
    I have a rough thought that I can use 3 different read only view objects containing these 3 queries. And based on the value I select in the 1st LOV I can execute the corresponding View object from the backing bean. But my doubt is how to link the results of that query that is executed to populate the 2nd LOV.
    Thanks in advance.
    Edited by: 886591 on Sep 21, 2011 4:48 AM

    Hi Brisk,
    Thanks for your reply.
    The link that you have provided explains how to disable and enable the other LOVs based on a parent LOV. But in my case there are two Select One Choice fields i.e. the dropdowns (sorry that I addressed it as LOV in my previous post which might be confusing). There are 3 static values in the parent dropdown where each of them are associated with a different query. for e.g if the three values in the drop down are A, B and C; if i select A, then query associated to A should be executed ; if i select B, then query associated to B should be executed and if I select C, query associated to C should be executed. Then the output attribute of that query should be populated in the child dropdown.
    Please let me know about the solutions to this.
    Thanks,
    Kavitha

  • My MacBook Pro shut itself down and now it won't turn back on and the power light keeps flashing a green and amber but very dull. Help please!

    My MacBook Pro shut itself down and now it won't turn back on and the power light keeps flashing the amber light. I don't know what to do, and this has never happened before.

    Hello Toby135
    Reset the SMC or System Management Controller to resolve issues with the power on your MacBook Pro and power adapter.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    Regards,
    -Norm G.

  • Populate one text field on a form based on the value in another

    I am new to APEX and building my first application.
    When a user enters a value in one field, I would like to run a SQL command and then display a value in another field based on the value in the first field. For instance, if a user enters a part number in one field, when they tab off of the field, I would like to display the name of the part in the part name field.
    Thanks

    Thanks. That put me on the right track. I used that link to find the link http://htmldb.oracle.com/pls/otn/f?p=11933:11:2890374750690437 and then using the two was able to put together a solution.
    I am down to one last issue. I am able to return the name back from the process and display it with an alert statement. Unfortunately, I am unable to display the value on the form.
    I am doing the following.
    <script language="JavaScript1.1" type="text/javascript">
    function f_getCustomerName(id)
    var v_id = id;
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=getCustomerName',$v('pFlowStepId'));
    get.addParam('x01',$v('P2_CUSTOMER_ID'));
    gReturn = get.get();
    get = null;
    gReturn = (!gReturn)?'null':gReturn;
    /* The below do not work
    $s('P2_CUSTOMER_NAME',gReturn);
    document.getElementById('P2_CUSTOMER_NAME').value = gReturn;
    document.getElementById('P2_CUSTOMER_NAME').value = 'TEST';
    alert(document.getElementById('P2_CUSTOMER_NAME').value );
    alert(gReturn);
    //-->
    </script>
    Process: getCustomerName
    declare
    l_customer_id customer.customer_id%type;
    l_customer_name customer.customer_name%type;
    begin
    l_customer_id := to_number(wwv_flow.g_x01);
    select customer_name
    into l_customer_name
    from customer
    where customer_id = l_customer_id;
    htp.p(l_customer_name);
    end;

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Where can i find .trn file location when i successfully take the back up of the database?

    Where can i find .trn file location when i successfully take the back up of the database?
    I accidentally deleted some records in my table, then i followed the procedure based up on this blog:
    "http://sqlbak.com/blog/recover-deleted-data-in-sql-server/"
    here it saying to find the .trn file, So here i am unable to find the .trn file where the location file i can found.
    Can some one help to find out of this issue.
    Ramesh S

    Hi,
    Try this select to check backup history:
    Select 
    r1.database_name, 
    r1.name, 
    (case r1.[type] when 'D' then 'Full database backup' when 'I' then 'Differential database' when 'L' then 'Transaction Log Backup' else r1.[type] end) as BackupType, 
    r3.physical_device_name, 
    r1.backup_start_date, 
    r1.backup_finish_date, 
    r1.backup_size, 
    r1.compressed_backup_size, 
    r2.is_compressed,
    r1.server_name, 
    r1.first_lsn, 
    r1.last_lsn 
    from msdb.dbo.backupset r1 
    inner join [msdb].[dbo].[backupmediaset] r2
    on r1.media_set_id = r2.media_set_id
    inner join [msdb].[dbo].[backupmediafamily] r3
    on r1.media_set_id = r3.media_set_id

  • Using the Back Button in the Browser

    Does Anyone know how to do this, I have tabs on my homepage,
    and I want to be able to have it so that if the user goes to a
    different page from the tabs and then hits the back button they
    will still have the tab that they were just looking at to show.
    Right now, dreamweaver makes me have a default tab. Here is my
    homepage just to give you an example of the tabs I am talking
    about:
    http://content.aktion.com/newsletter/aktionweb/aktionhome2.html
    Let me know if you need more information about what I am
    trying to do. I appreciate any tips. Thanks

    > Does Anyone know how to do this, I have tabs on my
    homepage, and I want to
    > be
    > able to have it so that if the user goes to a different
    page from the tabs
    > and
    > then hits the back button they will still have the tab
    that they were just
    > looking at to show. Right now, dreamweaver makes me have
    a default tab.
    > Here
    > is my homepage just to give you an example of the tabs I
    am talking about:
    Your browser's back/forward buttons are 'page' based.
    Tabs ON a page are often javascript based, and are not seen
    as individual
    pages by the browser.
    Your option would be to turn the javascript based tabs into
    page based tabs
    forcing a new page request when switching between tabs. That
    may or may not
    be desirable for your needs.
    -Darrel

  • How to disable or redirect the back button on the browser tool bar

    I am creating a web help file for a web based software
    application. I am using context sensitive help, when I click on the
    help for a topic and close the window, when I click the Back button
    on the Internet Tool bar it goes back to the help instead of the
    software.

    Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5379620&tstart=0]. Please continue over there.
    Please do not use the back button to edit a message. You're going to repost the message. Just use the message's edit button instead.

  • I am looking at an incomplete green status bar. I turned the computer off and back on. The status bar is stuck at 1/3.

    I shut my mac down 1 week ago. Apparently, it chose to restart. I am looking at an incomplete green status bar. I turned the computer off and back on. The status bar is stuck at 1/3. What can I do? I have no time machine backups. 

    If your iMac is Intel base, resetting SMC as well as NVRAM(PRAM) could solve the problem.
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

  • How do I access a value of a variable in SSIS and control the flow accordingly based on its value?

    So I have a Foreach Loop Container that Enumerates a read Excel spreadsheet and this Foreach Loop get its User::SheetName. Can I change my flow accordingly based on the value of the User Variable User:SheetName that is dynamically valued by the Foreach Loop
    Container? So if the User::SheetName is "Enrolled", I want to load that worksheet to a certain SQL Server Table using an Excel Source and OLE DB Destination and if the User::SheetName is "Engaged", I want to load its worksheet contents
    to a different SQL Server Staging Table. What Task can I use to determine the value of User::SheetName or am I going to have to write a C# script to do this?
    Any help and/or suggestions are GREATLY appreciated.
    Thanks!

    Hi ITBobbyP,
    According to your description, you want to read data from excel by using the Foreach Loop container with the appropriate enumerator. If that is the case, please refer to the following steps:
    Inside the ADO NET enumerator, add a data flow task.
    Inside the data flow task, add an Excel source.
    Open the Excel source, and point to the Excel data source set up in the file enumerator.
    Select one of the sheets that shows in the drop down.
    Close the Excel source.
    Select the Excel source.
    In the properties window, copy the name of the sheet you selected. It's in the 'OpenRowset' property.
    Set this as the initial string in your sheet name variable created to gather the sheet name from the ADO NET enumerator.
    Select the Excel source.
    In the properties window, change the 'AccessMode' to OpenRowset from Variable. This will change the property 'OpenRowset' to 'OpenRowsetVariable'.
    Change the 'OpenRowsetVariable' to the variable created to hold the sheet name via the dropdown.
    Open the Excel source. You should see your variable as the sheet name.
    Click the 'Columns' tab to verify you can connect and mess with columns.
    For detail information, please refer to the following document:
    https://technet.microsoft.com/en-us/library/ms345182.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

Maybe you are looking for