Logic for boxes

Hi Experts,
i want to know how many boxes are there and the box nummber
like carton box : 3 of 100.
100 is the last box
plz help me with the logic .
im working on smart forms.
& any of u guys have bar code printing in WM module plz send me.
[email protected]
Correct answers will be appreciated with good points.
thanks& regards
Sunita

REPORT ZTEST3 line-size 400.
tables : mara.
data i_mara like mara occurs 0 with header line.
data i_marc like marc occurs 0 with header line.
data i_mcha like mcha occurs 0 with header line.
data i_mkol like mkol occurs 0 with header line.
select-options: s_matnr for mara-matnr.
parameters : p_check1 as checkbox.
parameters : p_check2 as checkbox.
parameters : p_check3 as checkbox.
parameters : p_check4 as checkbox.
start-of-selection.
if p_check1 = 'X'.
select * from mara into table i_mara where matnr in s_matnr.
loop at i_mara.
endloop.
endif.
if p_check2 = 'X'.
select * from marc into table i_marc where matnr in s_matnr.
loop at i_marc.
endloop.
endif.
if p_check3 = 'X'.
select * from mcha into table i_mcha where matnr in s_matnr.
loop at i_mcha.
endloop.
endif.
if p_check4 = 'X'.
select * from mkol into table i_mkol where matnr in s_matnr.
loop at i_mkol.
endloop.
endif.

Similar Messages

  • Logic for Expand/compress icons

    Hi all,
    iam creating a custom transaction in which if you click on partner row in Partner tab an address dialog box pops up...
    (similar to sales order/header/partner tab)
    now, i want my window have the same func as the SAp window has but iam having problems in trying to understand what SAP is doing..
    My question:
    logic for expand/compress icons in the dialog box..
    how can i implement the logic for expand/cmpress icons..
    if i click on expand, i should see all the fields and if i compress ,all initial fields should compress and if all fields are filled and then u click on compress the icon should disappear(similar to SAP)..
    my present logic is not able to switch the expand/compress properly..iam using screen-names for these...i see that SAP is using icons but iam not sure how to do this..
    can anyone input..
    gretaly appreciate....

    Hi Karunya,
    I have done something similar on the selection-screen of a Custom Report using text symbols & icons. You can probably try it out.
    parameters:
      p_cstopn type c no-display. 
    selection-screen:
      pushbutton 1(33) p_pcust user-command cus.
    at selection-screen.
    Check whether the additional selections screen is open or closed
      if p_cstopn = space. 
        p_pcust = text-opn. 
      Make all fields invisible
        loop at screen.
          if screen-group1 = c_customize.
            screen-input = 0.
            screen-invisible = 1.
            modify screen.
          endif.
        endloop.
      else.
        p_pcust = text-clo.
      endif.
    In the text symbols :
    use @3S@ Open Additional Selections forTEXT-OPN &
        @3T@ Close Additional Selections for TEXT-CLO
    Good Luck,
    Suresh Datti

  • I lost my Logic Pro box and disc, I can't find my serial number. What should I do?

    I lost my Logic Pro box and disc, after it upgraded to 9.1.4, it asked me about serial number, but I lost it...
    I can't find my serial number. What should I do? (I baught it last year.)

    Hey Rickstertw,
    I think there are two ways to do this.  Open Logic Pro, then in the menu tab, click on Logic Pro in the upper left hand corner, then choose About Logic Pro.  Another window will come up, and you should be able to see the serial number just below your name under "Licensed to" - that is, presuming this is a licensed to you copy!  :-)
    If for some reason it doesn't come up there and you registered the product with Apple, then call the support number and if you can verify your information with them, they should be able to give it to you.
    Regards
    Joyce

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • Logic for making ASN as an attachment to a email?

    hi all,
    can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
    I need logic for:
    1) Initially converting it into pdf
    2) Making the pdf as an attachment and not as a general email content.
    Thanks & Regard/Aryan

    Dear Aryan,
    This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
    Reward Points if it helps,
    Regards,
    N

  • Where to see the logic for 0FYEAR (SAP Exit)

    There is already an SAP exit 0FYEAR. There is a requirement to make ZFYEAR1 just like 0FYEAR. So, i want to see where the code (logic) for 0FYEAR is present so that i can write the the same for my custom variable(ZFYEAR1) in CMOD. Can anyone help me with the name of the program?

    Include ZXRSRU01 --> Function Module EXIT_SAPLRRSO_001
    or
    Search for Function Module RSVAREXIT_ [variable name]
    Variable Name = 0FYear

  • GL A/c numbering logic for chart of accounts BAIN

    Hi,
    Will any expert pl let mek now What is the GL A/c numbering logic for chart of accounts BAIN (BAIN is standard ch of A/c for India apart from CAIN)?
    Regards
    Anand

    Your question is not clear about numbering logicu2026
    First of all the GL Account # are always externally assigned (it can be either numeric and alphanumeric)
    The length of GL account is 10 digits. But if you give it as 6 in TC OB13 then
    u2022     Numerical account numbers
    The system includes zeros to the left of the number
    0000001234
    u2022     Alpha-numeric account numbers
    The system includes zeros to the right of the number
    1131DB0000

  • Reg : Logic for Report

    Hi ,
    I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
    Please help me.

    HI,
    The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
    Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
    for this requirement safety stock should be maintained in the material master,other wise your report will not work.
    Regards,
    velu

  • Logic for monthly quarterly yearly basis for  ar eport

    hi ,
              i need to run a report (which shows sales order number and creation date
    based on erdat entered in selection screen)
    in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
    example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
    if i excute this thro wrapper program for entered date and select monthly basis,
    it should split into 3 variants i,e for  3 months and execute .what is the logic for that.

    hi ,
              i need to run a report (which shows sales order number and creation date
    based on erdat entered in selection screen)
    in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
    example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
    if i excute this thro wrapper program for entered date and select monthly basis,
    it should split into 3 variants i,e for  3 months and execute .what is the logic for that.

  • Program logic for Camparison

    Hi Guys,
       I am trying to write a logic for comparison....Can you plz help me on this....
    I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
    data maintained in SAP ,  Data from file     ,     Result
    <10               ,      <8          ,             Accept
    >5 and <10        ,      =8          ,             Accept
    >5  and <10       ,      >15         ,             Reject
    =15               ,      >10 and <30  ,            Accept
    Thanks & Regards,
    Rays
    Message was edited by: rayudu p
    Message was edited by: rayudu p

    Hi Guys,
       I am trying to write a logic for comparison....Can you plz help me on this....
    I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
    data maintained in SAP ,  Data from file     ,     Result
    <10               ,      <8          ,             Accept
    >5 and <10        ,      =8          ,             Accept
    >5  and <10       ,      >15         ,             Reject
    =15               ,      >10 and <30  ,            Accept
    Thanks & Regards,
    Rays
    Message was edited by: rayudu p
    Message was edited by: rayudu p

  • Implementing Custom Validation Logic for Payment Disbursements

    Hi All,
    Is there anyone here, who has implemented Custom Validation Logic for disbursements in Oracle payments.
    Theory: Under Payments Setup Administrator -> Formats -> Formats, we can setup a payment format and even attach a XML template. Apart from this we can setup Pre-defined validations or user Defined validations.
    For Pre-defined validations / seeded validations, Oracle has provided an API
    IBY_VALIDATIONSETS_PUB.evaluateCondition. We can use this API, and call a custom package by using the keyword 'CUSTOM' in the call.
    Has anyone played around with this package and successfully implemented custom validations. Does anyone have a sample code on how to implement this. The Payment Manager Implementation guide is of little help.
    Thanks

    This document was very helpful to me in creating a custom validation.
    http://docs.oracle.com/cd/E18727_01/doc.121/e13416/T387353T419293.htm

  • SAP FS-CD logic for cancellation of policies

    Hi,
    I am new to SAP FS-CD.  Hence I am finding it difficult to get the logic for many funtionalities.  Here is one requirement we have.
    We need to know all the policies that are flagged for cancellation and rescission.  Which table and fields I can use for this?
    Also which is the best way to fetch from FKKMAKO table?

    DFKKLOCKS

Maybe you are looking for

  • PDANet 1.10 for Mac with PDANet 5.02 not working in Lion

    After I upgraded my Mac to OS X Lion (10.7) last night, I have not been able to tether via USB to my iPhone running PDANet. I have uninstalled and reinstalled PDANet on the Mac. I cannot add a PDANet network interface anymore. When I click on PDANet

  • Hyperion Reports - HFMCurrency function error when expanding rows

    <p>Im using Hyperion Reports 7.2.On the report in the production environment, Ihave a cell containing a HFMCurrency function with a conditionalformatting:</p><p> </p><p>    I<b>n<<HFMCurrency("Grid1", 5, A, 1)>>Thousands</b></p><p> </p><p>    Conditi

  • Bulk-create printer objects on windows 2008 R2 x64 print servers using Windows PowerShell

    Hi, I have an issue on a 2008 Server R2 x64 when trying to create a printer with this Powershell script: function CreatePrinter { $server = $args[0] $print = ([WMICLASS]"\\$server\ROOT\cimv2:Win32_Printer").createInstance() $print.drivername = $args[

  • AppleCare cover question?

    I bought my brothers 15-inch MacBook Pro (mid 2009). The warranty is about to expire in August so i'm thinking of getting AppleCare, except there might be a small issue. On the left side of the screen border there is a small dent which is hardly noti

  • Skype crashed every time I answer a call or someon...

    Hi, Been having this problem for a long time, need something to be done about it. For about 2-3 months, wheneveri answer a call or someone answers mine skype crashes. Litteraly every time. Ive managed to find a workaround for it by having my friends