How to find the field name of variable system information on SAP B1

Hi All,
I recently wanted to create a simple SQL query to list all ITEM MASTER DATE where the weight is blank.  This is so i can get a list of all items with the weight information missing from the system to investigate. 
It turns out the weight field within the SALES DATA tab is a system variable.  When i pull the OITM table up within the query generator i can not identify where this variable name come up without guessing which can give me the wrong information.
Can someone point me into the direction on how to assisocate variable to a field name within SAP B1. This is also another problem if i wanted to display variable within Crystal report layout.
Regards

Hi Nick Dang,
Try This
SELECT T0.[ItemCode], T0.[ItemName], T0.[SalUnitMsr], T0.[SHeight1],  T0.[SWidth1], T0.[SLength1], T0.[SVolume], T0.[SWeight1] FROM OITM T0 WHERE T0.[ItemCode] =[%0]
Thanks,
Srujal Patel

Similar Messages

  • How to find the value of a variable in other program

    How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
    Regards
    Vin

    Hi Vinayak,
         you will be having your first program values in internal table or some variables,
        when you are calling the second program you wii use like this,
        SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
                           WITH s_emp(second program select-options)   IN t_emp(first program variables)
                           WITH p_chk   EQ t_chk
                           WITH p_r1    EQ t_r1
                           WITH p_month EQ t_month
                           WITH s_cust1 IN t_cust1
                           WITH p_r2    EQ t_r2
                           WITH s_cust2 IN t_cust2
                           WITH s_week  IN t_week
                           AND RETURN.
    you have pas like this to get your first program details.

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

  • How to find the program name of the smart form?

    How to find the program name of the smart form if output type is not known?
    thanks in advance...

    How to find the program name of the smart form if output type is not known?
    thanks in advance...
    T-code SE16
    Enter table name: TNAPR  -> Press enter key
    Enter smartform name in input field(SFORM):  Z_your_smartform_name
    Execute
    you can find  program name under the column PGNAM/Program name.
    Regards
    sudheer

  • How to get the field name of an internal table during runtime?

    How to get the field name of an internal table during runtime?

    Hi  Sudhir,
    Declare and Use Get Cursor Field in Your Prm to get the field Name of the Intenal Table
    Example Code:
        <b>  DATA: v_field(60).                        " Insert this code.
         GET CURSOR FIELD v_field.        " Insert this code.</b>
         <b>CHECK v_field = 'ITAB-KUNNR'.    " Insert this code. (or)
    Write: v_field.</b>
    Regards,
    Ramganesan K.

  • How to find the column name and table name with a value

    Hi All
    How to find the column name and table name with "Value".
    For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
    Any help is highly appricatable
    Thanks & Regards
    Srikkanth.M

    2 solutions by Michaels (the latter is 11g upwards only)...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from cols,
           xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
           columns result varchar2(10) path '.'
    where table_name in ('EMP', 'DEPT')
    TABLE_NAME           COLUMN_NAME          SEARCH_STRING        RESULT   
    DEPT                 DNAME                ES                   RESEARCH 
    DEPT                 DNAME                ES                   SALES    
    EMP                  ENAME                ES                   JONES    
    EMP                  ENAME                ES                   JAMES    
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   PRESIDENT
    EMP                  JOB                  ES                   SALESMAN 
    9 rows selected.

  • How to find the technical name

    Hai,
    How to find the technical name of a data source for General Ledger: Balances – Period Breakdown
    Thanks

    Hai
    my question is in General Ledger: Balances – Period Breakdown
    the link is showing General Ledger : Balances , Leadingledger
    I got this link in queries for General Ledger: Balances – Period Breakdown
    http://help.sap.com/saphelp_nw70/helpdata/en/2d/955a73da4d6d41a0a6128caf274ce8/frameset.htm
    But here technical name of info cube is given.But i dont know how to find the technical name of the data source.This might be simple question i think but i am new to SAP
    Thanks

  • How to find the form name attached to AR Open item list

    How to find the form name attached to AR Open item list
    FBL5N -> Correspondance
    Thanks
    Ganesh

    You can find out in SPRO.
    Go to tcode SPRO
    Financial Accounting (New)
    Financial Accounting Basic Settings (New)
    Correspondence
    Define Form Name for Correspondence Print
    Here you will find the form attached to the program.
    To find the attached program to the Correspondence type.
    Go to tcode SPRO
    Financial Accounting (New)
    Financial Accounting Basic Settings (New)
    Correspondence
    Assign programs for the Correspondence Types
    Regards,
    Naimesh Patel

  • How to find the form name  from VA02 T.code

    how to find the form name  from VA02 T.code

    Hi Rajyam,
    I guess you are looking out for the formname which prints sales related documents.
    If this is what you want,then go to the T-code NACE and select the option K1Sales activities and click on the Output Types button on the top.The new window has all the types of Output types listed.Select the most appropriate and double click on the Processing routines button in the left side screen.
    The new window lists the program names and the forms associated with that output type.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to find the program name of the created sap query ?

    how to find the program name of the created sap query ?

    Hi avinash,
    Try in this way..
    Go to SE16 and then go to table TSTC.
    in that give program name as <b>*followed by your query name</b>
    (for example *TESTQUERY)
    and run , that will give progname======queryname.
    this way you can find program name.
    vijay

  • How to find the machine name

    How to find the machine name from which the table is created ?
    Yogesh

    Turn on DDL auditing.
    http://www.oracle-base.com/articles/10g/Auditing_10gR2.php outlines some uses ... i'm sure you can find more with a google search.

  • How to find the query name using infoset name

    Hi Experts
           Iam new to the sap queries(SQ01,SQ02), some queries already created.
          now i want to do some modification, my problem is i am not able to find the query name.
          I know the infoset name, can you tell me how to find the query name using the infoset name, is ther any table for this.
    i tried in sq01 also, but its confusion, pls advice me on this.
    thanks in advance.
    regards
    rajaram

    Hi
    try like this..
    SQ02 --> go to --> Query Directory..
    from there you can get all the queries belong to a Infoset.

  • How to find the dsn name from an *.rpd file provided?

    How to find the dsn name from an *.rpd file provided? All the ODBC details which would require to run your dashboard.

    Hi
    DSN name is not a part of .rpd file. So There is no information about DSN name in .rpd file.
    Thanks
    Siddhartha P

  • How to find the Project and wbs Element System Status

    Hi all,
      How to find the Project and wbs Element System Status.
      We can find the system status in the CJ20n transaction but I want the table and field name where it is stored.
    Regards
    Raghavendra

    Hi,
    try table <b>jest</b> with key = prps-objnr
    Andreas

  • How to find the group name for a section programatically?

    I have these display formulas that are being repeated in each group footer.  The only thing that changes are the group names.
    How can I find the group name for the current section?
    The bolded(or starred) items are what I'm trying to create a generic function for.
    Ontario
         Bob
                   1000     Sales     Other
                   2000     Random     Billing
                   200     Phone     Billing
         *Total for Bob*      3200
         Sally
                   2000     Sales     Client
                   1000     Random     Billing
                    300     Cell     Billing
         *Total for Sally* 3300
    *Total for Ontario*       6500
    Thanks in advance,
    J

    I'm not sure if the GroupingLevel or GroupNumber fuctions will help.  (There description in the on-line help leaves much to be desired, IMHO...)
    If not, you could try adding formula fields to each level that sets a global variable to tell your other formula fields what level it is on.  If you only have one or two other formulas, and only one or two groups, this really wouldn't be a whole lot easier.  But if you had a lot of groups or a lot of formula fields that you want to make "group independent" it could help.
    So for each footer, create a formula field like (basic syntax):
    WhilePrintingRecords
    global geoupLevel as String
    groupLevel = "Province"
    formula = ""
    (changing the name given to groupLevel for each footer).  Then in your "generic" formula you could put something like:
    WhilePrintingRecords
    global groupLevel as string
    select case groupLevel
      case "Province"
        formula = "Total for " + {Province}
      case "Name"
        formula = "Total for " + {Name}
      else
        Formula = "Totals"
    end select
    HTH,
    Carl

Maybe you are looking for

  • How can I change my iCal times to be listed in 12 hour format?

    I have the system set for 12 hour but it does not seem to carry over to iCal.  I have restarted since changing the system to 12-hour clock. By the way, I mean the little timeline running down the left hand side in week view.  Individual appointments

  • Windows 7 and XP Disable wireless when connected to hot wired

    Hello there, We are facing IP address shortage due to redundant network connections from laptops because every laptop uses two IP address when connected to wireless network and hard wire. Does Windows 7 and XP natively has the options to disable wire

  • HP PHOTOSMART C4200

    HI...similar problem to my recent post...cannot access this printer either..installation produced an error message a below also...grateful (very) for any help Process: HPIO Trap Monitor [1249] Path: /Library/Printers/hp/hpio/HPIO Trap Monitor.app/Con

  • Mgration Of Objects From XI 3.0 to PI 7.11

    HI Experts,          We have the sytem XI 3.0 and its is functioning, now we want to migrate or transport all the objects from xi 3.0 to pi 7.11 system. can you please suggest us what will be the best solution? is there any way apart from File transp

  • How to make DVDs with Premiere Pro CC

    I upgraded to CC from CS4 so I noticed there is no Encore DVD CC program to download. I think I read once that somebody said Adobe allows you to download a previous version of Encore but I can't find it, is this possible? If not how do you guys make