Not getting the right posting key..

hey,
i am posting accounts payable data using the bapi BAPI_ACC_DOCUMENT_POST.
my logic arrives at two values
   blart  = 'KG'.
   newbs1 = '21'.
now how do i pass this to the bapi, which structure , which field, so that i get the posting key as 21 in the GL acct line item ??
i am always getting 31 and 40 as the posting keys... now i need 21 and 50..
thnks

hey Sudarshan, I traced the BAPI and found out that it is the amount being positive or negative along with the doc type that determines what  the posting shud be..so when i set the doc type say as KG and pass a +ve value, posting key 21 is set , for -ve value posting key 50 is set. i was abt to achieve the result by changing the signs for the currency amt..worked..

Similar Messages

  • I'm not getting the right "Home" page for Itunes.

    I had my hard drive replaced about six months ago.  I have all my the music that I want on my Iphone 3G and is backed up on my PC.  I haven't synced by Iphone to the computer since the drive was changed. I use another charger that I have plugged directly into an outlet.
    The first picture below is what it should look like AND WHAT I WANT.  The second is what I get when I open Itunes.  I added a CD and a few voice memos while trouble shooting this.  I have around 45 CD's of music on my Iphone and I can listen to them.  When I sync my Iphone, which it does automatically, I can transfer photos to my computer but not vice versa.  I don't get this first picture I get the second.  Also this second screen does not recognize the music I already have on my Iphone and does not put the one CD from the second picture onto my phone.
    I've removed Itunes from my computer and then reinstalled it.  I thought that would solve the issue.  It didn't.  I got the second picture when I connect my Iphone.  Is there some version of Itunes that I don't know about?  Why would I not get the screen in the first picture below?
    Can anyone shed some light on this and help me figure out what to do?
    Any help would be greatly appreciated!!!  THANK YOU!!!

    - plug in your iPhone
    - on your keyboard press "Control" & "S" together, this will bring up the side bar on the left hand side
    - select the name of the iphone underneath "devices"
    Now you should be on the summary page.

  • I can not get the right frequency out of my NI-DAQ 6062E card from Matlab

    Hi.
    My name is Johan and I want to generate an analog square waveform with 5.76 kb/s in frequency with my NI DAQCard-6062E from Matlab.
    When I run in Matlab the program below, I get the frequency of 5.747 kb/s on the output channel (even thou I have chosen 5.76 kb/s). When I try to change the sample rate, to higher values in Matlab, I get the same frequency until I choose the sample rate to 5.79 kb/s. The output signal is in that case is 5.813 kb/s.
    So my problem is that I can't get the exact frequency of 5.76 kb/s.
    How do I solve this.
    Thankful for help.
    Best regards, Johan
    Program in Matlab:
    clear all
    openDAQ=daqfind; %Detect any open DAQ channels
    for i=1:length(openDAQ), %Close any open DAQ channels
      stop(openDAQ(i));
    end
    ao = analogoutput('nidaq',1); %Create an object for analog output
    addchannel(ao, [0 1]);
    set(ao, 'SampleRate', 2*5760); %Here the sample rate is specied. 2*, because to get right samplerate
    y=[80,-80] %Sets theoutput values to 80 and -80 (As -1 and 1)
    putdata(ao, [y' y']); %Sends the values to out buffer
    set(ao,'RepeatOutput',inf) %Repeats sending in infinity
    set(ao, 'TriggerType', 'Immediate'); %Choose trigger to immediate, because sending values shall occur driect after start command.
    start(ao);
    %stop(ao)

    Hello Johan!
    Bad news I am afraid….
    I assume you are using the Data Acquisition Toolbox from the Mathworks and when it comes to support on that interface I have to advice you to contact the Mathworks for assistance. We don't provide any support on their data acquisition interface since we have nothing to do with it.
    Sorry for the inconvenience this might cause you.
    Regards,
    Jimmie A.
    Applications Engineer, National Instruments
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • Q:Date link not getting the right date in calendar

    Gang,
    I have enabled the day link on my calendar so the user can click on the date in the month view to get to a form page where they can add records.
    My day_link looks like this:
    f?p=&FLOW_ID.:2:&SESSION.::&DEBUG.:2:P2_TRAINING_DATE:#TRAINING_DATE#
    Where P2_TRAINING_DATE is the DATE I'd like to populate on page 2. The variable name that holds this date is called P2_TRAINING_DATE.
    If I hoover over the daylinks they display very strange dates and also if I click on the link the dates are wrong. For example if I hoover over 01-May the URL in the bottom of my browser displays the correct date but if I hoover over 02-May it displays 05-May instead.
    What am I missing, should I not use the #TRAINING_DATE# variable?
    Oh, this application is running on apex.oraclecorp.com so it's version 3.1.
    Cheers,
    Andy

    Hi Andy,
    Change the day link to pass #DD#/#MM#/#YYYY# (UK format, so change if another format is required).
    This will pick up the date from the calendar rather than your data.
    Andy

  • Analysis not getting the right value off ADM Tool

    Hello people,
    I'm trying to do one difficult thing, but, first of all the simple thing is not working.
    In ADM tool, I have this logic column: avg(Fact_AGR_ESCOPO_MEDIAPPM.MEDIA_PPM_TIPO)
    The physical table that have this attribute is: TFAGR_ESCOPO_MEDIAPPM
    When I do this Search:
    SELECT DISTINCT T3.TIPO_PTB, T2.NOME, T1.MEDIA_PPM_TIPO FROM TFAGR_ESCOPO_MEDIAPPM T1
    JOIN TD_ESCOPO T2 ON T1.ESCOPO_SK = T2.ESCOPO_SK
    JOIN TD_MOTIVO T3 ON T1.MOTIVO_SK = T3.MOTIVO_SK
    WHERE T2.ESCOPO_SK = 1;
    I get this TIPO_PTB:
    Complaint and Não Complaint.
    Now, when I go to the analysis and use the MEDIA_PPM_TIPO att, I got all the TIPO_PTB, not only the Complaint and Nao Complaint.
    Someone know whats is this or how I can search for the problem ?

    The problem was because I'm trying to use some aggregation rule.
    When I put none to aggregation rule, I got only the representation of the DB.
    But now, I have another problem and is my initial problem:
    How can I spread one value to anothers, always getting the last value by month ?
    Example:
    JAN FEB MAR
    10 20 5
    JAN FEB MAR
    5 5 5
    This is what I want. Always spread the last value base on month to the others (The filter is not a good solution because the prompt changes and the last month will not be the same)

  • Hi Guys,,I am not getting the right output?Plz help

    Hi Guys,
    Here is my code..
    ELSEIF p_versb  = 'W2'.
        CONCATENATE lv_perxx '08' INTO lv_date3.              (20090708)
        CONCATENATE lv_perxx '15' INTO lv_date4.              (20090715)
          SELECT  mseg~mblnr
                  mseg~bwart
                  mseg~matnr
                  mseg~lgort
                  mseg~menge
                  FROM mseg
                  INNER JOIN  mkpf
                  ON msegmblnr = mkpfmblnr
                  INTO TABLE t_temp
                  FOR ALL ENTRIES IN t_firmplan
                  WHERE mseg~matnr = t_firmplan-matnr       (490045,500001)
                  AND mkpf~budat GE lv_date3
                  AND mkpf~budat LE lv_date4
                  AND mseg~bwart IN ('101', '102')
                  AND mseg~werks = t_firmplan-werks.        (werks = 1100)
    Plz suggest where I m wrong ?
    Thanks
    Steve

    Hi,
    Check the
    SELECT mseg~mblnr
    mseg~bwart
    mseg~matnr
    mseg~lgort
    mseg~menge
    FROM mseg
    INNER JOIN mkpf
    ON mseg~mblnr = mkpf~mblnr
    INTO TABLE t_temp
    FOR ALL ENTRIES IN t_firmplan
    WHERE mseg~matnr = t_firmplan-matnr (490045,500001) " Check the matnr value in the MSEG table if it storing with
                                                  "  leading zero's then use the conversion exit to get the leading zero's
                                                  " in  t_firmplan-matnr
    AND mkpf~budat GE lv_date3
    AND mkpf~budat LE lv_date4
    AND mseg~bwart IN ('101', '102')
    AND mseg~werks = t_firmplan-werks. (werks = 1100)

  • I screwed up when I registered for firefox sync, and did not complete the registration and did not get the log in key. Now it says my e-mail address is in use and I cannot reregisted with my e-mail address. How can I fix this?

    I am trying to sync my iphone

    Go to the following address: https://account.services.mozilla.com/
    If you DO NOT remember your password, press the "Forgot your password?" link and it will be sent to the e-mail address that you used for registration.
    Enter your e-mail address and your password. Follow any additional prompts. '''This should remove your account and all Sync data associated with your account from the servers.'''
    Then, set up a new account.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Not getting the right quantity in select

    Hi,
    My company stores each week's transaction in one dbf table, thus, creating around 53 tables per year. I try to move the tables into one big table (bigTable) in mysql. I created a Java program to select the data from dbf (visual foxpro dbf driver) and insert into mysql using JConnect. After I finished inserting into mysql, I used Visual Foxpro and I do a:
    SELECT sum(quant) from week532000.dbf
    and obtained 52843.6, which I considered it the correct result.
    * Note that 'quant' is of type Numeric in dbf.
    However, when I do this with mysql client:
    SELECT sum(qunt) from bigTable where date_ between '2000-12-25' AND '2000-12-31'. I obtained 52977.6, which is different from the original result.
    To troubleshoot this, I created a small program just to select the 'quant' field and obtained the sum. It turned out that when I ran this program, I obtained a different sum (although I was selecting from the same table):
    Example:
    sum of quant is 52977.6
    sum of quant is 52890.1
    sum of quant is 52837.6
    double q, qt;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con1 = DriverManager.getConnection("jdbc:odbc:daydata", "", "");
    st = con1.createStatement();
    rs = st.executeQuery("SELECT quant from wk532000 where quant <> 0");
    while(rs.next()){
    qt = rs.getDouble("quant");
    q = q + qt;
    rs.close();
    st.close();
    con1.close();
    } catch(ClassNotFoundException e){
    e.printStackTrace();
    catch(SQLException e){
    e.printStackTrace();
    System.out.println("sum of quant is "+q);
    Why a different sum was produced each time the code was run? Any feedback is appreciated.

    what do you mean timestamp?One of the following is true.
    1. You have a field in the database that holds a timestamp (a date and a time.) That is because that is the only thing that databases allow.
    2. You have a varchar/char field that has a date in in as a string.
    If the second is the case then the problem has nothing to do with java. It is one of the following
    - Your migration is not migrating everything.
    - Your comparisons are not equivalent in terms of functionality.
    If the first then it could still be one of the above problems but it could also be because the timestamp values are not equivalent.

  • I can not get the bookmarks tab to open

    I just installed firefox on my new laptop. I can not get the bookmarks tab to open. I also can not get the right mouse button to open the copy, print, etc menu.

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • HT1535 I do not get the "add to"' button on the right of the screen to add items to my iphone.  Help?

    I do not get the "add to" button on the right side of the screen to add items to my iphone.  Help?

    Please see your other post for an answer.  Thank you.
    Opening PDFs on iPad

  • Hello.   I m not getting the "tap to post"     On the notification bar when i slide from the top

    Im not getting the tap to post in notification bar. 
    I m using ipad 4

    Hey. Help me with this also
    Does the ipad 4 have weather and the stocks app.   By apple.
    Cuz i dont have in the ipad 4

  • How can I get the right click to work in firefox -- it works in internet explorer

    how can I get the right click to work in firefox -- it works in interne

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Shared windows printer - may not be the right section

    Hi all - sorry if I do not have the right section to post this in but I have come to the end of my calm period for trying to get this to work.
    I have a canon iP4200 that is connected to a windows XP box and is setup to be shared. Now I have been asked to get the mac to print directly to the printer through windows with not much luck. At the moment the setup is through a hub with file, printer etc sharing enabled. I have followed some topics on the support site to try and get it to work but with no luck.
    So i guess I have to ask:
    1. Is it even possible to make this work
    2. if it can be done any help would be extremely appreciated as I am pulling my hair out!
    Also my windows firewall is off and I have been able to brouse my windows network from mac and vice versa.
    Thank you so much in advance.

    I recently had this issue myself. What you need to do is toss in your Windows XP Install disc on the XP Box, and go to Add / Remove Programs, then Add Windows Components, and from there do other network services, and do unix print services. After that's installed, you'll be able to print to it just fine.

  • I can not get the new updates because my start disc and hard drive are full, I need 1.98 GB.

    I can not get the new updates because my start disc and hard drive are full, I need 1.98 GB.

    Some folks recommend OmniDiskSweaper to allow you to review your stuff to find possible candidates to throw away.
    Even if you throw away some stuff and your desired "1.98GB", then what?  If that's the number you need for the update, you'll just use most or all of the reclaimed space with the update and you are right back to where you started.
    You don't specify what kind of machine you got but presumably it's a mac pro since you posted in the Mac Pro community.  In which case just get yourself another drive or two and move stuff around to free up your boot drive.
    [Perhaps you should hurry too since I expect hdd prices might be going up due to possible impending hdd shortages.]
    Finally, if some of those updates are major system updates you want extra drives for backups because I always recommend you never do major updates to your system without backups to that system.

  • Qosmio F750-10N and Win8.1 - haven't been able to get the right BT drivers

    Hi,
    Since upgrading my HDD and installing Windows 8(.1), I haven't been able to get the right Bluetooth drivers for my Qosmio F750-10N.
    If I go through the download drivers section of the site, the drop down boxes for Language and region seem to be faulty so it won't show me any drivers.
    Tried installing a generic Toshiba Bluetooth stack but it doesn't seem to be able to recognise my actual Bluetooth device. Also tried going through the Atheros site without much luck.
    Please could someone help or possibly post a link to a download mirror.
    Thanks very much.

    Hi
    First of all it seems that Win 8.1 is not supported for Qosmio F750.
    Therefore I could be difficult to get BT working
    However, as far as I know the Qosmio F750-10N was equipped with an Atheros AR9285 WLan/BT combo card.
    This means that one module shares the WLan and BT and you need to install the Atheros BT Filter driver.
    Beside the BT filter installation you have to install the Toshiba System Driver for Win 8.1
    This system driver needs to be installed before BT filter driver.
    But as I said: Win 8.1 is not supported for this Qosmio unit and you will not find Win 8.1 drivers in the F750 driver download section.
    But you should try the drivers released for other, newer Qosmio series; i.e. X870
    Good luck

Maybe you are looking for