I want sample code and tables for my requriement

Hi Experts,
I have MATNR(material no), Werks(plant) and date as selection screen fields Based on this I have to get procurement data. i.e Material
Description
Vendor
Vendor name
Product hierarchy
Qty unrestricted
Date product recieve at warehouse.
i.e.Based on MATERIAL and PLANT I have to get total unrestricted quantity of that material.
please provide me relevant tables and sample code
thanx in advance

I have MATNR(material no), Werks(plant) and date as selection screen fields Based on this I have to get  procurement data. i.e
Material - <b>EKPO</b>
Description - <b>MAKT</b>
Vendor - <b>EKKO</b>
Vendor name - <b>LFA1</b>
Product hierarchy - <b>(???)</b>
Qty unrestricted -<b> EKPO</b>
Date product recieve at warehouse. <b>(EKKO)</b>
Please provide me relevant tables <b>(As Above)</b>
and
sample code -<b> You need to contact technical expert</b>

Similar Messages

  • Sample code and transaction for this requirement

    Developed a SAP Script for the shipping details. Shipping details is a legal document for the forwarding agent who is going to carry the shipment goods from the company to the customer

    Logic is good but try to avoid MKPF Table..
    I guess you can use EKBE table instead of MKPF and MSEG table.
    your code will take while if you move to PRD.
    Other table fields logic is good.
    Thanks
    Seshu

  • Sample code and tutorial for JSR188 (CC/PP) ?

    Hi there,
    I would be grateful if you could show me the way!!! :)
    Just some URL's would be find.
    I just want to learn how to use the JSR188 API.
    Thanks anyone,
    Stavros.K.

    Hi there,
    I would be grateful if you could show me the way!!! :)
    Just some URL's would be find.
    I just want to learn how to use the JSR188 API.
    Thanks anyone,
    Stavros.K.

  • Please help me to find the sample code and schema for GetDBDateTime.zip fil

    Please help me to find the GetDBDateTime.zip and Guest_Book.zip files.
    Tks!

    Does this Help?
    http://www.oracle.com/technology/sample_code/products/ias/files/psp/GetDBDateTime/Readme.html
    Did you install Oracle9iAS ?

  • Reference field and table for AUFK for F4 help in alv.

    Hi All,
       I need to put F4 help on ALV for order no (AUFK) what is the reference field and table for that?
      i tried giving field as aufk and table as ccss but its not working.
       ls_fcat-ref_field = 'AUFNR'.
        ls_fcat-ref_table = 'CCSS'.
    Thanks & Regards,
    Ruchi Tiwari

    Hi,
    Try this.
    Set the f4 help for the field in the fieldcatalog
      ls_fcat-f4availabl = 'X'.
    1. Create a event of ONF4 for the alv grid.
    2. Set the event handler.
    3. Append the field for the F4 help in the internal table and call the below method
        CALL METHOD g_mprn->register_f4_for_fields
        EXPORTING
          it_f4 = i_f4.
    4. create a class definition and implementation
        refer sample pgms (BCALV_F4, BCALV_GRID_EDIT_DELTA and BCALV_GRID_EDIT)
    Hope this may be helpful.
    Regards,
    Sharin.

  • Custom process code and FM for custom IDoc...

    Hello Experts,
    I created a custom IDoc based from ARTMAS05 IDoc. This is because we only need 3 segments and
    the standard idoc(Artmas05) contains so many segments that we need.
    Now, will I create a custom process code and FM for this? how do I go about this?
    Thank you guys and take care!

    Hello,
                 Here are the Steps that we need to be following while creating a Custom Process Code with Custom Function Module. ( Since the Segments to be handled are very Less, I am recommending that you go for a Custom Function Module).
    1. Go to SE37 Create a Function Module. Please ensure to Create it with the IMPORT / EXPORT /TABLES parameters exactly in the way that they exist in any Standard SAP Inbound FM (Refer to IDOC_INPUT_ORDERS for example).
    2. Once our FM is Ready (Need not be Complete with the Code to go ahead with the Process Code Creation) and Active, the next Step is to Create an Entry in the Transaction Code BD51 where we will register the Function Module.
    3. Next, we'll have to go to T-Code WE57 where we'll have to make an entry for the Function Module with the IDoc Type & Message Type.
    4. Finally, go to WE42 and Create a New Process Code and assign the Function Module and the Message Type.
    NOTE 1 : The Process Code is, as we know, Client Dependent. So, once you create a Process Code, we need to have it migrated to the Testing Environment to Start & Carry Out Testing.
    NOTE 2: If Step 2 & 3 are missing, then we'll not be able to assign the Function Module in WE42 while Creating Process Code.
    Hope it was helpful.
    Thanks and Regards,
    Venkata Phani Prasad K

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I need T.Codes and Tables in SAP-ICM  module

    I need T.Codes and Tables in SAP-ICM  module
    Thanks in Advance.

    Here are some of the source tables for the FI-CO extractors.
    FI-CO T-Codes
    FK10N - Vendor Balance Display (FI-AP)
    FD10N - Customer Balance Display (FI-AR)
    S_ALR_87013611 - Cost Centers: Actual/Plan/Variance (CCA)
    2KEE - Profit Center: Totals Records (COPA)
    FS10N - Balance Display (FI-GL)
    KE5Z - Profit Center: Actual Line Items (PCA)
    FI-CO Tables
    BSEG - Accounting Document Segment
    BSAK - Accounting: Secondary Index for Vendors (Cleared Items)
    BSIK - Accounting: Secondary Index for Vendors
    BSAD - Accounting: Secondary Index for Customers (Cleared Items)
    BSID - Accounting: Secondary Index for Customers
    GLPCA - EC-PCA: Actual Line Items
    GLPCT - EC-PCA: Totals Table
    CE1* - COPA Line Items (* is desination for Industry Solution)
    CE4* - COPA Totals
    COSP - CO Object: Cost Totals for External Postings
    COSS - CO Object: Cost Totals for Internal Postings

  • How to create the Sap script & Layout Set (wants sample code)

    Hi All ,
    Can you please provide me the step by step procedure
    to create the Sap script & Layout Set .(please provide sample
    code/links /docs for layout & print program).
    Regards
    Rahul

    hi,
    go through the following links  what i found to create sap script.
    http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
    http://abapliveinfo.blogspot.com/2008/01/free-sapscript-made-easy-46-book.html
    http://www.thespot4sap.com/articles/SAPscript_example_code.asp
    http://idocs.de/www3/cookbooks/sapscript/sapscript_1/docu.htm
    http://idocguru.com/www5/cookbooks/sapscript/sapscript_1/example.htm
    www.geocities.com/wardaguilar25/sapscript-tutorial.html
    http://logosworld.de/www3/cookbooks/sapscript/sapscript_8/docu.htm
    how to create a  scripts?give steps?
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653
    https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    Other Links

  • What is the field and Table for "Batch Class" and "Class Type" in QM.

    Hi All,
    What is the field and Table for "Batch Class" and "Class Type" in QM.
    Thanks,

    Hi,
      For batch class the class type value is '023' . This you can find from KLAH table and the fileld for class type is KLART..
    And also all the data related to batch class are found in tables INOB, KLAH,KKSK and for the characeteristics of batch materials you can refer AUSP table.
    In INOB table, for batch class, you need to give 023 in KLART field and  value MCH1 in OBTAB filed.
    Please check this and let me know if this you need any more details?

  • If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number?

    If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number? I had the serial number on my college email which I can't access now that I've graduated.

    adobe support might be able to help you,
    contact adobe support, https://helpx.adobe.com/contact.html

  • HT5848 What is the sampling rate and codec for iTunes Radio. Is it lossless encoded?

    What is the sample rate and codec for iTunes Radio? Is it lossless encoded?

    I have to agree with you.  There are several forum discussions on bit rate being as high as 256 kbps but I don't see how it could be more than 96 kbps based on the poor sound quality I'm hearing.  I'm comparing it to an internet radio station that is 128 kbps and sounds much better.
    Am I missing something?

  • Oracle Error Code and Message for Query Timeout

    Hi,
    I need to catch the oracle error code and message for query timeout.
    I am using Oracle 9i and could not find any relevant error code/message
    for query timeout in Oracle Error Messages.
    If anyone has encountered such error messages, please let me know the
    Oracle Code or Error message.
    Thanks & Regards,
    Kanjana

    Fly is correct in that Oracle will normally let a query run forever in the absense of a user profile or dbms_resource setting that limits a users (query) resouce usage.
    The errors returned for these condition would probably vary but errors ORA-02092 "exceeded session limit on CPU usage, you are being logged off" and ORA-02093 "exceeded call limit on CPU usage" might be of interest.
    But for distributed queries Oracle does impose a time limit. See Oracle error ORA-02049 "timeout: distributed transaction waiting for lock"
    HTH -- Mark D Powell --

  • When I want to put a bookmark in my favourites, my browserwheel want turn arouund and around for half a minute. This was happened after several updates. Do you have a solution ?

    When I want to put a bookmark in my favourites, my browserwheel want turn arouund and around for half a minute. This was happened after several updates. Do you have a solution ? it is a very disturbing thing.

    Don't you have a deadline?
    Oh, sorry, I thought this was an URGENT query because you have clients waiting.
    Keep calm, carry on.

  • Table for Transaction code and Table associated

    Hello Experts,
    Please let me know if we have some table where it stores the information of Table Assoicated to a transaction .
    ( In detail : That is we give a table name in the View when we create a transaction for SM30)
    Regards,
    Ratna

    Hello,
    You have to go the table TSTCP (table for parameter transaction).
    In the field PARAM, pass
    *Z_TABLE*.
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 22, 2010 11:22 AM

Maybe you are looking for

  • HDMI Drivers reinstall

    I recently had issues with the laptop which was rebuilt / restored.  Previously I had no issues connecting my laptop to a HDTV (have the correct cables, know how to do it, etc).   So I think I need to reinstall the correct drivers - can you please ad

  • Where can I find an airport card?!

    I've recently discovered that the Apple airport cards for the older iBooks are extremely difficult to find. Where can I purchase one?

  • JSP code in a database field

    I have a database content driven website, and I would like to know how to get jsp code to work inside the database content field. Here is the code I use to get the content and return it to the browser: rs = stmt.executeQuery ("select * from pages whe

  • Libstdc++.so.5 not found

    Hi there I recently made pacman -Syu and upgraded to gcc 4.1.1 and matching binutils. Now, when i try opening a rar file, all i get is unrar: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or direct

  • Templates in LR3

    Hi,everybody Not only is the new interface for importing files NOT better, in my opinion, but I cannot find a way to get LR to use my previous file template - one created with a lot of thinking and effort. Any help?