What does this code do

hi friends, i came across this code, and i am struck at understanding this code,
usually loop keyword will be followed by itab, but here there is nothing, same with sort.
    SORT.
  LOOP.
    AT NEW MSEG-WERKS.
some code
    ENDAT.
    AT NEW MSEG-MATNR.
some code
      NEW-PAGE.
    ENDAT.
    AT DETAIL.
      WRITE:
      / MSEG-LGORT,
        MSEG-BWART,
        MSEG-MBLNR,
        MSEG-ZEILE.
    ENDAT.
    AT END OF MSEG-MATNR.
      SKIP 1.
      WRITE: 'x y z..'
    ENDAT.
    AT END OF MSEG-WERKS.
      SKIP 1.
     WRITE: 'x y z..'
    ENDAT.
  ENDLOOP.
an some one please explain me this code, little briefly.
thank you.

sorry friends, i forgot to tell that the following piece of code was above this code:
INSERT
MSEG-WERKS                             "Plant
MSEG-MATNR                             "Material
MSEG-MBLNR                             "Material document
MSEG-ZEILE                             "Material item
INTO HEADER.
INSERT
LIPS-VBELN                             "Delivery
LIPS-POSNR                             "Delivery item
MSEG-LGORT                             "Storage location
MSEG-BWART                             "Movement type
MSEG-MENGE                             "Quantity
MSEG-SHKZG                             "Debit/credit
MSEG-MEINS                                                  "UoM
INTO DETAIL.

Similar Messages

  • I have just tried to sync my iphone. Error message saying it cannot be synced has popped up quoting error code (-50). I have just removed old iphone backups from itunes but was very careful to not delete the current one. What does this code mean?

    Hi there,
    I have just tried to sync my iphone.
    Worryingly an error message saying it cannot be synced has popped up quoting error code (-50)
    I have just removed old iphone backups from itunes but was very careful to not delete the current one
    What does this code mean?

    http://support.apple.com/kb/TS1583

  • What does " this code must be redeemed in the Australian storefront " mean? And how can I fix it?

    What does " this code must be redeemed in the Australian storefront " mean? And can I fix it?

    All iTunes gifts and gift cards are country-specific, they can only be redeemed and used in their country of issue. Are you in Australia with an Australian billing address on your account ? If you are then try going to the bottom of the Featured tab in the App Store app on your iPad and tap on your account id, tap on 'View Apple ID' on the popup and log into your account, and then select the Country/Region section and select Australia.
    If you are not in Australia then you won't be able to use it.

  • Please explain what does this code does exactly

    Can any one explain me what does the below code does.
    This is the code written in one of the BADI (ME_PO_PRICING_CUST) .This badi will be triggered when a sales order delivery address is changed and while saving it this will be triggered. Over all what i come to know is they re trigerring a new version in this code. Can anyone explain me what exactly they are doing in this.Thanks...
    METHOD IF_EX_ME_PO_PRICING_CUST~PROCESS_KOMK.
      FIELD-SYMBOLS: <EKKO> TYPE ANY,
                     <PROCSTAT> TYPE MEPROCSTATE,
                     <FRGKE> TYPE FRGKE,
                     <YNAST> TYPE TABLE,
                     <WA_YNAST> TYPE NAST.
      IM_EKKO-PROCSTAT = 02.
    *break-point.
      ASSIGN ('(SAPLMEPO)EKKO') TO <EKKO>.
      ASSIGN ('(SAPLMEPO)YNAST[]') TO <YNAST>.
      IF <EKKO> IS ASSIGNED.
        ASSIGN COMPONENT 'PROCSTAT' OF STRUCTURE <EKKO> TO <PROCSTAT>.
        ASSIGN COMPONENT 'FRGKE' OF STRUCTURE <EKKO> TO <FRGKE>.
        IF <FRGKE> = 'R'.
          <PROCSTAT> = '02'.
        ENDIF.
      ENDIF.
      IF <YNAST> IS ASSIGNED.
        IF <FRGKE> = 'R'.
          LOOP AT <YNAST> ASSIGNING <WA_YNAST>.
            <WA_YNAST>-AKTIV = 'X'.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDMETHOD.

    r_htkl must be a range table. check the declaration part of it.
    p_htkl is a parameter on selection screen i hope.
    so, there are four fields on a range table.(range table are similar to your select options)
    1. SIGN ( I or E  - Inclusive or Exculsive)
    2. OPTION(options like EQ = euqal, BT = Between, CP = contains pattern etc)
    3. LOW (value)
    4. HIGH (value)
    so..
    IF NOT p_htkl IS INITIAL. " checks if some thing is being passed to the parameter
    r_htkl-sign='I'. " give the sign a value I i.e it make inclusive sign
    r_htkl-option='EQ'. " EQ to option means you value will be checked for a equal to condition
    r_htkl-low=p_htkl. " the low field in now assigned the same value of the parameter p_hktl
    APPEND r_htkl. " the range table is appended.
    endif.
    so this range table can be used in select statements as :
    select * from abcd into gt where xyz in r_hktl. ==> this will check for a EQ condition with value in r_hktl-low in database or
    in if statements like : if abc in r_hktl. ==> this will check the EQ condition of abc with the r_hktl-low.
    Had it been
    r_htkl-sign='E'.
    then the condition is same but with a NOT.. that means NOT EQ or NOT BT etc.
    as exclusive of the option.
    etc.
    hope this is clear.
    AND PLEASE CLOSE THE OTHER THREAD (duplicate)

  • ADF 10g: What does this code do?

    What is the difference between this and calling createRootApplicationModule() ? I'm looking for some definitive documentation on this.
       FacesContext fc = FacesContext.getCurrentInstance();
                ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
                BindingContext bc = (BindingContext)vb.getValue(fc);
                DCDataControl dc = bc.findDataControl(amName);
                ApplicationModule am = (ApplicationModule)dc.getDataProvider();I understand it (the above code) is no different from picking it from a specific pageDefinition (say where an action binding to a method of that AM is present) or the above -
    both return an AM instance from the data controls within the current FacesContext. But still, any documentation that would relieve this information itch would be much appreciated.
    Also, any thoughts on the 'best practiceness' quotient of doing the above?
    Edited:
    This is posted just to seek clarification - please refer to the whole thread, links provided as references and the developer guide for the recommended approaches.

    posted will grab the one that has been checked out for the page by the binding filter.Here's the thing: this AM, its methods or any of it's constituent VO attributes do NOT have a binding (but could have, since this AM is exposed in the data controls)
    Just note the use of that #{"data"} EL used above (not #{"bindings"} or #{"data.pageDefName"} ).
    In most all cases, you want the same one that has already been checked out - so getting it via the binding context is preferred.Precisely - is there official documentation that confirms that this is a preferred way?
    It is generally pretty rare where you need to createRootApplicationModule,In fact, not at all - except in test code.
    but you might do so in cases where there is not one already checked out for you (for example, if you are interacting with ADF BC from within a servlet).It would be great to have documentation that says it's ok to do so. Otherwise, I strongly think things could be designed better to even avoid doing that.
    Furthermore, it would be even more preferred not to interact with the AM directly in code, but to expose any methods you might want to call via the data control.Method bindings would be 'ideal'. Using the client interface is currently 'ok' (or at least a lesser evil).
    In any new code I wouldn't interact with an AM in UI code - just that there is a whole lot of legacy code which does so. I'm just making sure that the above alternative to createRootApplicationModule is not just equally bad. (i.e. does not require an explicit 'release' call)
    http://blogs.oracle.com/smuenchadf/2009/09/best_practice_example_for_invo.htmlTotally agree with with the above - and yet get hold of an AM instance via its interface the 'right' way in old code that needs it.
    Thanks for the response.

  • What does this code do? Causing xtra space below Flash

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="538" height="146" id="FlashID4" title="debt solutions">
    I have spaces below every SWF file. But when I remove this - it goes away. (Shows up in FireFox)
    What will happen with this deleted? I don't SEE any visual difference, but not sure what functionality it provides. As always, THanks!

    Hi
    This is the active-x code required for the flash player in IE, removing it will stop the flash working in the IE browser.
    PZ

  • What does this code implies pls eloborate

    Hi,
    i need eloboratation on the below code and functionality
    1) nast table entries and functionlaity how it works etc details
    2) function module called and how data is transfering into the table from it
    3) bold codes specially
    call function 'RV_PRICE_PRINT_REFRESH'
           TABLES
                tkomv = tkomv.
      clear komk.
      clear komp.
      clear <b>nast_anzal.</b>      "Clear aux. variable for number of outputs
    <b>  if nast-objky+10(6) ne space.
        vbco3-vbeln = nast-objky+16(10).</b>
      else.
        <b>vbco3-vbeln = <i>nast-objky</i>.</b>
      endif.
      vbco3-mandt = sy-mandt.
    <b>  vbco3-spras = nast-spras.   what is happenign her how the values from nast coming where it is getting populated intitally?
      vbco3-kunde = nast-parnr.
      vbco3-parvw = nast-parvw.</b>
      call function 'RV_BILLING_PRINT_VIEW'
           EXPORTING
                comwa                        = vbco3
           IMPORTING
                kopf                         = vbdkr
           TABLES
                pos                          = tvbdpr
           EXCEPTIONS
                terms_of_payment_not_in_t052 = 1
                error_message                = 5
                others                       = 4.
      if not sy-subrc is initial.
        if sy-subrc = 1.
          syst-msgty = 'I'.
          perform p_update.
        endif.
      endif.
    form p_update.
    <b>check xscreen = space.
      call function 'NAST_PROTOCOL_UPDATE'
           EXPORTING
                msg_arbgb = syst-msgid
                msg_nr    = syst-msgno
                msg_ty    = syst-msgty
                msg_v1    = syst-msgv1
                msg_v2    = syst-msgv2
                msg_v3    = syst-msgv3
                msg_v4    = syst-msgv4
           EXCEPTIONS
                others    = 1.</b>
    endform.
    regards
    Arora

    Hi,
    Sorry couldn't see your message,
    Anyways, Baiscally OBJEKY is Document number which uniquely identifies an object (for example, an order). The object key is assigned by the system.
    It is an internal Process.
    For e.g: Purhcase Order or Sales Order.
    Once you Enter Message type in NACE transaction corresponding documents with their message types gets into NAST table.
    Suppose you have P.O. No: 00000001 and if you preview P.O. It will refer entry from NAST table internally as OBJKY: 00000001 whcih is your P.O.
    You can directly write into a Program routine NAST-OBJKY, it will automatically picks up the PO no while previewing or Printing it.
    Now in your case Sales Doc.Access Methods: Key Fields: Document Printing
    vbco3 is the table defined in the same program. Double click to check it.
    You are storing corresponding values from NAST to vbco3 table.
    As you get entire row from NAST referring to your Document.
    'RV_BILLING_PRINT_VIEW': Shows Preview of a document.
    Now if it returns an error it will update the log for NAST that if you want to see the print log can be seen.
    Hope this helps.
    Reward if usegful!

  • What does this code mean?

    private static ThreadLocal serialNum = new ThreadLocal() {
             protected synchronized Object initialValue() {
                 return new Integer(nextSerialNum++);
         };

    That code appears to be cut from this sample code found in the LocalThread javadoc:public class SerialNum
        // The next serial number to be assigned
        private static int nextSerialNum = 0;
        private static ThreadLocal serialNum = new
            ThreadLocal()
                protected synchronized Object initialValue()
                    return new Integer(nextSerialNum++);
        public static int get()
            return ((Integer) (serialNum.get())).intValue();
    }The lines you're asking about declare a static ThreadLocal by the name of "serialNum". They assign to it an inline definition (extension) of LocalThread which specifies a custom initialValue() method. That initialValue() method is designed to get its value from the nextSerialNum variable (static, and incremented each time).
    The neat thing that happens with the ThreadLocal instance is in the get() and set() methods. Here you see the get() method being called:return ((Integer) (serialNum.get())).intValue();That get method returns a different object for each thread which calls it. When a new thread comes into the get() method, the initialValue() method is called, creating for that thread a new serial number. When THAT thread calls get() again later, it is given that same serial number.
    This one (static) instance of ThreadLocal can be accessed by any number of threads, but each thread will get()/set() a different variable, specific to that thread. This serial number implementation sets up a very simple counter for the Integer object the various threads will receive. When calling get(), the first thread will always receive an (int)0, the second thread will always receive an (int)1, the third an (int)2, and so on.

  • What does this code do (in SAPScript)

    I am having trouble converting a SAPScript to SmartForm.  Part of the reason is that I don't understand the SAPScript.
    include &vblkp-zztdnameh& object vbbk id 0001 paragraph HT
    if &sapscript-subrc& = ' 0'
    Also is anybody willing to export a preconfigured (standard) SmartForm for me?  I am looking for the PickList (SDPIK).  We do not have the Best Practices update so I am not able to import the SAP Preconfigured SmartForms.  I am on ECC 5.0
    Regards,
    Davis

    It will print 1 object with the Object of 'VBBK' (delivery header I believe), ID of  '0001', and name of 'zztdnameh' .
    Have a look at structure THEAD and/or FM READ_TEXT.  This should help clarify things for you.
    In your smartform create a Text Node and make the Text Type 'Include Text'.
    Name = &vblkp-tdnameh&
    Object = VBBK
    ID = 0001
    Check the 'No error if no text exists' checkbox.
    Message was edited by:
            Matt Nagel

  • Getting 8010 errors from iTunes when trying to download app updates.  What does this code mean and how do I fix this?

    I have a 2009 iMac running Yosemite.  I was having no problems at all until I had some router issues and since I resolved those connection problems, iTunes has been giving me these 8010 errors.  My internet connection is good because I can get email and surf the web.

    Hi there I've just installed CS4 Pro on Windows 7 64bit and got exactly the same result as you. Did you manage to find anything out, because the thing that bothered me was the limited functionality (what ever that is). Is it just a case of Windows 7 having a newer version of ActiveX already installed?

  • I am having a hard drive issue with code 4MEM/6/4000000:6x7a5db418. What does this mean and how do I fix it?

    I recently ran the Utility Disk and was verifying the Hard Drive due to some permission issues and found a problem.  It told me to run the application startup disk to do another diagnostic which I did.  It confirmed there is an issue and gave me the following code = 4MEM/6/4000000:6x7a5db418.  What does this code mean and how can I go about fixing the problem?  Any wisdom with this would be greatly appreciated. Thanks!

    the meanings to those codes are not made public and only Apple certified technicians have access to them.

  • HT4528 Tonight I received an Error-54 on my iphone. What does this mean and how can I fix the problem? Thank you in advance!

    PLEASE HELP~ My i-phone is throwing a code Error -54 when I plug it into my Imac.
    It just started tonight. What does this code mean and how can I get rid of it?
    The phone is charging, but it refuses to upload any new data. Unable too~
    Thanks in advance!

    iTunes error 54

  • What does this.instance=this mean

    HI
    What does the following code mean??
    public class MyInterface extends JFrame{
    protected final MyInterface myInterface;
    public MyInterface(){
    this.myInterface = this; //WHAT DOES THIS CODE SIGNIFY
    Thanks in advance

    hi siva
    actually he is creating object of MyInterface class and assigning it to myinterface and making as staic final variable he is giving access to outside members of the class.but it is not accesable to non subclasses of outside packages.
    So u can use that object with out using the class name of the implementation class.
    it is not fully singleton pattern, because there is neither a private constructor nor a static method which gives the object of type MyInterface.
    Thanks & Regards

  • What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7

    What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7
    I found the manual update, which worked!
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604

    Hi Barbara,
    For failed 13.1.2 update error U44M1P7, Please refer to the solution mentioned in the following threads :
    http://forums.adobe.com/message/5396792#5396792
    http://forums.adobe.com/message/5409050#5409050

  • What does this error mean: Adobe Illustrator CS5 15.0.2 Update There was an error downloading this update. Please quit and try again later. Error Code: U43M1D207

    When I click on the adobe installer icon to update my products, I get this message:
    Adobe Illustrator CS5 15.0.2 Update
    There was an error downloading this update. Please quit and try again later. Error Code: U43M1D207
    What does this mean and how do I solve it?

    See if the following helps:
    Error downloading, installing, or updating Creative Cloud applications

Maybe you are looking for