Post Temporary data for order calculation

Hi
Any body can help me.I want to store tempory data in run time . So we can calculate order calculation.
1- we have master relation condition
2-In detail block have 2 rows
Item Code Rate Price Basic val
A 10 100 1000
B 5 2 10
3-I want to total basic value(sum of basic val in header )
4-If i will be change in rate and price then basic val and total basic val automatic should be refresh and post on data base so we can calculate tax and excise duty for this amount.
Thanks in advance.
Narayan

Narayan,
You give us no context whatsoever for your question. For all we know, you are programming in MicroFocus Cobol.
What version of JDeveloper are you using?
What technologies are you using to build your application?
Give us more context for your question
John

Similar Messages

  • Using a "Posting Key" relevant for the calculation of sales

    Hi All,
    if I make a posting by F-02 using a "Posting Key" relevant for the calculation of sales, I wonder: in which table SAP registers the data of sales?
    Is there the way to modify the relevance for sales of that posting?
    Thanks

    Hi
    As far I know, sales figures are getting updated in the following summary tables:
    KCN1 for Customer related.
    LFC1 For Vendor realted.
    Regards

  • Where can we get the data for pre calculated reports

    Hi,
    i want to see the data for pre calculated reports (Reporting agent)
    where can we get the data for pre calculated reports
    Thanks & Regards,
    Shaliny. M

    Dear,
    This feature of precalculating reports is to enhance the report performance. You will need to schedule this periodically, so that the report is fetched and cached. This allows faster retrieval of report data. Plz. understand that, this scheduling needs to run after every data load in the corresponding cube, so that, the latest data is cached, else the report data will be obsolete.
    Thanks

  • Posting header data for MIGO thru badi

    Hi,
    I'm using badi  ' MB_MIGO_BADI ' for posting header data for the T-Code MIGO.
    I have created an extra tab for supplier details for header data. The details from dis tab should be stored in a ztable.
    I have written the code for the same in the METHOD  'POST DOCUMENT'  of the badi, but m unable to store the data in the ztable. niether is the code for display working.
    kindly help.

    Hi,
    you need to create an attribute where you will store data from your additional screen. In example there is an attribute GS_EXDATA_HEADER with structure MBLNR, MJAHR, BADI_NUMMER. So obviously the point is to enter some number on additional header tab screen. You can see that in the method PAI_HEADER that all data from screen are transferred to this structure and in the method PBO_HEADER are data transferred from internal structure to the screen. So in this internal structure you store the current values of the fields from your additional header tab.  Now when you store material document you want to also store your additional data into database. Until this point you store it only in memory. Hence you prepare a new FM which will store this data to DB and you will call this FM in UPDATE TASK. Here is an example
      CALL FUNCTION 'MIGO_BADI_EXAMPLE_UPDATE_HEAD' IN UPDATE TASK
        EXPORTING
          is_migo_badi_header_fields = gs_exdata_header.
    Once again to summarize it:
    1) Define your own structure to keep additional data as an attribute of BADI implementation class
    2) Pass data from memory to screen and back using methods PBO_HEADER and PAI_HEADER
    3) Store additional data into DB using FM called in UPDATE TASK from method POST_DOCUMENT
    Cheers

  • How to handle HTTP-POST encrypted data for ECC Using proxy or RFC

    I have a scenario HTTP-POST ->PI->ECC.sender is HTTP Post  send encrypted data i need to handle the data and stored in to SAP ECC  with out decrypt using PI .what should i take for receiver  can i use inbound proxy or RFC  and how can handle the encrypted data  for decrypt.
    Regards
    Ravi

    1. my sender is HTTP POST . what should i configure in sender communication channel in SAP PI .like SOAP or HTTP .What are the parameters i need to pass .
    >>>
    If you are on PI 7.3 and above, configure the HTTP AAE adapter - Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
    2.while using inbound proxy for encrypted data  i need  store the data in to table , the same proxy can i call  another outbound  service for decrypt  same data.
    >>>>
    Yes you can always a proxy within a proxy.

  • Reading a file and parsing the data for a calculation method

    i am trying to read a file with 3 feilds double double and int . am able to read the file but i am getting an exception right befor i parse the data ...code
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.*;
    //import com.sun.java.util.jar.pack.Package.File;
    public class FileTester {
    public static String mLine;
         public static void main(String[] args) {
              BufferedReader in = null;
              try{
              File f = new File ("loan.txt.txt");
              in = new BufferedReader(new FileReader(f));
              catch(FileNotFoundException e)
                   System.out.println("file does not exist");
                   System.exit(0);
              try{
              String mLine = in.readLine();
              while (mLine != null){
                   System.out.println(mLine);
                   mLine = in.readLine();
              }}catch(Exception e)
              {System.out.println(e.getMessage());
              String []data = mLine.split("\t");
              double loan = Double.parseDouble(data[0]);
              double interest = Double.parseDouble(data[1]);
              int term = Integer.parseInt(data[2]);
              System.out.println(loan+interest+term);
    afterwards i would like to break this up into three methods to feed the values to a calculation class

    Take a look at your while loop. It continues to loop as long as mLine != null. Therefore it stops looping when mLine IS = null. So can you now see why the following line of code would cause problems?
    String []data = mLine.split("\t");How is the data stored in your file? Is it a single line with the three values separated by a tab? If so you can do away with the while loop and just call readLine() once. Otherwise you will have to process each line you read inside the while loop.
    P.S. use the code button when posting code. There is a button above the textfield when use post a reply.

  • Change Date for Order Item Partner Changes

    When I make a change to a partner on an Order Item the Change Date VBAP-EDATU is not populated.  can anyone recommend a way to have this field filled for all changes to any fields on an Order (header and Item)?

    It can be done by WF, Why you need a warning message?
    Anyhow check badi
    PT_GEN_REQ or PT_ABS_REQ,

  • "Stocks" App posts wrong dates for news articles

    I often read the news articles shown under the stocks that I own. I have noticed that with the iPod's included Stock app, the date of the news articles are not accurate. I go to read what I think is a recent news article, only to find out that it is a month old. I also notice the same old news headlines each day being refreshed with the current day's date again and again.
    Just reporting this as a bug and an annoyance, making the Stocks App provided with the iPod basically useless.
    Are there any known solutions other than using a different Stock app?

    I know i posted a similar post earlier this week. But the tutorial I got pointed at didnt work for what im trying to accomplish...
    The other post (marked as answered) that didn't help the OP was the same reply...  

  • Where is credit card data for orders stored?

    I am trying to do a little research/auditing. I want to look at what credit card orders exist. And, what has been billed to the Credit Card company.
    Or, does someone know of a report that I can use that will show that?
    Thanx in advance for your help.....

    Hi,
    Please see these documents.
    Note: 399748.1 - SQL To Identify Valid/Invalid Credit Card Numbers
    Note: 733415.1 - How to Mask or Encrypt Credit Card Number in OE_ORDER_HEADERS_ALL Table?
    Regards,
    Hussein

  • Billing date for orders

    Dear gurus
    i have an issue    i have 1000 sales orders, billing dates are different but my user want to bill them all in today's date (same day) only how can i do
    thanks in advance

    Go to VF04, maintain the required Billing Date in Default Data tab and execute.
    G. Lakshmipathi

  • I am posting data for va01 and va02 using BDC session,what happens if

    Hi,
    I am posting some data for va01 and va02 using BDC session,but what happens  if i try to post same data using call transaction.

    Hi,
    That is just another method. You can post the data using Call Transaction as well.
    Just give it a try and in case you face some problem revert back with your issue.
    We will help you to solve the same.
    Hope this helps!!!
    Regards,
    Lalit

  • Sale date for new Ipad 2

    I am in Singapore now and want to know the date for ordering the new Ipad 2 and the hour since there is such a big time difference.

    Hi,
    March 11 at 5pm. I assume they are referring to Pacific time given Apple's headquarters in Cupertino.
    See the online store for more info.
    http://www.apple.com/ipad/how-to-buy/
    Carolyn

  • Sales order takes Translation date for exchange rate calculation

    Hi
    I am creating the debit memo request via DP91 with reference to the contract. In the debit memo request pricing date has been set as current date but transaltion date has set the contract transaltion date.  Debit Memo request document currency is EURO, local currency is GBP and condtion currency is CHF. 
    In this scinerio in order exchange rate has been calculated against the transation date insted of pricing date.
    Can you please advise why the system behaving like this.
    Thanks & regards,
    Siva.

    Mike,
    I assumed your question is for an additional local currency for a company code (this can be changed in OB22).  For the first local currency, the translation date type in OB22 is always set to 3 (Translation Date) and cannot be changed (hence, greyed out).  Following that, in accounting entry transactions (for example FB01), you will see a field (Translation Date) where you can specify a date for which you want the system to fetch exch. rate from the exch. rate table.  In your situation, you will have to enter 'document date' there.
    PS: The reply above by Ravi applies only to tax items' translation, not for all items.  He is basically talking about the indicator that you see in OBY6.

  • Why we create settlement profile. What master data must exist in sap before creating settlement profile for order.

    Why we create settlement profile. What master data must exist in sap before creating settlement profile for order.

    As mentioned above, settlement is to post the cost to cost centers or any possible receivers as per the settlement profile. PM / Service orders, WBS elements, etc., can be temporary cost bearers from which cost should be settled to some permanent receivers.
    Cost elements / Cost element groups should be available as Master data before configuring settlement profile.
    To answer your latest query, there are 2 type of cost centers.
    Sender Cost Center - Against this, labor / internal activity price will be maintained in KP26. This cost center will be maintained in PM / PP work centers. While creating PM / PP orders, one of the work centers & activity types will be mentioned. Based on the KP26 entry for the combination of Activity type & Sender cost center, price will be picked & calculated according to work hours / labor hours maintained in PM / PP orders.
    Receiver Cost Center - Receiver cost center is the department / location cost center to which cost should be settled. Only receiver cost center will be maintained in settlement profile. Sender cost centers will be picked up automatically from work center.

  • Baseline Date for Due Date Calculation required for S/L indicators

    Hello,
    Iu2019m facing the following problem
    Iu2019m trying to insert an invoice (using a customer master record) but the system blocks me because the field ZFBDT (Baseline Date for Due Date Calculation) is a Required entry.
    The strange thing is  that if I use a S/L indicators the field is mandatory, if not the date may be defaulted.
    I checked in OB41 but there are non differences between Special PK and normal PK.
    Any ideas?
    Thanks in advance
    Alberto

    Dear Alberto,
    the field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
    It is controlled by field attribute of screen painter (Tcd: SE51).  If
    you look at element attribute for "Due On" field, a flag for required
    entry is activated.  In this case, field status has no control over
    the field.
    As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
    to be mandatory and cannot be influenced by any field status
    changes. This situation is only valid when posting with special G/L
    indicator (ie PK 29/39).
    SAP development team has determined that this is a critical field.  The
    reason behind this is that this special GL screen and the data entered
    here are very important to many other programs. This data affects
    liabilities and receivables where due date is necessary almost
    everytime. Thus, we changed this field in this screen in order to
    prevent problems in many other areas. The reason is explained further
    in note 95079.
    I hope this helps You.
    mauri

Maybe you are looking for