Capture the Uploaded by in line item BP

Hello All,
Is it possible to capture the user name in the detail form(Line Item BP) , who uploaded the document in the line item
because i see that only Upload By feature is only for Document Attribute form.
Regards,
Ankit

Hi Master , sorry for the late reply and can you please help on this?
create table xxc_transactions(type_id number,trx_line_id number ,item_id number,org_id number);
insert into xxc_transactions values(null,null,null,null);
create table xxc_items(item_id number,org_id number,item_no varchar2(10));
insert into xxc_items values(123,12,'book');
create table xxc_headers(header_id number,order_id number);
insert into xxc_headers values(null,null);
create table xxc_lines(header_id number,item_id number,line_id number);
insert into xxc_lines values(null,null,null);
create table xxc_types_tl(transaction_id number,NAME varchar2(10));
insert into xxc_types_tl values(106,'abc');
create table xxc_uinon_table(item_id number);
insert into xxc_types_tl values(123);
SELECT   union_id.item_id,
         b.org_id ,
         e.name ,
         fun1(union_id.item_id) item_no   --> to get item_no
         FORM xxc_transactions a,
         xxc_items             b,
         xxc_headers           c,
         xxc_lines             d,
         xxc_types_tl          e,
         ( SELECT item_id
             FROM   xxc_uinon_table ) union_id
WHERE    a.type_id= 6
AND      a.item_id = b.item_id
AND      union_id.item_id = b.item_id
AND      a.org_id = b.org_id
AND      c.header_id = d.header_id
AND      d.line_id= a.trx_line_id
AND      d.item_id= b.item_id
AND      c.order_id= e.transaction_id ---106
AND      b.org_id = 12
GROUP BY union_id.item_id,
         b.org_id ,
         e.name
ORDER BY union_id.item_id;
Note: xxc_uinon_table is a combination of UNION's
select 1 from dual
union
select 1 from dual
union
select no rows returned  from dual;
I will get 1 from the above Query
Thank you in advanced

Similar Messages

  • Information about the deleted sales order line item in idoc.

    Hi Experts,
    I am new to IDOC.We have the following idoc requirement,
    When a line item is deleted from the sales order(VA02) ,
    the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
    Please help me in proceeding further.

    Hi,
    I am facing the same scenario of capturing the  deleted sales order line item in idoc.
    I am using ORDRSP message type , where in E1EDP01- ACTION contains value  "000" .
    And the Deletion line item is not been captured, is there any configuration setting required to
    capture the deleted line item in Idoc.
    Based on the posting in this thread i understand that there is an  indicator which has to be set .
    Please let me know what is that indicator and how to set it?
    Thanks
    Sathish

  • Profit Center population in the Vendor and Customer Line items

    hello
    our client is asking for  getting profit center in the vendor and customer line items  where in the view FBL5n and fbl1n we are not getting the profit center populated - in the new gl i understand that there is a standard report based on the gl account.
    but our business is not satisfied with the report and expecting report at profit center level.
    Can any one suggest any way of doing this.
    regards,
    Vijay

    Dear Vijay,
    Let me provide you my view of solutioning for this. This is an enahcement that needs to be done
    1. You can get the profit center from the given vendor and customer line item at the time of posting, using an enahcement you will be able to capture it.
    2. Existing the profit center field is not populated in the BSIK,BSAK,BSID and BSAD tables
    3. Hence, in the same enhancement once you capture the profit center , you can write the code that profit center is updated in these tables also.
    4. This will help you to do the vendor line item wise selection in the FBL1N,  FBL5N profit center wise.
    Constraints of this solution:
    The only constraint remains where in the for a given document if there are multiple profit center, then the system will do the splitting profit center wise for a vendor line item, which will not populate the profit center in those tables as there is only one field available in the bsid etc.. tables.
    This basically would be the one the soltuion where in as seeen from the end user ther eis no change in the front end interface , the way they are doing always they can do.
    You need to also take care the % of document splitting means cross profit center postings /cross document splitting charactericstics postings and the volume involved in this. so that you can suggest this to your client.
    Regards,
    Bharathi.

  • How to upload sales order line items?

    SAPGurus,
    For years my customer service department has been asking for a way to upload sales order line items into the VA01 sales order-entry screen.
    Many of our customers submit PO's with huge amount of line items, up to 1,000 lines. Our CS reps need to key in the data line by line (or copy/paste
    approx 17 lines at once from Excel into the VA01 screen), and we are looking for a way to make this process leaner. One idea we have is that user creates the order header, and then has a way to upload the material numbers and quantities in a separate (newly created Z-transaction) screen in one go.
    Obviously rules then need to be built that deal with the various pop-up messages related to e.g. ATP, material status, etc.
    Does anyone have any experience or thoughts on how we could achieve this? A way to make the sales order-entry process a bit less time-consuming? Any feedback would be greatly appreciated !
    Thank you,
    RVS

    Take the inputs from this Blog created by  SUNIL PILLAI                   
    Sales Documents upload  using Standard Direct Input Program in LSMW
    G. Lakshmipathi

  • Legacy asset data upload for multiple line items

    Hello
    Legacy asset data upload for multiple line items- for example Building is an asset which is having different line items for purchasing of land,constructaion or renovation etc.........now to upload the legacy data what should be consider...only one line item for Building or numbers of line item.........
    which one is the proper way to do this exercise?
    regards

    Hi,
    It completely depends on clients requirement. but following are few approaches:
    1. Define Building as Asset Class.
    2. Create a Building at specific location at asset code and
    3. create asset sub numbers for other components.
    other approach would be:
    1. Define Building as Asset Class.
    2. Create a Building at specific location at asset code and
    3. create further asset codes for other components where field description will be used for relating each other.
    Regards,
    Sayujya

  • Update the change history for line items in CDHDR/CDPOS

    Hi,
    I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
    Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
    i have added change document flag in the data element of the custom field.
    Please advice me how to get all  the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
    Thanks & Regards
    Kiran

    The purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
    If you need anything addtional from this then that would customizing.
    I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header.

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

  • How to change the amount of Vendor Line Item in FB60

    Hi all,
    I want to post the invoice in SAP with FB60. The journal is as follow:
    Dr. Expense    1000 USD
    Dr. VAT-Input    100 USD
          Cr. Account Payable     1100 USD
    But the problem, the amount of Account payable is 1000 USD. Because I want to fill the amount in vendor line item (FB60) with the original expense (1000 USD).
    I want to ask, there is any configuration in SAP to change the amount in vendor line item which it could be the same with amount of the original expense.
    If you ever have same problems, plase share with me
    Thanks,
    John

    Hi,
    Thanks for your reply. The result of posting invoice that I want is as follow:
    Dr. Expense    1000 USD
    Dr. Vat - Input    100 USD
    Cr. Account Payable   1100 USD
    When posting invoices in FB60, there is a filed "amount vendor line item" at the top. Usually the field is filled with amount vendor 1100 USD, but I want to fill it with the expense amount (1000 USD). Which can be show the account payable 1100 USD.
    Is there any configuration to change the field "amount vendor line item" ?
    Thanks,

  • Service procurement for the free texts ( Multiple line items in PO)

    In the service procurement for the free texts ( Multiple line items in PO)referring to the same  Contract we are cretaing the POs
    thro ME59 ( Program RM06BB20)  an unusual error message appears as under:
    "_Material/Service group STGOP2 does not exist"_This Material group is unavailable in T023 as well.
    We checked the same issue by recreating with the exact data in the Test environment and everything works OK
    We are working on the R3 version 470...
    Any body faced such an issue ?
    Any clues pls?
    Regards,
    Nagarajan

    Hello,
    We have faced another issue of the same nature while a PO is being created using the tcode ME21N for service free text items referring a PR ( Service item has no Contract assigned but a fixed vendor)
    The error relates to SE419 ( Mat grp 'XXXX' does not exist)
    Any takers..
    We are using a custom doc type  for the PR
    Any hep /clue is appreciated
    Regards,
    Nagarajan

  • How to increase the line items against the std no of line items in MIGO

    hi,
    I have PO with more than 100 line items
    During GR system is showing the error message as
    Maximum number of items F1 reached
    What is the standard no of line items in MIGO
    And how to increase the line items
    Is there any notes to apply
    plz give sutable solution
    K.Raghuram

    Do you get message F5727 "Maximum number of items in FI reached"? reason is that in FI the posting line has a three-digit line item number (BSEG-BUZEI).
    SAP's note 117708 provides a modification. I am pasting solution below.
    Via the summarization you can post documents with more than 999 items in
    FI.
    The modification required for this is small, in addition you have to
    change 2 tables. The modification is carried out in FI not in invoice
    verification.
    To activate document summarization in FI proceed as follows:
    - The changes are described in Note 36353 and for the
    modification in Note 77161. You may also have to apply Note
    67640 so that the document summarization affects inventory
    management.
    An advice for the notes:
    36353: Solution point 3: Field name WERKS
    77161: Solution point 2: Maintain table TTYPV with Transaction
    SE16
    - this has the following effects; you can no longer clear the
    GR/IR clearing account on purchase order item level (but only
    on purchase order level) and you can only display the FI data
    summarized (also see Note 36353)

  • Retrieving the Change Texts per Line Item (Purchase Order) - Very urgent

    Hi,
    How do you retrieve the Change Texts per Line Item (Purchase Order).
    Table T166T does not list these values per line item.
    Please help. This is very urgent & important.
    Best Regards,
    John

    if you are lookin out for change of item texts ...
    then use the function module ... READ_TEXT.
    and 2 tables r used ... STXH and TLINE ....
    double click on item data ...
    goto PO TEXT tab ....
    double click on text ...
    from menu ...
    goto header ... u'll get 4 fields that u need to consider ...
    TDID
    TDOBJECT
    TDHEAD
    TDNAME
    ALL THESE U'LL FIND IN  STXH
    ITEM TEXT is stored in TLINE
    Edited by: anjali rana on Mar 5, 2008 4:55 AM

  • Troubles with multiple ESLL-SRVPOS in the same outline agreement line item!

    Hi all,
    Currently have an issue where the same service master is being used multiple times in a single outline agreement line item (set up with different groups in the service specifications with different rates).
    This is causing issues with drawing services into purchase orders.
    Eg: In ME57 when creating a PO from a PR, in the include LMLSPF5J /SEARCH_SRVPOS_CONT/ the system is checking if ESLL-KNT_INTROW is empty (which in my case it is, and message SE361 is displayed).
    The main thing thats happening is that ESLL_KNT_PACKNO and ESLL_KNT_INTROW, which hold the reference data to the outline agreement in the PO should get filled with the packno and introw from the oa service line but it isnt happening.
    I'm thinking of creating a validation so that the same service service number (ESLL-SRVPOS) CANNOT be used in the same outline agreement line item.
    Wondering if anyone has had this same issue and what path they went down to resolve it.
    Any ideas would be appreciated.
    Tim

    hi
    u cannot do this because different line items cannot be in same cell as they are variable and only one field can be there ata atime in one column while creating field catalog
    <b>u can do one thing. corresponding to sales order u can display its line items ion the secondary list and would make more sense also. for this make ur sales order number as HOTPOT on click of which will display its corres line items </b>
    regards
    ravish
    <b>reward if useful</b>
    Message was edited by:
            ravish goyal

  • What is the maximum number of line items we can enter in an order...

    Hi,
       Can anyone explain what is the max number of line items that v can enter in an order....
    or if i want to increase the number of line items than the max where it is controlled.
    Because my mm counter part is facing this in the PO he could make only 9999,the problem is when posting...the accounting document is not getting generated bcas of exceeding the limit.
    venugopal

    hi,
    this is my personal experiance that we can enter at the most 499 line items in SALES ORDER.
    This is because for every line item there will be 2 financial entries, debit and credit. and 1 FI document can have at the most 999 line items (which we can not increase without KEY fromSAP)
    If we divide 999 by 2 then it comes to 499.50 so you can enter at the most 499 line items in Sales order.
    Regards
    Vishal

  • How to limit the number of PO line items in ME59N

    Hi,
    The purchase requisition has more than hundred lines, possibly from the same vendor but different MC.
    During conversion in ME59N, User wanted to limit the number of PO line items to just 20 lines per PO.
    Is there a way to configure it?
    thanks

    Hi,
    I believe this is not possible in standard way...
    assume you can call a method on the IF_EX_ME_PROCESS_PO_CUST
    interface of the ME_PROCESS_PO_CUST add-in to do this.
    1. check out the enhancment
    MEREQ001
    2. In this, check out the FM Exits :
    EXIT_SAPLMEREQ_008
    EXIT_SAPLMEREQ_010..
    hope it helps you.
    Kuber

  • LSMW upload of vendor line items

    Hi
    I have prepared a template for vendor line item upload. For payments as well as invoice. Now when i upload, i want that it should automatically get knocked off.
    For example:
    There is a vendor invoice - Rs.100
    Advance - Rs.40
    Now when i upload both the line item, SAP should automatically show Rs. 100 & Rs.40 cleared with each other and Rs. 60 must be shown as open item.
    Is there any link available for upload ?

    Hi Max Tan,
    a) You will probably only be able to use multiple T-Codes in one of the Standard uploads provided by SAP.In these you have to enter the T-Code to be used, so therefore you could code it to use different T-codes. A recording would not allow this.
    b) Multiple in Sequence is just a design issue not any specific function. In reality they are seperate programms, but i use the same source file with coding to decide which items are used in each programm.
    eg for Asset uploads- I have a single file but 2 programms.
                            a) Programm for main Asset numbers    -   Code   If Sub-no NE 0.
                                                                                    Skip_Record.
                            b) Programm for Sub Asset numbers         Code   If Sub-no = 0
                                                                                    Skip_Record.
    In this case i have to run a) before b), therefore "in sequence".
    KInd regards

Maybe you are looking for