Adding field in Invoice Details

Hi Experts,
                  The user has asked to add contact person name in invoice details through query manager. It could be possible to do.

Hi,
Check this :
SELECT T2.Quantity as 'Invoice Qty', T2.Openqty as 'Open Qty - Invoice', t2.Price as 'Price of Item',
T0.[DocNum] as 'Invoice number', T0.[DocDate] as 'Posting Date', T0.[CardCode] as 'Customer', T0.[CardName] as ' Customer Name',
T1.[Name] as 'Contact Person Name',
T1.[Position], T1.[Address], T1.[Tel1], T1.[Tel2], T1.[Cellolar]
FROM OINV T0  INNER JOIN OCPR T1 ON T0.CntctCode = T1.CntctCode
INNER JOIN INV1 T2 on T0.Docentry = T2.Docentry
Kind Regards,
Jitin
SAP Business One Forum Team

Similar Messages

  • Adding fields in EDI output of Invoice List

    Hi!
    I am trying to find out what is a process of adding fields in EDI output of Invoice List...
    I mean that I need to add some extra fields to Invoice lists.
    The information I have is: name of Form, print program and output type.
    I guess I need to modify printing program, is it a correct way to go?
    Hope to avoid modifying of print form...
    Will reward,
    Mindaugas.

    I did not work on invoice list EDI,but i have done invoice.
    First you need to look at segment,if you want to add new fileds in output,then you need to create segment at WE31 Transaction.
    now create idoc type based on invoice idoc type ( WE30) here you need to use ur segment.
    Idoc has function module
    outbound - FM will start IDOC_OUTBOUND_inv*
    Inbound  - FM will Start IDOC_INBOUND_INV*
    in the FM,you will have user exit ,populate ur fields in user exit.
    Configuration :
    1 create or maintain logical system - SALE
    2. Create RFC Destination - Sm59
    3. Create port - WE21 - ( EDI - Port is FILE)
    6.Maintain partner profile - WE20 ( Give all required details like message type,idoc type)
    IDOC Status - WE02 or WE05
    Status Record - WE47
    Change pointer - BD52
    Message type : WE81
    Assign message type to idoc WE82
    finally when you create invoice list and output type medium is 6 then output will go to other system as text file.
    Note : Please maintain message control in Partner profile.

  • Collections Management - Adding Field to Customer Invoice Level View

    Hello,
    Has anyone successfully added additional fields available in FBL5N to the invoice level view of a customer when drilling into the customer invoice detail from a worklist?
    Thanks, Kevin

    Hi Kevin,
    The BadI for adding fields when displaying worklist items is UDM_WL_ITEM_DISP_C. You will need to add your fields to the customer include C_ATTRIBUTES in order to get them to display. Drill into the changing parameter of the method BEFORE_ALV_DISP to see more detail on that.
    Once you have added your new fields you will need to fill them with data within that BadI method and also add the field to the displayed ALV when you go into your worklist from the front-end.
    Any questions just let me know.
    Cheers,
    Brenton.

  • CProjects - Adding a new field to the detail screen of object link

    Hi All,
    I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
    Please let me know how could i realise this functionality?
    Thanks in advance.

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • SAP Work Manager customization - adding a new field to equipment details screen (Syclo Agentry)

    Hi Experts,
    I am trying to add a field (NAME1) on the Equipment details screen under work orders in work manager 5.3 application.
    I have performed the following steps, but I am getting an error while connecting to the application.
    1) Create extension for Equipment class to add a new field.
    2) added the new field (Name1) as the property to the standard object Equipment.
    3) Added the field on the screen.
    4) Added the field (name1) to the complex table ctEquipment.
    5) Added the JAR file to Agentry.ini file.
    6) Changed the Class mapping for parameter "Equipment" under group "SAPOBJECT" to point it to the custom (Extended) class.
    7) Changed the class mapping for complex table parameter "ctEquipment" under group "CT_SAPOBJECT" to point it to the custom class.
    8) after publishing the changes and re-starting the server, I get following error.
    the log file generated (message.log) also has the same description.
    What am I missing here? Any help would be really appreciated.

    Hi Emanuel,
    Thanks for looking into this issue.
    I have performed the following steps as suggested by you, still it doesn't seem to work and gives the same error.
    Below are the changes done on the ECC Side.
    1) Copied the standard equipment class /SYCLO_CL_PM_EQUIPMENT1_DO to custom class ZSYCLO_CL_PM_EQUIPMENT1_DO. Changes made in the GET Method to get custom equipment related data
    2) Modified the standard equipment structure /SYCLO/PM_EQUI_STR by adding one custom field
    3) Configured this custom class as the object handler in the equipment mobile data object
    4) Configured this custom class as the object handler for the equipment complex table
    5) We are still using the standard BAPI Wrapper itself for getting the equipment data and the added field is reflected in the BAPI Wrapper table parameter
    Is there something we are missing?

  • How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice

    Hi,
    Kindly solve, How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice.
    Regards,
    Rajeev.

    Follow this step..
    1. In SQL Server, go to the SAP B1 Database you're using. 
    2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
    3.  Try to paste this -> and click F5
    If
    @object_type ='13' and @transaction_type in ('A','U')
    Begin
    If EXISTS
    select DocEntry from ONIV
    Where DocEntry = @list_of_cols_val_tab_del
    and  SlpCode<>'-1'
    Begin
    set @error_message = 'Please select the Sales Employee'
    set @error = 1
    END
    END
    Regards
    Kennedy

  • Problem with adding output field in Bank Details(Infotype 0009)

    Hi All,
    I hav a criteria like, when i select a value for a field corresponding value should be displayed in input/output field just beside the selected field.
    To make you understand the criteria more clearly.In infotype 0009 we hav Bank key.When we select a bank key corresponding Bank name is displayed just beside Bank key field.How to achieve that functionality.
    Can anyone help please. Its urgent...
    Thanks a lot...
    Sandeep.

    To make my question more clear.I have created a new field in bank details infotype.Similar to the field Bank key in 0009 Infotype.As soon as a select the Bank no through F4 functionality i want the Bank no no to be selected and at the same time i want Bank name to be displayed just beside this field.
    In short with 1 selection i want both Bank no n Bank name to be selected.
    If i hav ti write the code where should i write the code.I hav also created a structure .I presume i need to write a logic for this requirement.But i dont know where to write the logic.

  • UDM_SUPERVISOR: Adding fields and data at customer item level

    Hi
    I am having the same issue with newbie82_c; I need to populate the added fields in transaction UDM_SUPERVISOR.
    I know that the previous thread was tagged as answered already but the solution to the issue was not indicated in the thread.
    Here are the scenarios:
    - i've added fields in the item level invoice worklist of the customers by enhancing structure FDM_COLL_INVOICE_ALV (appending fields to FDM_COLL_INVOICE)
    - thru the implementation of the BADI FDM_COLL_SEND_ITEMS, i was able to retrieve the data specified by the user (Reference Keys in FB05)
    - i've populated CT_EXT_ITEMS with the retrieved data
    Now I need these data to be displayed in the added fields in UDM_SUPERVISOR.
    What ABAP object/s is/are responsible for populating the process receivable details?
    Thank you in advance for the assistance.
    Edited by: JPLCaliuag on Dec 19, 2008 8:31 AM

    Hi K.R.Reddy,
    Can you kindly provide me with a working solution for this? I'm currently facing a similar issue for a similar BAPI (in my case it's BAPI_CUSTOMERRETURN_CHANGE) and can't seem to update the custom fields in VBAK. I have put in necessary values in the EXTENSIONIN table as well as updated the UPDATEFLAG indicator to 'U' and although it says that the order is saved, it seems to overwrite the custom field with its original value.
    The custom field seems to get updated correctly when I use BAPI_CUSTOMERRETURN_CREATE but when I make changes using BAPI_CUSTOMERRETURN_CHANGE, it gets overwritten with the original value.
    Any help is appreciated.
    Thanks and regards,
    Adeline.

  • Excise Invoice details in FBL1N Required

    Hi Gurus,
    Is there any way where i can Display the Excise Invoice details while displaying Customer Line Items thru T.Code FBL1N.
    I am not able to insert a special field from settings either.
    Is there a solution..

    Your question is a little confusng - Do you mean to say you want to view the Excise info also ? If so, how is it being recorded on an invoice - Based on that, you would be able to add that field in the T Code FBL5N.

  • Out going Excise Invoice details in A/P CreditMemo

    Hi..,
         I Need Outgoing Excise Invoice Details in  A/P Credit Memo (I.e).., Excise Removal Time in A/P CreditMemo .I had selected OOEI table with ExcRmvTime ..,Relating the table with customer/Vendor Code of  A/P Credit Memo .But it is not displaying the details.Can any suggest a solution to fix this issue.
    Thank You.
    Regards ..,
    Ashok.

    I think you are trying to create a/r credit memo from
    ar invoice.
    In ar credit memo system prompts to enter excise reference no in accounting tab for that
    click open OOEI in find mode enter
    delivery number in remarks field as below.
    For example delivery no is 100050* in remarks field,
    press enter,now OOEI will open there you can find excise
    reference number below contact persons.
    Copy excise reference number & paste it in
    ar credit memo.
    Jeyakanthan

  • Adding field in pa30 screen urgent

    hi all,
    i am new to user exits.
    and my requirement is to add a field in screen for PA30 tcode screen.
    so how i can go for this .
    if anyone has added fields in any SAP standard screen
    then plz give me the doc regd that with screen shots if u have otherwise give me the steps.
    my mail id is- [email protected]
    plz i am looking urgently for it.
    i will award all ur efforts.
    thanks
    sanjeev

    Screen Exit
    Please remove the TDS-related input fields on the PO entry screen on the customer data tab  (PO line details).
    - TDS account
    - TDS cost code
    - TDS sub code
    1.     Goto Transaction Code Me21n
    Fill the following fields
    Enter
    Give the input values in following fields from  ORGDATA TAB
    Purchasing org
    Purchasing group
    Company code
    Vendor
    Enter
    Select Customer Data tab like following
    USER EXIT  : MM06E005 (Customer fields in purchasing document )
    &#61664;  Goto  : T.Code : SMOD
    &#61664;     Give the Enhacement Name : MM06E005
    &#61664;     Click on Display
    &#61664;     Click on Components Push Button
    &#61664;     Double click on function module EXIT_SAPMM06E_016( Export Data to Customer Subscreen for Purchasing document item)
    &#61664;     Double click on Include ZXM06O01.
    &#61664;     Insert the following coding in that include
    SET PARAMETER ID 'BUK' FIELD g_ekko-bukrs.
      LOOP AT SCREEN.
        IF screen-name = 'EKPO_CI-ISMSUBTITLE1'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>>>>>> Begin of insert CR336/BG1 >>>>>>>>>>>>>>>>>>>>>>
        IF screen-name = 'G_EAN11'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *<<<<<<<<<<<<<<<<<<<<<<< End of insert CR336/BG1 <<<<<<<<<<<<<<<<<<<<<<<
    *>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
    IF screen-name = 'EKPO_CI-TDSACCOUNT'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    IF screen-name = 'EKPO_CI-TDSCOST'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    IF screen-name = 'EKPO_CI-TDSSUB'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
    *>>>>>>>>>>>>>>>>>>>>>> Begin of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
        IF ( screen-name = 'EKPO_CI-TDSACCOUNT'
          OR screen-name = 'EKPO_CI-TDSCOST'
          OR screen-name = 'EKPO_CI-TDSSUB'
          OR screen-name = 'TDS_TXT_1'
          OR screen-name = 'TDS_TXT_2'
          OR screen-name = 'TDS_TXT_3'
          OR screen-name = 'TDSACCOUNT-DESC'
          OR screen-name = 'TDSCOST-DESC'
          OR screen-name = 'TDSSUB-DESC'  ).
          IF g_ekko-bukrs(2) <> 'U6'.       "not a theatrical company
            screen-invisible = '1'.
            screen-input     = '0'.
          ELSEIF g_flag = 0.                "display only
            screen-invisible = '0'.
            screen-input     = '0'.
          ELSEIF g_flag = 1.                "change
            screen-invisible = '0'.
    *>>>>>>>>>>>>>>>>>> Begin of Changes for K896570/501411945 <<<<<<<<<<<<<
           screen-input     = '1'.       "Fharook Syed
            screen-input     = '0'.        "Fharook Syed
    *>>>>>>>>>>>>>>>>>> End of Changes for K896570/501411945 <<<<<<<<<<<<<
          ENDIF.
          IF screen-name = 'EKPO_CI-TDSACCOUNT'.
            screen-required  = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
    *>>>>>>>>>>>>>>>>>>>>>> End of insert SM1 >>>>>>>>>>>>>>>>>>>>>>
    &#61664; save & activate.
    &#61664; Repeat the above process in ME21N to see customer data fileds in CUSTOMER DATA tab
    After the above Modifications CUSTOMER DATA is   displaying like this

  • Using MM excise invoice details in SD report

    hi friends,
    i have a requirement that i have to use MM excise invoice details in SD report.
    inwhich both billing document nos are same .
    can any one explains the clear solution for this report.
    thanks in advance.
    Regards,
    karunakar
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Jun 27, 2011 2:55 PM

    Hi
    you want to see the invoice column in FBL5N report.  first you need to check the current layout selection.  this fields are available or not.  if available then add that fields.
    if fields are not available then goto menu "Settings - special fields" OBVU.
    then add this fields in this.
    before add this fields here.  please check the data is updating in BSEG tables and which fields it has updating.
    hope this will help you.
    Regards
    Ram

  • Porder excise invoice details

    hi frnds,
    i am facing a sictuation that i hav to create a report about the excise invoice details.
    i know th tables
    t001w
    j_1iexchdr
    ekpo
    ekbe
    i want to extrat data by using for all entries
    i want how to extrat the data that means key relations abt the tables
    thanks,
    karunakar
    Moderator message: please see my message in your previous post.
    Edited by: Thomas Zloch on Jun 30, 2011 11:10 AM

    Your question is a little confusng - Do you mean to say you want to view the Excise info also ? If so, how is it being recorded on an invoice - Based on that, you would be able to add that field in the T Code FBL5N.

  • PDF Form to XML. How to handle invoice detail lines

    I am using LC Designer 7.x on a PDF form that has a submit button that loads a ColdFusion MX7 page that will save the XML in a MS SQL 2005 XML field.
    My source of confusion is how to handle the invoice detail lines on the PDF invoice form.
    The XML that I want is
        5 All Season Tires
        400.02
        A car with 5 wheels
        20400.00
    My question is how do I setup the form fields to do this.
    What I did prior to XML was have fields whose name included the line number and store them as FDF.
    eg
        description01 amount01 description02 amount02
    But that will not work, or I dont know how to translate that to the desired  XML.
    Any thoughts you might have would be appreciated.
    Thanks
    Archie Campbell

    Archie,
    You want to create a subform called "invoiceLine" which you've set to repeat for each data item using the Binding tab of the Object palette. This subform must be contained within another (e.g. "invoiceLines") whose content is set to be "Flowed" on the Subform tab of the Object palette. So your object hierarchy looks like:
      invoiceLines = subform with flowed content
        invoiceLine = subform repeated for each data item
          description
          amount
    Rob Gabbard
    Cardinal Solutions Group
    www.cardinalsolutions.com

  • Rstore Defaults fields in Invoices

    Hello to all
    i have a question about the fields in invoices such as Sales Orders, Purchasing Orders etc.
    it is able for the users to add or remove fields columns by selecting them through Form Settings button.
    though, by clicking the Resore Default button on form settings, some fields are being removed and some other are added if they are removed before.
    could you please tell me if there is a way to change the default fields to be displayed by clicking on the Default Button?
    i have a problem with such an action because many users edits the fields and have to take more actions by the users to bring the layout as the want it
    thanks for your time!

    Hi...........
    There is only one rule.
    If you press on Restore Default Button, system will restore and display the fields as SAP sets on this button. It it will be default for all the users.
    If you want it to be set as per users login you need to create those many user IDs and set the Field columns as per Users......
    Regards,
    Rahul

Maybe you are looking for

  • Few Components in Visual Composer 7.0

    Hello! I'm new to VC. When I create an iView I have too few Components in right side of screen. For example, I don't have containers. [See my right panel|http://s41.radikal.ru/i093/0810/23/552076ee1eb6.jpg]

  • Comparing count of one table with another

    Hi, I want to compare the number of rows in three tables with the number of rows in another table and see if they are equal Here is what I have so far: SELECT decode(the_count,100,1,0) from (select sum(num_rows) as the_count from user_tables where ta

  • Template for exciseable items in dtw

    Hi,     where can we find template for exciseable items in dtw?we are on 8.8. Thanks, Mansoor

  • Datetime issue SQL Server 2008R2

    My server has System Locale en-gb; English (United Kingdom) Input Locale en-gb; English (United Kingdom) SQL account @@language is British I can insert the value '2013-01-18 16:05:21.683' into a DATETIME2 field but when trying to insert the same valu

  • Revoke System status : Block account assignment (AALK).....Very urgent...

    Currently system status is "REL AALK" and user status is :"REL" in WBS element.. Our payroll has been stucked in Production server due to system status :Account assignment block (AALK) in WBS element. Kindly help me how to unblock account assignment