L_TO_CREATE_TR testrunresult differs from programresult

Girls,
I use L_TO_CREATE_TR to create a TO refering to a TransportRequest. Works fine, but the palletnumber that I store in IT_TRITE-NLENR does not show up where it should: in the resulting TO in the field NLENR (LT21, Tab Dest.data, field Dest.storage unit)
Ok, happens. But:
When I enter the exact same data in SE37 in the testrundata as is passed to the functionmodule in my program, the palletnumber is stored nicely in the new TO!!
Anybody for any tips how to solve this mystery?
Best regards,
Tim van Steenbergen

Hari, here you go:
This is the ABAP and the FM-call:
  data LT_TRITE   type L03B_TRITE_T.
  data WA_TRITE   like line of LT_TRITE.
  data GV_STORED  like VBAPF-QMENGE.
  clear: LT_TRITE, WA_TRITE, GV_STORED.
  refresh LT_TRITE.
  WA_TRITE-TBPOS = GT_LTBP-TBPOS.
  WA_TRITE-ANFME = GT_LTBP-MENGE.
  WA_TRITE-ALTME = GT_LTBP-MEINS.
  WA_TRITE-LETYP = GT_MARA-VHART(3). "3-character storageunittype
  concatenate '000000000000' LTAP-NLENR+10(8) into WA_TRITE-NLENR.
  "FM L_TO_CREATE_TR wants 20 characters
  if GV_DIR = 'N'.
    WA_TRITE-NLTYP = '120'.
    WA_TRITE-NLPLA = 'OVERDRACHT'.
  else.
    WA_TRITE-NLTYP = P_NLTYP.
    WA_TRITE-NLPLA = P_NLPLA.
  endif.
  append WA_TRITE to LT_TRITE.
TO aanleggen
  clear GT_LTAP_VB.
  refresh GT_LTAP_VB.
  call function 'L_TO_CREATE_TR'
    exporting
      I_LGNUM                        = GC_LGNUM_011   "LGNUM is '011' in my case
      I_TBNUM                        = GT_LTBP-TBNUM
      IT_TRITE                       = LT_TRITE
   importing
     e_tanum                        = gv_tanum
    tables
      T_LTAP_VB                      = GT_LTAP_VB
    exceptions
      FOREIGN_LOCK                   = 1
      QM_RELEVANT                    = 2
      TR_COMPLETED                   = 3
      XFELD_WRONG                    = 4
      LDEST_WRONG                    = 5
      DRUKZ_WRONG                    = 6
      TR_WRONG                       = 7
      SQUIT_FORBIDDEN                = 8
      NO_TO_CREATED                  = 9
      UPDATE_WITHOUT_COMMIT          = 10
      NO_AUTHORITY                   = 11
      PREALLOCATED_STOCK             = 12
      PARTIAL_TRANSFER_REQ_FORBIDDEN = 13
      INPUT_ERROR                    = 14
      others                         = 15.
  if SY-SUBRC <> 0.
    commit work."See FM L_TO_CREATE_TR docu: commit work is needed
    perform MELDT_DE_FOUT using SY-MSGID SY-MSGTY SY-MSGNO
                                SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  else.
This is how IT_TRITE is filled with a testrun in SE37:
TBPO      1
ANFME      1,000
ALT      KI
NLENR      79999688 "so, no leading zeros here in SE37
LET      BPH
All others empty.
Hopefully helpfull,
Best regards,
Tim van Steenbergen

Similar Messages

  • PS CS5 Image Display Differs From Used ICC Profile In Win 7

    Hi,
    on my Windows 7 Ultimate x64 machine, I just calibrated my Dell SP2309W monitor using an i1DisplayPro and basICColor 5, creating a ICC v2 profile (I am aware of the problems under Windows with ICC v4 profiles).
    It created the ICC profile and applied it to be used by Windows. I double checked under COLOR MANAGEMENT that the new ICC profile is being used. Although I can see that the new ICC is being used (desktop appearance changes), there are a few issues I am experiencing:
    (1.) Windows Photo Viewer
    The thumbnails in Windpows Explorer look fine (they DO use the new ICC profile), when I double click a jpeg and open the image it DOES NOT use the new ICC profile. When I click the PLAY SLIDESHOW button (starting the slideshow) in the opened image in Windows Photo Viewer, the images DO use the new ICC profile.
    (2.) Internet Browsers
    All current internet browser (Firefox, IE, Safari and Chrome) DO use the new ICC profile and display the image correctly.
    (3.) Photoshop CS 5
    When I open the same image - that Windows Photo Viewer does not correctly displays (according to the new ICC profile) - in Photoshop CS5, I get the same image display that Windows Photo Viewer gives me (when not thumbnail or not in slideshow mode) - it appears to be the sRGB display.
    My color settings in PS CS5 are: North America General Purpose 2 > sRGB IEC 61966-2.1.
    When I go to View > Proof Setup > Monitor RGB I get the image display using the new ICC profile.
    Why does the image look different in PS than my calibrated monitor should output ?
    I was under the impression (please correct me if I am wrong), that the sole purpose for calibrating my monitor was to get a uniform display across (ICC aware) applications. Even when one applies different color spaces to a document in PS, I thought the output on my calibrated screen done by the graphic card should always be according to my calibration and the settings in the ICC profile being used.
    What Am I doing wrong or what am I misunderstanding ?
    Any help or input is appreciated !
    Thanks.
    - M

    Hello,
    A note on monitor calibration: calibrating your monitor will not guarentee that every application will display color correctly, it's more of a step along the pipeline, and for the preview part of a color workflow it's the last step.  Here's how color translation follows for an ICC workflow when previewing to a monitor:
    Image Color Numbers > Document Tag or Workspace Profile > Monitor Profile
    For non-color managed applications, if the original document is or isn't tagged with a color profile it will be translated directly to the monitor profile anyway.  This is the equivalent in Photoshop of selecting "Monitor" in soft proofing.  Selecting monitor in softproofing will bypass the tagged or workspace profile to translate colors directly through the monitor profile.
    For most automatic color managed applications (like Firefox), the image will be translated through the tagged profile and then sent through the monitor profile.  If the image is untagged or the profile is unrecognized, the colors get sent directly to the monitor profile.
    For Photoshop, a tagged document will have its profile respected and then sent to the monitor.  An untagged document will be assigned the workspace profile, which acts like a temporary document profile, and then gets sent to the monitor.  This is often why users will notice Photoshop behaves differently from other applications.  It's usually a case of the workspace coming into play.  By default the workspace profile is set to sRGB.  You can change this in Edit > Color Settings.
    The purpose of the workspace is originally for printing workflows, as a way of keeping consistant color translations when dealing with both tagged and untagged documents.  For web output workflows it can be useful for viewing everything through sRGB, which is typical of the average monitor output (not so with newer wide-gamut monitors, another source of confusion...) combined with the fact that originally most web browsers were not color managed.  Hence viewing everything through sRGB is pretty close to what most monitors see and what untagged/unmanaged docs will look like.
    Monitor calibration is useful only because it brings your monitor output to a "known state".  In traditional workflows the monitor was always a middle-man, a preview device which was useful for getting an idea of what the printed output would look like before you print it.  Since print colorspaces are often smaller than display spaces, it's feasible and useful to narrow down the monitor/display space and calibrate it to a known state, so that even if it doesn't totally match the print, you'll get used to its differences/limitations and they'll be consistent so long as the calibration is maintained.
    For web output, your final output is often another user's computer monitor, which can have any form of behavior (most standard monitors are pretty close to sRGB, or use sRGB as an operating system workspace (default monitor profile).  Wide gamuts behave differently, but I'm not sure if there's a particular ICC space that they closely match, or if different wide-gamuts are even that close to each other in their display color spaces.
    Hope this helps!

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • ALV GRID - Handling selected rows? Sorting in OUTTAB is different from ALV

    Dear Experts ,
    I have a transaction with ALV grid. I have defined several application specific functions to the ALV grid tool bar. My requirement is to handle the ALV tool bar functions only for the selected rows.
    Code snippet:
    DATA:
    LS_GRID_DS TYPE TYS_DS.
    TYPES: BEGIN OF TYS_DS.
    INCLUDE   TYPE TYS_ALVGRID.
    TYPES: STRUCNAME LIKE DD02L-TABNAME.
    TYPES: PRETAB    TYPE ZTAB_T,
           OUTTAB    TYPE ZTAB_T,
           OUTTAB_HIDDEN TYPE ZTAB_T,
           OUTTAB_SUM TYPE ZTAB_T,
           OUTTAB_ROLLBACK TYPE ZTAB_T,
           END OF TYS_DS.
      LOOP AT ls_grid_ds-marked_rows INTO ss_index_split
           WHERE rowtype IS INITIAL.
    ( Marked rows is correctly giving the row numbers of the highlighted rows)
    READ TABLE ls_grid_ds-outtab INTO ss_sel_rows_ds_split
                   INDEX ss_index_split-index.
    ISSUE : Sorting in ls_grid_ds-outtab internal table is different from ALV Grid display.
    Hence, though ls_grid_ds-marked_rows giving correct rows, I am not able to handle the my requirement correctly.
    Why sorting in gs_grid_ds-outtab is different from ALV display? How can they made in sync?
    Thank you in Advance.
    Sravan.
    Edited by: Raja Sravan on Jan 16, 2009 1:13 AM

    Hello Raja
    The OUTTAB is usually in sync with the display on the frontend grid control because it is a CHANGING parameter (of method SET_TABLE_FOR_FIRST_DISPLAY).
    Question: Do you "feed" ls_grid_ds-outtab to the parameter IT_OUTTAB of method SET_TABLE_FOR_FIRST_DISPLAY?
    If not then it is obvious why you get discrepancies.
    Regards
      Uwe

  • Report for PO with prices different from info record

    Hi All,
    Is there a std report in SAP that can view the PO with prices that varies from the Purch Info Rec price?
    User want to find out who put POs with prices different from prices already set in purch info recs.
    How this can be achieved?
    Thanks in advance!

    hi,
    There is no std report for the same....but you can see the PO price history from ME1P tcode....and price change in MMR can see from :
    CKMPCD Display Price Change Document
    CKMPCSEARCH Price Change Documents for Material...
    you can't see excatly who changed it ......its always better to avoid these situations by using Authorization for the same...
    Hope it helps....
    Regards
    Priyanka.P

  • Multi gesture for browsers different from safari

    Multi gesture for browsers different from safari, for example right to left scroll to previous page. How to set it like in Snow Leopard?

    THe only gesture to change tabs is to tap the tab in the address bar. You can go back a page in a website by holding one finger on the left side of the screen and swiping right. You can go back to a previous app by placing four fingers on the right side of the screen and swiping left.

  • I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    chicx wrote:
    This is the third time of writing this on your Apple Support Communities!
    Not with your current user id.
    Far too much uneccesary information in your post, which only confuses things, a vast amount!
    Let's start with iTunes.
    Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
    With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
    Once you have doen those two things, check to see if the iPod is seen by iTunes.
    chicx wrote:
    By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
    Really?
    OS stands for Operating System. (In computer speak, IO means Input/Output.)
    iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
    I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do.

  • Is there an email account that will allow me to use a different from address with a POP account

    Need to be able to delete emails (I have an Optonline address) from iphone and ipad during the day, while retaining them on Mac Book Pro to view and file into folders in the evening. 
    Seemed like I could have my optonline emails forwarded to a Gmail account and just set up the Mac's mail to use my optonline account, while the iPad and iPhone used my Gmail account.  That worked, except for one issue - when I sent mail from the iPad or iPhone it would use my Gmail address and then people who used "reply" would have their replies sent back to my Gmail account.  I wanted to continue to use my optonline address since I have had this address for many, many years.  I saw that Gmail allows you to "send using a different from address", however because optonline is a POP account, they do not support the settings in Gmail and therefore I cannot get my optonline address to be verified by Gmail, meaning my emails continued to be sent from my Gmail address on my iPhone.
    I even tried setting up the Gmail account manually (using "Other" in the ipone settings) and putting in a comma with my optonline address in the address field, but still no success.
    Next, thought I'd try Yahoo mail - same thing - only sends mail with my Yahoo account.
    Then looked into iCloud since I use that for syncing Contacts and Calendars on all 3 devices - same thing - I can only send email using the @me.com address.
    Does anyone know of any other mail account that will work with my POP Optonline email address?  After 10+ years with this email address, having to announce to my world that I am changing my address (either to Gmail, Yahoo, or the iCloud's @me.com address) is something I really don't want to do.
    However, leaving just my optonline account on all 3 devices means I am constantly deleting the same emails on 3 devices everyday, which is also just not an effective use of my time.
    Please help!

    Here's one possibility:
    http://www.ideaflight.com
    The only way to keep students in the presentation, though, would be to lock the iPads to that app via the Guided Access mode:
    http://support.apple.com/kb/HT5509
    Whether you can do this remotely through one of the various mobile device management (MDM) soutions I don't know.
    Regards.

  • How do I change my apply id?  the one on my ipod is different from my ipad and wont let me adjust

    My apple ID is different from my ipod to ipad. When I try to enter my password, it says it is not valid even though I have changed and apple confirmed it is reset. Seems like a continuous loop.

    I did that but when I go into Settings - iCloud - to turn off the Find my IPhone option, it still asks for the old email address password.  Any ideas?

  • HT5622 The Apple id that appears in my iCloud account is different from my Apple ID . I don't remember the password of the id that appears in iCloud, I want both to be the same, that is to say only one Apple ID , the one that I use for all the other appli

    The Apple ID that appears in my iCloud account is different from the one I use every time I' m requested by Apple. I forgot the password for the iCloud id. I need to know how to change the iCloud id and make them both the same.

    Is this a second hand iPhone?

  • How can I change my iTunes Account Name to something different from my Billing Information Name?

    I have an iTunes account using a relative's credit card. As a result, my iTunes Account Name is changed to her Name in the Billing Information.
    Can I change my iTunes Account name to something different from the Billing Information Name?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I have an iCloud account that is different from my apple account.. How can I recover the password for that account??

    I have an iCloud account that is different from my apple account. How can I recover the forgotten password

    Hello Bgenie
    If you have forgotten the password to that Apple ID, then go to My Apple ID and you will see and option to reset your password. You will need to answer the security questions or if you have a rescue email address set up you can get it sent to that email to reset the password. Check out the article for more information.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Regards,
    -Norm G.  

  • Print layout is different from the working view.

    I got two calendars in iCal, marked with red and green. I always make the green ones as the first one on everyday and the red ones as the second. However, when I printed the scheduled month, some red ones were in the upper positions and it looked different from my screen.
    How can I make all the green ones as the first event in the printed version.

    You can make objects visible only on the screen by selecting Object => Presence => Visible (Screen Only). You can do the same for printing by selecting the Visible (Print Only) option.
    Hope this helps,
    Mike

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • Can anybody help me in finding the reasons why the time of email received are different from the one on my macbook which time is correct

    Hi
    Can anyone help me in finding the reason why the date on e=mail reced is different from the one on my MacBook eventhough it is correct
    Thanks

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

Maybe you are looking for

  • Layers is greyout in Adobe Acrobat Pro XI

    I just installed Adobe XI Pro, but the Layers features all greyout Please help ?

  • Adobe Flash Media Live Encoder 3 - Video Hardware Acceleration Warning

    I have been looking for an answer for this error for a few days without any luck. I just loaded the Adobe Free Encoder 3 and the Flash Media Server (Free Version) on a Dell PowerEdge 1950 running Windows 2003 server standard edition with Service Pack

  • [SOLVED] ISO C++ forbids declaration of 'linkedStackType' with no type

    I got an error when building my program. The program was working fine for a while before showing this error:     In file included from truck.cpp:1:     truck.h:62: error: ISO C++ forbids declaration of 'linkedStackType' with no type     truck.h:62: e

  • Premiere Pro CS 5.5  Crashes on Load

    I've had the CS5 Master Suite installed and working just fine for the past year or so, and today compltely uninstalled it all (including searching for all Adobe files/dirs through my hard drive and deleting them). Then installed the new CS5.5 Master

  • Japanese locale on Solaris 8

    I have a Solaris 8 machine, on which I have a web application that takes up data stored in UTF-8 from Oracle and shows that on a web page in SHIFTJIS encoding. This application displays the data correctly when run on windows machine but gives problem