Schedule line display based on Document Type

Hello Friends,
I need to display the last or the latest schedule line for the particular document type.
The document type and Schedule line both the objects belongs to NUMC data type.
For EX: for doc type 5555 the schedule line may have from 111 to 1009.
In between some schedule lines may be deleted. But i need to display only 1009 for the document type!!
Can some one suggest the solution for this!!!
Thanks and Regards
Sri

Hi Sri,
        you want to disply no.of schedul line numbers having particular Document type.
        means suppose doc type DR having 3 Sch line num
              Doc Type         Schedule line Num    loads
                  DR                    1007                   1st
                  DR                    1009                   2nd
                  DR                    1010                   2nd
                  DR                    1007                   3rd
the above scenario you want to disply Particular doc type having 4 Sch line num
   now you want to disply number '4' or
   you want to disply latest Scheduline number of DR 1007.
Could you tell me Clearly I will help to you.
Thanks & Regards,
Ram

Similar Messages

  • Based on document type , editable schedule qty in me22n, me52n

    Dear Gurus,
    based on document type , the schedule qty field under delivery schedule tab to be editable, at present it is in greyed out mode, is there any config settings are dev if so whatever please share with more details

    Hi,
       As of my knowledge, the change mode screen layout cant be defined based on document type. You can make the field as editable or non editable  in the field selection key AKTV (for both PR and PO).
       An alternate method is explained in the KBA: 2048405 - How to control the field layout
       If you still want to make the field selection based on document type in ME22N / ME52N, then you may go for development.
    Regards,
    AKPT

  • Counting Posted docuemnt in FI based on Document Type

    Hello Team,
    As a part of audit trail...I need to count all the posted FI documents based on document type and Company code. Table BKPF does not meet my requirement as it takes lot of time to count the documents and even not possible to get the break-up. is there any report / T.Code with with i can achieve my purpose.
    Please reply.

    Hi,
    1. Go to T-code TAANA and click on Start table analysis (F8).
    2. Enter BKFP as table name and click the push button "Analysis variant". In the next popup,  click     on "Ad Hoc Variant" button.
    3. Select the fields Company code, Fiscal year, Doc type and continue.
    4. Select the new variant and continue.
    5. Select the run in background option and proceed.
    6. Click on Immediate and the save the job
    7. Click on Job (F9) to see the job status
        Once job finish click on back
    8. Double click on AD-HOC to see the results.
    Regards
    Rohidas Shinde

  • Quantity field not getting displayed for all document types

    Hi,
    I have made a configuration to include field Quantity(BSEG-MENGE) in the GL account line item display.When I ran the report for stock adjustment account(FAGLL03), only the following document types are showing quantity against them.
    WI- Inventory document
    WA-Goods Issue
    WE---Not showing quantity against (WE- Goods Receipt)
    Can any one please explain. I have seen the original document from FI document. The original document as well as FI document carries quantity.
    Thanks
    Aravind

    Hi Aravind,
    Check SAP notes  1063198 and 1117587.
    FAGLL03 display quantity which is updated in FAGLFLEXA, BSEG is not
    relevant in this case. This is clearly explained in the note 1063198.
    The quantity posts through to FI on the 'goods receipt' items, but not on the
    'invoice receipt' items.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    But in the old 'Profit Center Accounting' and the old' Special Ledger'
    the field has been important.
    As the same logic of these areas to 'store' the Quantity is also used
    in the NewG/L the field get only filled in the line, where it make
    'sense' from our point of view, because only in the 'goods receipt'
    lines a 'real' Quantity is posted to the system.
    So as before in the PCA and SL, now also in the NewG/L the Quantity is
    filled in the correct and important lines and postings.
    In the BSEG ('old document segment table') the field is filled 'just'
    as it is send to the FI, but this is not completely correct from the
    business point of view.
    This can also lead to issues with the reporting and summation to this
    field. So with creating the new logic in the NewG/L the 'correct'
    standard of the 'writing' for the Quantity has also been taken over.
    So in the end, the update and display is correct according  SAP standard behavior.
    Actually,Quantities within G/L are never reliable,
    because the purpose of FI is a view on the data according to amount
    but not according to quantity.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    I hope I could be of assistance.
    Regards,
    Fernando

  • Schedule Lines not generated for MRP Type PD

    HI All,
    I have created Schduling Agreement, maintained Source List with MRP Relevant - 2 option and maintained Vendor as Fix, maintained info record.
    I have created a material with MRP type as PD and lot size as EX, and strategy group as MTS. Now when i enter requirement through MD61 and do MRP Run through MD02, system is generating PR instead of Del Schdule line inspite of schduling agreement. 
    But If i change MRP type to VB and maintain reorder point and maintain min lot size, then system generates Del Schdule lines for the same material.
    What could be the reason. I want delivery schedules based on MRP Type PD.
    Where I am wrong in MRP Views or in any cutomization. It seems that purchasing part is fine since it creats scudles line so no problem in SA or in Source List.
    Please help
    Regards,
    Vikas

    I have created Schduling Agreement, maintained Source List with MRP Relevant - 2 option and maintained Vendor as Fix, maintained info record.
    I have created a material with MRP type as PD and lot size as EX, and strategy group as MTS. Now when i enter requirement through MD61 and do MRP Run through MD02, system is generating PR instead of Del Schdule line inspite of schduling agreement.
    But If i change MRP type to VB and maintain reorder point and maintain min lot size, then system generates Del Schdule lines for the same material.
    What could be the reason. I want delivery schedules based on MRP Type PD.
    Where I am wrong in MRP Views or in any cutomization. It seems that purchasing part is fine since it creats scudles line so no problem in SA or in Source List.
    Hi Vikas,
                      After being thru with your query,i would like to reply your ultimate question"I want delivery schedules based on MRP Type PD"
    Simple answer:put parameter 'delivery schedule line' as '3'(schedule lines in opening period) without simulation mode.
    Please make sure you  don't make any change with previous settings(custom)
    please get it done and revert.
    Regards
    Chandra

  • How to make the vendor column have figure in GRIR line item with RE document type?

    Dear Experts,
         Could you tell me how to make the vendor column have figure in GRIR line item whose document type is RE?
         Thanks!
    Xinling Zhang

    Hi ,
    You are using FAGLL03 .
    FAGLL03 report vendor code is blank
    vendor number in new FAGLL03 tcode (offsetting account information)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30b96fed-eb5d-2e10-1792-f3ff9f65df8a?QuickLink=index&…
    Also check OSS note
    Note 112312 - Line item: Display of offsetting a/c information
    Note 1034354 - FAGLL03: Display of offsetting account information
    Many Thanks

  • Changing std title based on Document type while creating po(me21n)

    Hi experts,
    when we enter me21n,there the std title is Cretae purchase order.Here requirement is whenever i select document type as standard po then in std title it should display "Standard po created". Changing the std title in me21n based on selected document type.for eg:if i selected doc type as "stock transport ord" then in std title bar system should display "Stock transport ord po created".
    Thanks in advance.

    Hi,
    You can define allowed item categories for purchase order and doc type config for po
    SPRO>MM>PUR>PO>DOC TYPE>SELECT DOC TYPE>ALLOWED ITEM CAT
    BR
    Diwakar

  • Link between the Schedule Lines and the GR document

    Hi
    I would like to find the link between the Schedule Lines (of Scheduling Agreement) and the GR document. i.e. which GR has been made against which Schedule Line. I have checked the tables EKET, EKBE, MSEG but there is no link with the Schedule Line, I found the link only with the item number there.
    Thanks
    Prashanth

    Hi
    At the time of posting the GR for a SA you will be not posting this with reference to the Schedule line of the SA item. So system will always update the GR document against the SA item and update qty on the schedule line.
    May be this is the reason we donot have any direct relation ship to material document and Scheclue line
    Thanks & Regards
    Kishore

  • Schedule lines confirmation based on item category(TAN and TANN)

    Hi All,
    We have a problem with the schedule line confirmation in the standard sales order. Suppose if I give the item category as TAN, the schedule lines are confirmed for that line item. If I change the item category from TAN to TANN, then there is no confirmation of the material(No confirmed schedule lines).
    How Item categories influence the schedule lines? Are schedule lines also depend on customer?
    Thanks & Regards,
    Pranil.

    Hi Pranil,
    When you change Item Category then most likely in your case Schedule Line Category is also getting redetermined.
    Schedule Line category is determined by the Combination of Item category and MRP Type of Material.
    Hence please check your Schedule Line category after entering new Item category.
    Open VOV6 and check the Schedule Line Category. In that if Item Rel for Delivery Check Box is Unchecked then it means that
    your schedule line will get unconfirmed.
    Do let me know if this helps.
    Regards,
    Madhukar

  • Filtering data at the Source based on Document Type for 2LIS_02_ITM

    Hello All:
    I am trying to filter data based on certain purchasing document type for 2LIS_02_ITM and _SCL datasources.
    I want to filter in R/3 instead of in BW
    Any ideas on how to go about ?
    Regards
    Vijay

    Vijay,
        you are getting data for all the Document Types, so no need of any select Statements.
    use this code in your User Exit. and let me know if you have any questions.
    CASE I_DATASOURCE.
      WHEN '2LIS_02_SCL'.
        Delete C_T_DATA where BSART eq ‘C’.
    ENDCASE.
    Note: you need to give Document types which r not required fro BW extraction in EQ.
    'C' i gave for test... give the document types which r not required for you.
    all the best.
    Regards,
    Nagesh Ganisetti.

  • Restrict the user   based on document type on migo transaction-prepare GRN

    Hi,
    We are running ECC6.0 R/3 system.We had a requirement as follows
    In MIGO transaction , we want to restrict the user on document type i.e. we want that a particular user can  prepare GRN for document type  STO only. He cannot prepare GRN for other document type.
    We checked  SU24->maintain check indicators for transaction codes->enter migo->execute->check indicator.This returned us the authorisation objects present in Migo transaction.We checked the help of all these objects,but none of them we found suitable for above mentioned requirement.We were planning to find out the proper authorisation object to add to Profile generater.
    The following is the objects which we have checked for.
    A_B_ANLKL-->     Asset Postings: Company Code/Asset Class
    A_B_BWART-->     Asset Postings: Asset Class/Transaction Type
    B_USERSTAT-->     Status Management: Set/Delete User Status
    B_USERST_T-->     Status Management: Set/Delete User Status using Process
    C_AFKO_AWK-->     CIM: Plant for order type of order
    C_CACL_DSG-->     Interface Design
    C_DRAW_BGR-->     Authorization for authorization groups
    C_DRAW_DOK-->     Authorization for document access
    C_DRAW_TCD-->     Authorization for document activities
    C_DRAW_TCS-->     Status-Dependent Authorizations for Documents
    C_KLAH_BKP-->     Authorization for Class Maintenance
    C_STUE_BER-->     CS BOM Authorizations
    C_STUE_WRK-->     CS BOM Plant (Plant Assignments)
    C_TCLA_BKA-->     Authorization for Class Types
    C_TCLS_BER-->     Authorization for Org. Areas in Classification System
    C_TCLS_MNT-->     Authorization for Characteristics of Org. Area
    F_BKPF_BUK-->     Accounting Document: Authorization for Company Codes
    F_BKPF_BUP-->     Accounting Document: Authorization for Posting Periods
    F_BKPF_KOA-->     Accounting Document: Authorization for Account Types
    F_FICA_FOG-->     Funds Management: authorization group of fund
    F_FICA_FSG-->     Funds Management: authorization group for the funds center
    F_FICB_FKR-->     Cash Budget Management/Funds Management FM Area
    F_KNA1_APP-->     Customer: Application Authorization
    F_LFA1_APP-->     Vendor: Application Authorization
    F_SKA1_BUK-->     G/L Account: Authorization for Company Codes
    G_GLTP  -->       Spec. Purpose Ledger Database (Ledger, Record Type, 
                                   Version)
    J_1IDEP_SL-->     Authorization object for depot sale transaction
    J_1IEXC_OT-->     Authorization object for Other Excise Invoice Create
    J_1IEX_PST-->     Autorization object for posting Other Excise invoice
    J_1IGRPT1-->     Auth. for PART1 at GR
    J_1IINEX  -->            Incoming Excise Invoice
    J_1IRG23D-->     Authorisation object for Depo Transactions
    K_CCA-->                     CO-CCA:  Gen. Authorization Object for Cost Center 
                                    Accounting
    K_CSKS     -->                CO-CCA:  Cost Center Master
    K_CSKS_SET-->     CO-CCA: Cost Center Groups
    K_PCA-->                    EC-PCA: Responsibility Area, Profit Center
    L_TCODE-->                    Transaction Codes in the Warehouse Management System
    M_ANFR_BSA-->     Document Type in RFQ
    M_ANFR_EKG-->     Purchasing Group in RFQ
    M_ANFR_EKO-->     Purchasing Organization in RFQ
    M_ANFR_WRK-->     Plant in RFQ
    M_BEST_BSA-->     Document Type in Purchase Order
    M_BEST_EKG-->     Purchasing Group in Purchase Order
    M_BEST_EKO-->     Purchasing Organization in Purchase Order
    M_BEST_WRK-->     Plant in Purchase Order
    M_MATE_CHG-->     Material Master: Batches/Trading Units
    M_MATE_STA-->     Material Master: Maintenance Statuses
    M_MATE_WRK-->     Material Master: Plants
    M_MRES_BWA-->     Reservations: Movement Type
    M_MRES_WWA-->     Reservations: Plant
    M_MSEG_BMB     -->Material Documents: Movement Type
    M_MSEG_BWA-->     Goods Movements: Movement Type
    M_MSEG_BWE-->     Goods Receipt for Purchase Order: Movement Type
    M_MSEG_BWF-->     Goods Receipt for Production Order: Movement Type
    M_MSEG_LGO-->     Goods Movements: Storage Location
    M_MSEG_WMB-->     Material Documents: Plant
    M_MSEG_WWA-->     Goods Movements: Plant
    M_MSEG_WWE-->     Goods Receipt for Purchase Order: Plant
    M_MSEG_WWF-->     Goods Receipt for Production Order: Plant
    M_RAHM_BSA-->     Document Type in Outline Agreement
    M_RAHM_EKG-->     Purchasing Group in Outline Agreement
    M_RAHM_EKO-->     Purchasing Organization in Outline Agreement
    M_RAHM_WRK-->     Plant in Outline Agreement
    Q_TCODE     QM -->         Transaction Authorization
    S_ADMI_FCD-->     System Authorizations
    S_ALV_LAYO-->     ALV Standard Layout
    S_BDS_DS-->     BC-SRV-KPR-BDS: Authorizations for Document Set
    S_BTCH_ADM-->     Background Processing: Background Administrator
    S_BTCH_JOB-->     Background Processing: Operations on Background Jobs
    S_CTS_ADMI-->     Administration Functions in Change and Transport System
    S_DATASET-->     Authorization for file access
    S_DEVELOP-->     ABAP Workbench
    S_DOKU_AUT-->     SE61 Documentation Maintenance Authorization
    S_GUI-->                     Authorization for GUI activities
    S_OC_DOC-->     SAPoffice: Authorization for an Activity with Documents
    S_OC_ROLE-->     SAPoffice: Office User Attribute
    S_OC_SEND-->     Authorization Object for Sending
    S_PACKSTRU-->     Internal SAP Use: Package Structure
    S_PRO_AUTH-->     IMG: New authorizations for projects
    S_RFC-->                     Authorization Check for RFC Access
    S_SCD0     -->                Change documents
    S_SPO_DEV-->     Spool: Device authorizations
    S_TABU_DIS-->     Table Maintenance (via standard tools such as SM30)
    S_TCODE     -->                Transaction Code Check at Transaction Start
    S_TRANSLAT-->     Translation environment authorization object
    S_TRANSPRT-->     Transport Organizer
    S_WFAR_OBJ-->     ArchiveLink: Authorizations for access to documents
    V_LIKP_VST-->Delivery: Authorization for Shipping Points
    V_VBAK_AAT-->Sales Document: Authorization for Sales Document Types
    V_VBAK_VKO-->Sales Document: Authorization for Sales Areas

    Have you executed a trace while a functional user executes the transaction code for the specific parameters? (i.e. document type). The trace will then show which objects are being checked; then look at the object documentation in txn Su21 to determine if there are any ways to restrict on the particular value; in some cases, if the authorization group field is being checked, additional configuration is needed in order to implement the security (Su21 will explain in detail for the particular object).

  • APP RUN Based on document type

    HI SAP Gurus.
    While invoice posting(F-43/MIRO) User use Doc type KR & RE(may be different doc type instead of KR)..
    Now he want run APP for only KR document type....
      Please give me solution......

    Hello-
    In F110, after entering data in parameter tab in the next tab "additional fields" under selection criteria drop down where it says field name. A pop up box will show and here select "Document" and hit enter and it will list all the fields available for selection. You can choose document type and hit enter. It will now populate in the field name and for values enter what ever document type you want. In your case, enter KR and go to next tabs. By doing this, payment program will only pick documents that have the document type you entered. This way you can isolate payment runs by document type.
    Hope this helps.
    Shail

  • Triggering of Workflow for park documents based on Document type.

    Hi,
    I have activated workflow for park documents but it is triggering for all document types. Client dont want workflow for Customer park documents.
    I assigned SA document only in "release approval path" but it is triggering for all document types.
    Please help me.
    Thanks.
    Azeem

    Hi Azeem,
    We have the same requirement. Would you mind sharing how you were able to accomplish this?
    Thank you,
    Mark.

  • Schedule Line no

    Hello Friends,
    I need to display the last or the latest schedule line for the particular document type.
    The document type and Schedule line both the objects belongs to NUMC data type.
    For EX: for doc type 5555 the schedule line may have from 111 to 1009.
    But i need to display only 1009 for the document type!!
    Can some one suggest the solution for this!!!
    Throw some lights on this friends!!! Waiting for the replies as early as possible.
    Urgent Plz!!!
    Thanks and Regards
    BALA

    Thanks for ur reply.....
    right now i am at the data modelling level...
    i want to load data from datasource 2lis_03_bf to ods or cube...
    now give me the solution how to write the logic ?
    cheers..
    bala

  • Document type LPA in schedule agreement

    any one can explain me document type LPA in schedule agreement. I read books as that is document type with release documentation. And what is the diff between LP and LPA?

    Dear,
    Please find below, which I found by search and posted by fellow collegues earlier....
    Default quantity for goods receipt
    In the standard system, the quantity open to date from the last- transmitted SA release is used in the case of scheduling agreements with release documentation (document type LPA). In the case of scheduling agreements without release documentation (document type LP), the open quantity to date is used.
    Document Type of Scheduling Agreement
    As a rule, the APO scheduling agreement in the SAP R/3 system is a scheduling agreement with the document type LP or a scheduling agreement without release documentation.
    If you use scheduling agreements of the document type LPA without confirmation control key then no default quantities can be determined from the release upon goods receipt.
    If you use scheduling agreements of the document type LPA with confirmation control key then the default quantities from the confirmation (shipping notification) are used.
    As a rule, the OLTP scheduling agreement in the SAP R/3 System is a scheduling agreement with the document type LPA.
    A scheduling agreement is a longer trem agreement with a vendor covering the supply of materials subject to predefined conditions.The conditions are valid for a pre defined period and a pre defined total purchase order quantity.
    You can enter the Target value in the header data of the scheduling agreement.You can enter the Target quantity in the item overview for each item
    You can use scheduling agreement with or without release documentation.The advantage of working with scheduliing agreement release documentation is that you always have a record of when you sent which delivery schedule information to your vendor,which you can display at any time.
    Without release documentation(Document type LP)
    The delivery schedule lines have official character-that is to say,they are transmitted to the vendor as they are saved in the system.The system does not document in detail releases aganist the scheduling agreement that have been sent to the vendor.Therefore,in the case of the document type without release documentation,the message control facility should be set up in such a way that a message is immediately sent to vendor if any changes are made to the delivey schedule stored in the system.
    With release documnetation(Document type LPA)
    If you use scheduling agreement with release documentation,the delivery schedule lines are not transmitted directly to the vendor.Intially ,the lines of the delivery schedule stored in the system for an LPA scheduling agreement for an internal information only.A message informing the vendor of your material requirements cannot be transmitted to the vendor until you explicitly create an SA release,that is forecast (FRC) or Just in Time(JIT) delivey schedule.Through this process,you can change the way schedule lines are represented.With release documentation,you can disply the SA releases(delivery schedules) transmitted to a vendor over a certain period of any time.This enables you to trace precisely when you sent which information to vendor.
    Regards,
    Syed Hussain.

Maybe you are looking for

  • Error while running reports in Portal

    Hi , While running a crystal reports in portal a pop-up appears with the following error message " Sorry = you are not logged into this server. Ensure that your user name and password, as well as the APS name are correct. " Can anyone help on this?

  • Is there an easy way to see how many rows in a table? (selected or unselected)

    Hi all, Forgive me if this is a REALLY dumb question but I would love to know if there there is an easy way to to see how many rows there are in a table in InDesign? (And I bet I am really going to kick myself when I hear the answer and how simple it

  • Zooming in on an InDesign document. Can it be smoother?

    When I zoom in or out or even scroll around an ID document, it's fairly clunky. Like the clicks on a regular mouse wheel. Chunk, Chunk, Chunk. Is there a way to have smooth scrolling or smooth zoom in/out? Dang that would be nice. OSX 10.8, IDCS 5.5

  • Where clause fails

    In my project I do a query using  the folloqinf statement : vPastiCDC totpasticdc_tab3_riga =                             db.vPastiCDC.Where(                                 x =>                                     x.CDC == Cdc_considerato && x.Anno

  • Some lines dont print when i print a form

    When i print a page all the horizontal lines dont print on the page.Can someone help with this problem.I am using Acrobat Reader 7 and Vista.Thanks