VPKO_INIT_BY_VBELN behaves differently in different programs

Hi All
I am using
  CALL FUNCTION 'VPKO_INIT_BY_VBELN'
    EXPORTING
      i_vbeln       = l_vbeln
      i_vpkus       = '01'
      i_mode        = 'V'
    TABLES
      it_posnr      = lt_posnr
    EXCEPTIONS
      input_error   = 1
      init_error    = 2
      pricing_error = 3
      OTHERS        = 4.
  IF sy-subrc <> 0.
    RETURN.
  ENDIF.
  CALL FUNCTION 'VPKO_GET_SD_ALL_ITEMS'
    TABLES
      et_rsthie_sd       = lt_rsthie
      et_rsttxt_sd       = lt_rsttxt
      et_items_sd        = lt_items
    EXCEPTIONS
      input_error        = 1
      po_not_initialized = 2
      OTHERS             = 3.
  IF sy-subrc <> 0.
    RETURN.
  ENDIF.
in 2 programs. All the parameters are of the same data type and called the same way. There are no set paramters before the   CALL FUNCTION 'VPKO_INIT_BY_VBELN' statement
For the same data, one of the programs returns more number of lines on the lt_rsthie table.
When I debug Function module 'VPKO_INIT_BY_VBELN', it inturn calls 'VPKDPP_GET_DI_WITH_VALUES' and returns internal table PRICEOBJ-DI_HIER which has different number of rows when called from different programs.
Any ideas is very much appreciated
Thanks in advance
Sriram

Check the piece of code you have posted and by the way DP 91 transaction is not solely owned by Project System (go through the RRB process once and that should ring a bell for you too).
Anyway good to see that you got your issue solved and i am pretty sure that it had nothing to do with Project System.

Similar Messages

  • I have bought my husband his own i pad and we both need to use our own on a shared computer. will the two apple IDs show as separate on the i tunes or do I need two different I tune programs?

    I have bought my husband a new I pad and we both need to use our own on a shared computer. Will the two different Apple IDs show as separate on the i tunes program or do I need two different i tune programs?

    Each device is different and will only sync what you select

  • Can no longer see projects in library viewer in imovie '08 and need to find a different apple editing program

    Can no longer see projects in library viewer in imovie ’08 and need to find a different apple editing program
    I had approximately 15 projects that I can no longer see in imovie. I have read almost every thread on this community for imovie regarding error messages associated with looking for clips. In each case I have rebuilt the project.  However, today I continually received a message to search for a .dv file. I have located the file and even changed the .dv file to .mov file and yet none of my projects will appear. I have rebooted, deleted the plist and nothing works.
    I was planning on buying a new Mac in 2014 with new editing, and use my old Mac as a backup for imovie files. Very frustrated that I can’t work with any projects now! I se the files in my Movies/imovies/iprojects folder but they don’t appear in the viewer.
    Does anyone have a suggestion on how to get back my projects into the viewer? Or, can someone recommend a basic program compatible with imovie 08 that I can use to import my exiting projects into?

    No, Wasn't sure if I could continue to upgrade to 9.0.9 since my Mac is relatively old.
    Just don't understand why I have to keep starting a project over and over again. As I type this, the imovie icon is jumping and asking for "clip 135-02-05-05;27:15" cannot be found. Without this file, the movie cannot play properly."  I have located this clip and pointed imovie to the clip, and nothing happens. I even try to locate the corresponding clip in the event viewer but it is not there.
    Today is the first time I have not been able to see my projects in the viewer.

  • Please tell me the different events in program

    Hi,
    Please tell me the different events in program
    Saurabh Garg

    •     INITIALIZATION
    •     AT SELECTION-SCREEN
    •     START-OF-SELECTION
    •     TOP-OF-PAGE
    •     END-OF-PAGE
    •     END-OF-SELECTION
    <b>
    •     AT SELECTION-SCREEN ON <field></b>
    Additions
    1. ... ON psel
    2. ... ON END OF sel
    3. ... ON VALUE-REQUEST FOR psel_low_high .
    4. ... ON HELP-REQUEST FOR psel_low_high
    5. ... ON RADIOBUTTON GROUP radi
    6. ... ON BLOCK block
    7. ... OUTPUT
    <b>Interactive Events</b>
    •     At line-selection
    •     At user-command
    Message was edited by: Ashok Parupalli

  • Add-On behaves strange on different clients !

    Hi all,
    I created an add-on and tested it on a "Windows 2000 server" installed client and works perfect. It also works on a client with XP Pro Turkish SP2, .Net 1.1
    BUT it behaves strange on different clients e.g
    Client 1  (XP Pro Turkish, .Net 1.1)
    +*Add-on setup screen appears, installation ends succesfully
    *Files are copied in Sap Manage/Sap Business One/AddOns folder.+
    But
    1- The green status bar confirmation doesn't appear .
    2- Add-on isn't listed under Add-On Manager menu point.
    So I can't run the add-on anyhow, even it's configured as automatic.
    Client 2 (XP Pro English SP2, .Net 1.1)
    +*Add-on setup screen appears, installation ends succesfully
    *Files are copied in Sap Manage/Sap Business One/AddOns folder.
    *The green confirmation appears in status bar.
    *Add-on is listed under Add-On Manager menu point and I can start the add-on.+
    BUT the add-on doesn't work , I mean it doesn't do what it should normally do, e.g. add 2 submenus in main menu, etc.
    For all these add-on installations I use the same Add-On setup ard and exe files.
    Any help/tip would be greatly appreciated,

    Hello there
    We have finally succeeded in solving the Menu creation problem.
    I hope you have the same issue as we, so I will be able to help you.
    Just to make sure...
    We have developed an add-on composed of some menues and after installing it, we noticed that in some stations, the menu was not creaed, though the add-on showed that It was connected.
    Actually the problem is that the application doesnt succeed in connecting to the DI.
    our "add menu" method was called after calling to "company.connect()"
    whice was stuck during the try to connect to the company.
    thus- it never arrived to the "add menu"
    What you should do is, go to a working client:
    1. start --> ran
    2. %temp%
    you will find there a directory called: SM_OBS_DLL
    copy it, and replace it with stations that dont work.
    3. It should solve the problem.
    rgds
    Hagai

  • AE 3D axis orientation is different from 3D programs?

    Here is something that has been bothering me forever:
    Is the AE x y z coordinate system aligned differently from 3D programs such as Blender or am I just stupid?
    In blender, the blue Z-arrow points up (vertically) in the front view. But in AE it's the green Y arrow that is pointing up.
    I really thought these were agreed upon standards (after all coordinate systems have existed way before any computer programs),  so it might be that I'm missing something here. Are the coordinate systems really different between AE and other 3D applications (like Blender)?
    Thank you!

    Actually Blender is the odd one out here. Most other 3D animation programs use the Y is the world up axis. On the other hand, Z up is traditional in CAD since it is assumed that plans are drawn in the XY plane in the top down elevation. So in fact neither is wrong in the specific context. And image processing programs traditionally use XY with the origin in the top left corner because that is how CRT tubes work and how any image needed to be drawn in the dark ages of computer graphics, hence most image and video formats still use that today. And you are mistaken - there is no "standard" here, it's all tradition/ habitual use of these things....
    Mylenium

  • Thread is behaving differently on different machines??

    Hi
    I am developing a Java Swing application, which launches an external exe.
    Then I am using a Thread to monitor whether the launched exe is running or terminated abruptly by using its PID. If it terminates then the thread shows a msg box.
    Everything works fine in my machine and in few other machines.
    But the same thread stop abruptly on some other machines... and displays the msg box even though the exe is running correctly.
    And I heard thread behaves differently on different CPUs'.
    How to handle this situation??
    Please help.
    This is my code:
    public class SolverPoller implements Runnable
            String solver = null;
            int PID;
             * Constructor to initialise the Thread
             * @param programName - Solver execuatable name
             * @param pid - Process ID of the running solver
            SolverPoller(String programName, int pid)
                solver = programName;
                PID = pid;
                //reset the blnClosedAbruptly
                blnClosedAbruptly = false;
            public void run()
                File deleteFile = null;
                try
                    //if the stored PID and refreshed are same
                    //Continue waiting
                    while(checkPIDOfSolver(String.valueOf(PID), solver))
                        //sleep for a sec
                        Thread.sleep(1000);
                    //When the solver process terminates
                    //interrupt ProgressBarIncrementer Thread
                    inc.interrupt();
                    if(Delia.getProcessorType() == 'T')
                        deleteFile = new File("TIP3DSolver.res");
                    else if(Delia.getProcessorType() == 'S')
                        deleteFile = new File("SPLITVISSolver.res");
                    if(!deleteFile.exists())
                        //set it to true, indicating solver terminated abruptly
                        blnClosedAbruptly = true;
                        progressBar.setValue(0);
                        progressBar.setStringPainted(true);
                        progressBar.setString("0%");
                        progressBar.repaint();
                        JOptionPane.showMessageDialog(DentonIntegratedToolApp.getDentonInstance().getFrame().getContentPane(), "Solver terminated abruptly!", "Solver Error", JOptionPane.ERROR_MESSAGE);
                catch(InterruptedException ie)
                catch(Exception e)
                finally
                    deleteFile = null;
        }Praveen

    I'm not sure if this matters, but it appears that you are calling Swing methods off of the EDT beginning with "progressBar.setValue(0);". What happens if you wrap those calls in a Runnable and call them with SwingUtilities.invokeLater(...)?

  • Vendor Name Appearing Different for Different Line Items in FBL1N

    Hi,
    I am executing FBL1N and changing the layout to include the Vendor Name in the line items. But when the line items are appearing, the Vendor Name is appearing different for different documents. I wish to see from where the system is picking up the name, so that I can rectify this. But since the layout is being changed after the report is executed, the debug window is taking me in this. Can someone help me please how to debug so that I can see from where the name is coming?
    Thanks and Regards,
    Sameer Joshi

    Hi Raymond,
    Yes it was due to the BADI.
    Thanks for your reply.
    Thanks and Regards,
    Sameer Joshi

  • How can we choose to have different apps, different playlists, different contacts, etc., on each device., while using one itunes to sync more than 1 iphone

    How can we choose to have different apps, different playlists, different contacts, etc., on each device., while using one itunes to sync more than 1 iphone

    Use Multiple Devices with One Computer
    How to use multiple iPods, iPads, or iPhones with one computer

  • Can you have different accounts (meaning different passwords, different countries/store) with the same apple ID (only one e-mail address)?

    can you have different accounts (meaning different passwords, different countries/store) with the same apple ID (only one e-mail address)?

    thank you for your reply, it is not very fair from apple, since for not using your credit card, you need to create a new account and if you do not have multiple e-mail  working , you are stuck! thanks anyway

  • I'm a new user. My fonts look different on different browser!

    Hi,
    I have created a simple site and the fonts that i use in dreamweaver appears different on different browser after i uploaded the page.
    Can anyone please tell me why?
    i tried uploading the truetype fonts too but didn't work.
    Please help? Thanks alot.
    cheers

    Are you using web safe fonts?  If you are not, then different browsers can render the text differently. There is no need for you to upload any fonts.
    The problem arises too, if someone hasn't got a font that you may have used, their computer will use the default font in their browser.
    Here's a list of web-safe fonts:
    http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
    If this isn't the issue, then maybe post a link to the problem pages.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Same float code compiled differently on different machines

    Hi,
    Scenario:   same project build on different machines. and then both the  application executed on
    same machine .. giving  slightly different results..(like 23.07499   to 23.07500)
    project involves many float operations.  project build on vs2013. c++
    there is difference oberved in the final value of float calculations..  like 23.07499   to 23.07500
    seems , Same float code compiled differently on different machines,  any input
    Regards,
    james

    >Scenario:   same project build on different machines. and then both the  application executed on same machine ..
    giving  slightly different results..(like 23.07499   to 23.07500)
    Do you get consistent results with the same executable each time you
    run it?
    Assuming you do, and the only difference is the EXEs, what's the
    difference between them - there must be something. Have a look at "How
    to compare binary images of the same project builds"
    https://support.microsoft.com/en-us/kb/164151/ and see if that sheds
    any light onto the issue.
    Dave

  • Why same custom designed item looks different on different MIDP phones?

    Same MIDP application looks different on different phones, which is obvious. But the sizes of custom items are also looks different, which is some thing trouble some. IE the custom designed button of size say 50 X 20, looks proper on BlackBerry MIDP phone, but same button looks very small [cant even recognize] on Nokia MIDP phone. Why it is so?
    Is there any way to design items as per the phone dimensions? Regards.
    Note: I want to get standard item size, font size etc. so that I can use them directly. In this case on every device the designed items will look proper
    Edited by: nikhil_shravane on Aug 21, 2010 04:27 AM

    The look depends on mainly three things, the screen size, screen resolution and dpi. Although dpi is related to the ration of screen size and screen resolution. If the dpi is higher, the same image or item will look smaller than from a device which has a lower dpi. Like the iPhone and BB Bold both has almost identical screen resolution, however Bold has a higher dpi so the same image or a html page looks smaller on Bold than it is in iPhone.
    Regards,
    SD

  • IPhoto 2011. Created an album from different cameras (different filenames), placed pics in order in album but want to export into new folder on desktop in same order. Can I number the pics within iPhoto to reflect that order, or simply export in order?

    iPhoto 2011. I have created an album from different cameras (different filenames), and placed pics in order in the iphoto album but want to export into a new folder on the desktop in that same order. Can I number the pics within iPhoto to reflect that order, or simply export in order? 
    Thanks!

    File -> Export, and note the options under File Name
    Another way:
    Here's one (of several) way(s) to do what you want:
    Make an Album of the photos, then drag the pics into your preferred order.
    Then Photos Menu: Batch Change -> Set Title to Text "John's Birthday", for instance, and tick the box to append a number to each Photo. Now your photos are titled 'John's Birthday 001, John's Birthday 002 ... etc'
    Then File -> Export and in the Export dialogue set the Filename to "Use Title"
    Sort on Filename in the FInder and you end up with a folder full of images in the same order as the Album in iPhoto.

  • I have a column in a Numbers document that currently only contains a number--the numbers are different in different columns.  Before each number I want to add the words "Pack Qty."  How would I do this?

    I have a column in a Numbers document that currently contains a number and that number is different in different columns.  I want to add the words "Pack Qty" before each number in the column.  How do I do that?  I'm using Numbers '09 on a brand new Macbook Pro.  Thanks!

    In an adjacent column add the formula:
    ="Pack Qty: "&<CELL>
    where <CELL> is the cell in the same row where the quantity is,
    Like:
    E2="Pack Qty: "&D2
    select, and hold,  the little circle at the bottom right corner of the selction, then drag down

  • HELP! Please :) my website looks different in different browsers. Link boxes are showing in IE!!

    Please help me!  I'm pretty new to web design.  Built this website from scratch - designed in photoshop and put together in dreamweaver.  I launched the site and it looks great in safari, but had a friend look at it with explorer and the blue link boxes (the one that lets you know you have something linked in dreamweaver) are showing up on the interent explorer browser and I can only assume there are issues in other browsers as well.  Please help if you can.  Here is a link to my website:   www.shandryntrumble.com  Thanks

    Thanks for your help!Should I create an external style sheet?  I'm still unsure of where and what to put in the document.  Where are the CSS  tags?  And what exactly do I place in them?  Sorry, I'm so new to this.  Thanks for your patience.
    Date: Fri, 22 Mar 2013 10:13:43 -0700
    From: [email protected]
    To: [email protected]
    Subject: HELP! Please my website looks different in different browsers. Link boxes are showing in IE!!
        Re: HELP! Please my website looks different in different browsers. Link boxes are showing in IE!!
        created by Nancy O. in Dreamweaver - View the full discussion
    Bad information.  You don't need a class for this.  Simply add the following CSS code to your style sheet.  An external style sheet is preferred but it if you don't have one yet, add this code to the CSS inside the  tags of your HTML document. /*remove borders from all linked images*/a img    Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5170378#5170378
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5170378#5170378
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5170378#5170378. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Unable to open files

    When I attampt to open a file in Bridge or from File\Open in Photoshop CC I get the following message. Windows cannot find C:\program files (86) Adobe\ Adobe Photoshop CS3\Photoshop.exe. I uninstalled CS3 and my CS5 update a couple of months ago. Thi

  • 8220 External Display

    Up got an 8220 flip phone and installed the BB Desktop Manager.  Manager indicated that software updates to v4.6 were available and I updated.  Now the external display no longer displays the time but my servicer provider's logo.  I have been all thr

  • IPhoto wont allow restart for updates

    1st Instal iLife 2nd Open iPhoto , it says I need updates so I install them 3rd Computer says " You need to restart" and presents a nice window to restart. 4th New window pops up that says iPhoto wont let you restart. 5th Growl and force quit What's

  • Login Issues with World of warcraft

    So here is my issues.... Several weeks ago I had an issues with my MacBook pro locking up when I attempted to log in to World of Warcraft. As soon as the login info was inputted, and I pressed enter, the game froze at login but the game sound continu

  • TS2200 Cannot find a destination volume

    I am trying to erase and reinstall Snow Leopard on an old MacBook. I installed a new HD 2 years ago and used the computer problem free. I first tried to erase the disk, but I was getting an input/output error. I found on this site that it might take