Add functionality to invoice discounts

Allow the document discounts on invoices to post to a separate account, and not affect the line items of the document. In the case of AR invoices, the discount may not be considered revenue, and needs to post to a to an expense account, not revenue.

Hi Jyotirmoy,
Which user exit u are using?
Check all the parameters(EXPORTING and TABLES) of the User exit FM/ internal tables incase of Include. there will be some table/work area which has these information. For getting the user name u can use the system variable sy-uname. Send the user exit name so that we can help u out.
Thanks,
Vinod.

Similar Messages

  • Oracle Proc in edmx via add function import is not working

    I have a mandate to call a external oracle package from my local oracle db proc using Entity Framework. I have created a synonym for that. When I am trying to polpulate the oracle procedure data in my mvc screen using odp.net. The screen is closing automatically when I am trying to retive the column info by clicking "get column information" under "Add Function Import" in model browser.
    Following is my code snipet
    1. created a oracle stored proc to call the external proc
    CREATE OR REPLACE PROCEDURE USP_GET_DETAILS
    IN_ID IN NUMBER,
    OUT_RESULT OUT SYS_REFCURSOR
    IS
    OUT_FED_TAX_ID_NO VARCHAR2(50);
    OUT_PARTY_ID_NO NUMBER;
    OUT_PARTY_TYP_CD NUMBER;
    BEGIN
    PKG_GET_DETAILS.USP_GET_DETAILS_INFO (IN_ID, OUT_FED_TAX_ID_NO, OUT_PARTY_ID_NO);
    OPEN OUT_RESULT FOR
         SELECT OUT_FED_TAX_ID_NO, OUT_PARTY_ID_NO FROM DUAL;
    END USP_GET_DETAILS;
    2. added the proc "USP_GET_DETAILS" using "Update model using database" in my edmx file
    3. Now proc has been added to my edmx file under SSDL
    <Function Name="USP_GET_DETAILS" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="BCS_OWNER">
    <Parameter Name="IN_ID" Type="number" Mode="In" />
    </Function>
    4. added following code to my web.config file
    <oracle.dataaccess.client>
    <settings>
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursor.OUT_RESULT" value="implicitRefCursor bindinfo='mode=Output'" />
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursorMetaData.OUT_RESULT.Column.0" value="implicitRefCursor metadata='ColumnName=OUT_FED_TAX_ID_NO;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursorMetaData.OUT_RESULT.Column.1" value="implicitRefCursor metadata='ColumnName=OUT_PARTY_ID_NO;NATIVEDATATYPE=Number;ProviderType=Decimal'" />
    </settings>
    </oracle.dataaccess.client>
    5. underModel Browser try to add the procedure under "Add Import Function", select "Complex Type". when i am clicking on "Get column information" button, the screen blank for some time and then auto closing the screen without displaying any column info. I would like to know if any thing wrong i am doing on my steps? please help?

    I managed to workaround this problem.
    I add the function with no return value. Then in the Model Explorer you go to the properties of the imported function and edit the return type property, the same dialog appears, but this time it works as expected(considering you have set all the values correctly on your config file).

  • Invoice Discount In Oracle Receivable

    Hi,
    Any one knows how can i deduct invoice discount in oracle receivable. If any one knows please let me know.
    Regards,
    Yasir

    Hi.
    You can enter an Adjustment for the Invoice.
    Octavio

  • Works with normal = declaration but not with .add() function call? Why?

    I still have some problems in relation to my earlier post:
    http://forum.java.sun.com/thread.jspa?threadID=5164571&tstart=0
    Help is still warmely appreciated! Thanks already to you Franzis.
    So I try to add several JScrollPanes into on Container variable allComponents.
    I don't understand why in my program
    allComponents = jspane;works but
    allComponents.add(jspane);does not.
    Same is true for Jpanel objects. In my program
    allComponents = panel;works but
    allComponents.add(panel);does not. Why is this?
    Still I necessarily need to work with a add() function.
    So where is the problem?
    The whole source code is at:
    http://forum.java.sun.com/thread.jspa?threadID=5164571&tstart=0
    Message was edited by:
    wonderful123
    null

    I added a response in your original message:
    http://forum.java.sun.com/thread.jspa?messageID=9629812
    Let's keep to it since splitting things across two posts might be confusing.

  • How can I set a polygon's path by using the .add() function?

    I have been searching the web and this forum and doing plenty of experimenting, and I can't for the life of me figure out how to do this.
    I can set other attributes of a polygon inside the add() parentheses, such as the fillColor, but I can't set the polygon's path's pathPoints unless I use a separate line of code after the add(); line.
    My script adds a great deal of polygons in a row, so halving the number of operations would greatly help me, and also it seems that some properties such as appliedObjectStyle cannot be set until after a polygon's path is defined. That means I need a third line of code after add() and entirePath=, which slows me down even more.
    Help?

    Ryan, I think you need to reset and take a moment to understand what it is that is going on here.
    The things you've proposed that don't work shouldn't work, and it's all quite simple.
    Generally speaking, a .add() function takes an additional parameter, a JavaScript Object, that list properties of the created object that can be set.
    A JavaScript Object is a list of key/value pairs, just like an associative array in a language like perl, or a dictionary in a language like Python. It is expressed in curly braces as such:
    { key1: value1, key2: value2, key3: value3}
    So, for any such general add function, these
    foo = whatever.add();
    foo.bar = baz;
    are equivalent to this:
    foo = whatever.add({bar: baz});
    Are you with me? So, for instance, you had originally asked why you could not use pathPoints in polygons.add() and the answer is simpe. You cannot set polygon.pathPoints, because there is no .pathPoints property of a polygon.
    So, when you want to try add properties inside properties, you must do as as objects within objects, and follow the strict hierarchy. Marc advises that this works:
    app.activeWindow.activePage.polygons.add({
        fillColor:"FireRed",
        transparencySettings: {dropShadowSettings: {angle:120}}
    and if indeed that is so, then the extension for setting multiple transparencySettings should be clear. It is not this, that you propose:
    app.activeWindow.activePage.polygons.add({
        fillColor:"FireRed",
        transparencySettings: {dropShadowSettings: {angle:120}}
        transparencySettings: {dropShadowSettings: {distance:1}}
    Because to do so is to set the transparencySettings key twice in the same Object. And to do that is to replace the first with the second. The above (yours) is wholly equavelent to:
    app.activeWindow.activePage.polygons.add({
        fillColor:"FireRed",
        transparencySettings: {dropShadowSettings: {distance:1}}
    If you wish to set more than one attribute of dropShadowSettings, you must set transparencySettings to an object containing one and only one dropShadowSettings, and you must do it only once. So it is this:
    app.activeWindow.activePage.polygons.add({
        fillColor:"FireRed",
        transparencySettings:
          {dropShadowSettings: {angle:120, distance: 1}}
    I am not sure why you thought you should have the name of the key in the Object named properties. That is probably because in some cases you can use:
    foo.properties = { a: 1, b: 2};
    as a shorthand for
    foo.a=1;
    foo.b=2;
    but you would [probably] never want to mix that with the object notation for setting multiple properties in the .add() function.
    Does this help to clarify?
    As for your last question:
    Also, it doesn't let me use square brackets or parentheses inside the add() parentheses, so the original problem I posted (trying to set a polygon's path) is still a problem.
    It's not about the use of brackets or parentheses, but what they mean and where they go. As you have not posted an example of setting the polygon's path the long way, it's hard to show you how to shorten it. Post what you have that works, and we will show you how to shorten it. (I suppose some with more patience than I are willing to go look up what we think it is you are trying to do, and then interpret it. But I would much rather you show me the code you have that works, and then your attempts to transform or shorten it and change its notation. This makes it much much easier to help you, and it should also make the help more effective, by contextualizing it. As an added benefit, when someone else reads your post and tries to learn from it, they will gain more.)
    So again, please provide a clear example of the "long way" to do the thing you are attempting, and then your attempt at shortening it.

  • FS10N ADD Functional area in the parameter screen

    hi,
    we need to add functional area to the parameter screen of FS10N.
    today in the parameter screen of FS10N  appears the next fields: gl account, company code, fiscal year, business area
    please advice
    thanks,
    meir

    HI,
    which SAP release? FS10N does not support the functional area selection on the selection screen. ECC 60 (new T-Code FAGLB03 ) does in SAP standard. Guess its time to upgrade
    BR Christian

  • About implementing the "add'" function in web dynpro

    hi guyes,
    now i want to implement the "add" function in the webdynpro. i bind a model node to the inputfields. and then i call the webservice ,but it does not work . the webservice is good . what happened to my project on earth? can anybody tell me what i should pay attention to in my code? my node structure is below:
    AddTicketworkhour==
       ticketworkhourbean
           name
           remark
       userId
    the root node is AddTicketworkhour ,it contains ticketworkhourbean and userId,    ticketworkhourbean contains name and remark.
    Thanks A Lot !

    public onActionSave(  ){
    wdContext.currentAddWorkscheduleBeanElement().setConsultantName("qinlei");
        wdContext.currentAddWorkscheduleBeanElement().setDistrictName(wdContext.currentDisplayElement().getName());
        wdContext.currentAddWorkscheduleBeanElement().setRowId(123456789);
        wdContext.currentAddWorkscheduleBeanElement().setLocation(wdContext.currentDisplayElement().getRowId());
        wdContext.currentAddWorkscheduleBeanElement().setWorkerId(12345678);
        wdContext.currentAddWorkscheduleBeanElement().setWorkDate(new Timestamp(wdContext.currentContextElement().getWorkDate().getTime()));
         wdContext.currentAddWorkscheduleElement().setUserId(100);
        boolean result = wdThis.wdGetMyWorkscheduleUICompController().addWorkschedule();
    wdDoInit( ){
    MyWorkscheduleAddModel addModel = new MyWorkscheduleAddModel();
                    AddWorkschedule addWorkschedule = new AddWorkschedule(addModel);
                    WorkscheduleBean addBean = new WorkscheduleBean(addModel);
                    addWorkschedule.setBean(addBean);
                    IAddWorkscheduleElement addWorkscheduleElement = wdContext.createAddWorkscheduleElement(addWorkschedule);
                    wdContext.nodeAddWorkschedule().bind(addWorkscheduleElement);
    Is there anywrong with my wdDoIt( )?
    &#35874;&#35874;&#65281;

  • Unable to add Incoming Excise Invoice

    Hi All,
    While trying to add Incoming Excise Invoice, I'm gettin an error message,"Tax Definition, Message 173". I have checked the tax code and type, all the accounts are mapped here . What is causing this error and how to correctly add this document??
    Thanks in advance,
    Joseph

    Hi,
    Refer this note:559660  on Error message "Tax Definition (No.)" appears
    Symptom
    When attempting to add a document the message -"Tax Definition (No.)" appears
    Other terms
    Tax Definition, Error, Invoice, Credit Memo, AP Invoice, Message, Red, Add, Document, Invoice, Payment
    Reason and Prerequisites
    No General Ledger (G/L) account has been defined for tax groups used in the document
    Solution
    When you add a document that creates an automatic Journal Entry (e.g. Invoice, AP Invoice and Credit Memo), a relevant posting must be placed in accounting for the tax amounts in the document.
    If you select tax groups with a tax % of more than zero, then this must be recorded in the accounting system to the appropriate G/L Account defined for the tax group in "Administration" -> "Definitions" -> "Define Tax Groups" -> "VAT Account" / "Acquisition Tax" columns
    If no G/L Account has been selected for this kind of group, the system will display an error message, indicating the row number that contains a tax group with no G/L Account e.g.(1) and the document will not be added
    To remedy the described problem please perform the following steps:
       1. Select "Administration"
       2. Select "Definitions"
       3. Select "Define Tax Groups"
       4. Locate the tax group you used in the document
       5. Locate the VAT Account column and select an appropriate G/L account
       6. In case this tax group is of Input Tax type and the Acquisition Tax column is flagged you need to also select a G/L account in the Acquisition Tax column
    Hope this is helpful !

  • Add functionality for enter and close in a dialogue window

    Hi
    I have a dialogue screen.
    On pressing enter or the enter icon I need some functionality.
    And on clicking the close icon or close(on the dialogue window) i need to exit.
    How to add functionality to close and enter?
    (The icons are functioning properly but Enter and close are not functioning)
    Here is the code i have used
    gv_save = gv_code.
    CLEAR gv_code.
    CASE gv_save.
    WHEN 'OK' OR 'ENTER'.
    PERFORM char_convert.
    LOOP AT object_tab WHERE selected = 'X'.
    UPDATE imptt SET pyear = gv_exponent
    WHERE point = object_tab-point.
    ENDLOOP.
    LEAVE TO SCREEN 0.
    CLEAR gv_annual.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    MODULE cancel INPUT.
    gv_save = gv_code.
    CLEAR gv_code.
    CASE gv_save.
    WHEN 'CANCEL'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    Please help me .
    Best regards,
    Kranthi

    You need to take ABAP help and build logic, so that If so & so condition pick LOGO1
    and for so & so Condition LOGO2 & for rest LOGO3.
    You need to incoroporate the Logic in your program for Script / Smartform.

  • I'm having trouble with the folder "Automatically add" function. She opens a folder "not added". My machine is a Vaio with Windows 7 home basic antivirus using Microsoft. Regards.

    I'm having trouble with the folder "Automatically add" function. She opens a folder "not added". My machine is a Vaio with Windows 7 home basic antivirus using Microsoft. Regards.

    Its a 64 bits.

  • Add Functions to Image Processor

    Can someone assist me or point me in the right direction, to information on how to add functions to the default Photoshop Image Processor script. I do not know javascript but can follow along fairly well if someone has good sirections.
    What I need to add,
    Renaming files like PSE's 'Process Multiple Files' feature, output as .png in adition to jpg, psd and tiff.
    I would basically like to bring PSE's multiple image processor into Photoshop.
    I found the image processor script, but dont know java. If someone could assist with this I would appreciate it.
    I have attached an image of what I need from PSE. The default image processor in PS CS4 almost does it, but a couple of areas are lacking.
    Any info, greatly appreciated.

    I don’t want to sound condescending, especially as I also have often had to to rely on some of this forum’s contributor’s help myself, but maybe You should start with working through »Adobe Intro To Scripting.pdf« and then read up on »User-Interface Tools« in »JavaScript Tools Guide CS4.pdf«.
    Both pdfs should be located in Your ExtendScript Toolkit-folder (ESTK is installed with Photoshop CS4).
    Starting Photoshop-Scripting with adapting a Script as voluminous as »Image Processor.jsx« might be a bit of a challenge.

  • HR form: Add functionality to add comments to payslip via IT0128

    Hi,
    I am very new to the HR forms. Not having any experience of any transaction or table etc.
    My requirement is: I need to add functionality to add messages to payslip via IT0128 to a HR form having specific group.(Add comment to payslip)
    Can you please give me the steps to be followed to fulfill this requirement?

    Hi Ankit,
    You have so many threads on same question.before you raise a forum question do enough R & D
    some threads for you.......
    https://forums.sdn.sap.com/click.jspa?searchID=21696631&messageID=6879933
    https://forums.sdn.sap.com/click.jspa?searchID=21696631&messageID=6627148
    https://forums.sdn.sap.com/click.jspa?searchID=21696631&messageID=6546304
    Kindly go through the below steps for Inserting Logo in SmartForm :
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) User TCode SE78 to upload new pictures and logos.
    I hope it helps you!!!
    Thanks
    Cheera

  • How to Add function modules to retrieve current month

    how to Add function modules to retrieve current month from TVARV variables (currently we have functions to do close month).

    Hi
    Double click on the CODE for the line..
    SET PF-STATUS 'XYZ'.
    It will open the Menu Painter (SE41). Click on the Function Keys Tree Node and And assign the
    Function Keys and Function codes for the Menu Items.
    Hope this would help you.
    Murthy

  • What development tools are available to a student to add functionality

    Hello,
    I am a student who wants to add some functionalities to the SAP Strategy Management software,
    to make it more collaborative. I subscribed to this very collaborative SAP website to find an answer on two questions:
    - is it possible for me as an external student to add functionality in SAP Strategy Management by programming in ABAP or JAVA?
    - if so, what (free) development tools are available
    I hope that there is someone who can help me with these two short questions. I would be very thankfull.
    Regards,
    Sadesh Sewnath
    Erasmus University Rotterdam
    Economics and Informatics

    Hello,
    This forum is for questions directly related to the SAP Business Objects SDKs. Your question is about SAP Strategy Management software. Please post your question to one of the SAP software specific forums.
    Sincerely,
    Dan Kelleher

  • Microsoft word is printed very time when I add A/R invoice in SAP B1

    When I add A/R invoice SAP B1 will print Microsoft word every time.
    I want to disable it. How can I do?
    Thank you

    Hi,
    Please, check to see what is set up in your database:
    Go to Administration >>> Set up >>> General >>> User : choose the user. Click to drilldown at "Default" field to open a window. In Print tab, choose Document : AR Invoice and uncheck "Add button will also export to MS Word"
    Hope this helps,
    Son.

Maybe you are looking for