Script: SD invoice billing (Correct answer will be fully rewarded)

Hi Gurus,
                  i want to get GST %  and the calculation part.
For **, get
Read VBRK, get VBRK-KNUMV (Doc Condition ).
Get Condition Values (KONV-KBETR) and divided by 10 where
KONV-KNUMV = VBRP-KNUMV  and KONV-KSCHL = “ZGST”.
this is given to me by the functional consultant.
so how to get GST% and the value.
Answeres will be fully rewarded.
Thanks & Regards
sirish.

All,
I have got the solution for this.
Program: RV15B003 (Redetermination of Subtotals) – Transaction OVG1 Basically this program is provided by SAP for rebate processing.
Should you reset rebate processing or alter the pricing procedures, the subtotals used to calculate the rebate in the billing documents may not be available.
If this is the case, you may select Recalculate Subtotals for Rebate Processing.
This is merely a program RV15B003, which is executed with the selection criteria as the desired billing document number range.
this solves my purpose.
Regards,
Aayush Jain

Similar Messages

  • SELECT STATEMENT (Correct answers will be given full points.)

    HI Gurus
                  I am new abap help me with the select statement for these please
      Get BKPF-AWKEY where BKPF-BELNR = VBRK-VBELN + prefix “00”.
    this is the reference number for printing in script(SD)
    i need to write in the text elements
    Get KNA1- STCEG where VBRK-KUNRG =  KNA1-KUNNR  This is the GST REG
    how to write in the text elements.
    Correct answers will be given full points.
    thanks & regards
    sirish.

    Hi sirish,
       First of all to add the prefix to vbrk-vbeln u can write the syntax like this-
      CONCATENATE '00' VBRK-VBELN INTO VBRK-VBELN.
    if  00 is suffix then write like this--
      CONCATENATE  VBRK-VBELN '00' INTO VBRK-VBELN.
    Now u can write ur first select query like this-
    SELECT awkey FROM    bkpf
                            WHERE belnr = vbrk-vbeln.
    Syntax for second select query-
    SELECT stceg FROM    kna1
                           WHERE kunnr = vbrk-kunrg.
    Reward if useful.
    Regards,
    Rajesh Akarte

  • Required sample coding for invoice billing for script

    Hi,
            Required sample coding for invoice billing for script in form and endform.
         please help me its very urgent issue. thanks in advance.
    thanks&regards
    sirish

    Hi Sirish,
    these are some of the links where u can find ur solution plz check...
    <u>
    SAP SCRIPT
    SAP SCRIPT
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=invoicebillingfor+script&adv=false&sortby=cm_rnd_rankvalue</u>
    regards,
    Sana M.

  • Input Text will not allow me to access the correct answer!

    Hi All
    i am trying to create a simple quiz in school. I have one test question which requires the answer to be -1.
    I have created Input text and assigned the variable answer for this question.
    I have a button with the following AS2 script:
    on (press, keyPress "<Enter>") {
        if(answer eq "-1" or answer eq "minus 1"
           or answer eq "Minus 1" or answer eq "Minus one" or answer eq "minus one")
        {_root.gotoAndStop(2)
        } else
        {_root.gotoAndStop(3)
    Firstly whatever you type the numerical keys are immobilised on the keyboard when the .SWF file is built
    Secondly I cannot enter the correct answer!! If I type in Minus 1 etc it goes to frame 3.
    I have tried flags rather than frame numbers - same problem.
    i have tried remaking the quiz as a  separate file.
    using CS4 and CS5 flash - windows 7 PC.
    Please help!!
    teacheRuss

A: Input Text will not allow me to access the correct answer!

Ned
Thanks for the reply. I had instances for all elements but had code on teh but (Instance Enter). I have tried your code with my instance names. The button is Q1 (I was going to add more if it worked). The vaiable name for the Insert text box is ans1 so I used the code below. I added the code to frame 1 in teh timeline. I think this is what you meant so a frame script as opposed to a buton script. i have always scriped buttons (very simple). I have played around with the trace(); function but i am not sure where to run it from. I have added it to the script below. I tried Q1 which is the button and ans1 (variable). It must be wrong as I cannot see any output. Last thing. Is it not right ot use eq and or?? I am using Actionscript 2.
The disabled keys is the same running the code on my mac and pc!
Q1.onRelease = function() {
    if(ans1.text == "-1" || ans1.text == "minus 1" || ans1.text == "Minus 1" || ans1.text == "Minus one" || ans1.text == "minus one") {
         _root.gotoAndStop(2)
     } else  {
         _root.gotoAndStop(3)
trace(Q1);

Ned
Thanks for the reply. I had instances for all elements but had code on teh but (Instance Enter). I have tried your code with my instance names. The button is Q1 (I was going to add more if it worked). The vaiable name for the Insert text box is ans1 so I used the code below. I added the code to frame 1 in teh timeline. I think this is what you meant so a frame script as opposed to a buton script. i have always scriped buttons (very simple). I have played around with the trace(); function but i am not sure where to run it from. I have added it to the script below. I tried Q1 which is the button and ans1 (variable). It must be wrong as I cannot see any output. Last thing. Is it not right ot use eq and or?? I am using Actionscript 2.
The disabled keys is the same running the code on my mac and pc!
Q1.onRelease = function() {
    if(ans1.text == "-1" || ans1.text == "minus 1" || ans1.text == "Minus 1" || ans1.text == "Minus one" || ans1.text == "minus one") {
         _root.gotoAndStop(2)
     } else  {
         _root.gotoAndStop(3)
trace(Q1);

  • Hello ! When i will Buy a Movie in iTunes, they ask me two Security Questions and i have forget the 2 correct answers. Can you help me please ??

    Hello ! When i will Buy a Movie in iTunes, they ask me two Security Questions and i have forget the 2 correct answers. Can you help me please ??

    Blue, and Mr. Frisky...

  • Difference between Gas & Electricity in terms of invoice & Billing and DM

    Dear Experts,
    Could you please list down all the difference between electricity and gas standard business process in terms of DM, Invoice & Billing.
    San.

    Hi Santosh
    The only big difference is that when you are implementing IS-U for a gas company, division 02 - Gas will be used. When using this division a gas procedure must be used at the register level and at the rate category level. This gas procedure is used to convert the gas volums into energy. A gas procedure is configured in the SPRO and has 2 componens: Volume Factor Procedure and Thermal Gas Procedure. The first one calculates a volume correction factor based on air temperature and other factors and the second one uses a  calorific value facor which is used to convert the volume into energy.
    Daniel
    http://www.sap-isu.net

  • I have the iPhone 4S and I cannot get my apps to download. I will click free then install and then it will ask for my password. Once I enter my password correctly it will verify my password an then it won't do anything. what should I do?

    I have the iPhone 4S and I cannot get my apps to download. I will click free then install and then it will ask for my password. Once I enter my password correctly it will verify my password an then it won't do anything. what should I do?

    I just went through this same process.... I changed my credit card, double checked billing info, changed my password, I restored my phone, but the misake I made was I kept restoring it from my back up.... Finally I went to Apple Store.. and sad to say that you have to do a restore, and DO NOT restore from back up.
    I used Gmail so I didnt loose contacts or email.. but I did loose all my text messages and history of that.
    So, I had the EXACT same problem and it was a software issue.. you have to restore your phone to factory settings and start all over.. BLOWS I know!

  • Status of Cancelled invoice (Billing)....

    Hi Experts,
    Where i will get the table of Cancelled Invoice (Billing) and field of ?
    YAB

    Hi Yusuf,
    Go to SE16N t-code, input VBRK table and give the billing type say S1 in field FKART.
    You can also input values for specific sales organization or distribution channel.
    Select posting status field = RFBSK - values like A,B,C,D,  -
    K.
    Execute it.
    You will get the list of cancelled billing documents in VBELN field.
    Hope this will help you out !
    Regards,
    Syed Nasir

  • Validation required so that invoice, billing and accounting is done on same

    Validation required so that invoice, billing and accounting is done on same date as the PGI date. Very urgent please help.
    Please look into the below scenario.
    Excise invoice posting date u2013 07.10.2011
    A/c doc posting date u2013 29.09.2011
    Reflecting in dispatch report of 07.10.2011.
    GL affecting in the month of Sep.
    So it want that on PGI date, billing , invoice and accounting enteries are created

    Dear Jalaj001,
    PGI date will be taken by system as the billing date in VF01 unless the user manually changes it.
    Accounting Posting date can be controlled by settings for document type RV.
    For excise invoice creation and posting date, i think you will have to use EXITs.
    But i am not sure and will leave it for the experts to comment upon.
    Thanks & Regards,
    Hegal K Charles

  • If i got incorrect characters in the output of sap script? HOW TO CORRECT I

    If i got incorrect characters in the output of sap script? HOW TO CORRECT IT?

    Hi Sunil,
    Debug the script and check where exactly those are getting populated. Definately you will get it. Check the conversion parts means character to numeric conversion.
    If your version is 4.7E then select unicode check box in the reports attributes. It will display the error message so that we can solve very easily.Hope this helps you, reply for queries, Shall post you the updates.
    Regards. 
    Kumar. .

  • How to create flash quiz based on circling the correct answer?

    Hi all,
    I am quite new to actionscripting and need to create a flash based quiz.
    The user will have to circle the correct answer in the quiz.
    I do know of drag and drop function but didn't know how to create circling function.
    Please advise how should I get started.
    Thank you in advance.
    Regards,
    Chewy

    Here is something to wet your appetite. This script creates squares and allows you to draw any shape with the mouse when mouse is down.
    It doesn't define what square things are drawn around - this is how lines can be drawn with AS3 in principal. Just place the script on timeline.
    var beginPoint:Point;
    var drawingBoard:Sprite;
    var drawBoardGraphics:Graphics;
    init();
    function init():void
         removeEventListener(Event.ADDED_TO_STAGE, init);
         var board:Sprite = new Sprite();
         board.x = board.y = 20;
         addChild(board);
         var numSquares:int = 8;
         var gap:Number = 20;
         var square:Sprite;
         // make squares
         for (var i:int = 0; i < numSquares; i++) {
              square = makeSquare();
              square.x = (square.width + gap) * i;
              board.addChild(square);
         drawingBoard = new Sprite();
         drawBoardGraphics = drawingBoard.graphics;
         // board filler
         var drawFiller:Sprite = new Sprite();
         var g:Graphics = drawFiller.graphics;
         g.beginFill(0xff0000, 0);
         g.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
         drawingBoard.addChild(drawFiller);
         addChild(drawingBoard);
         drawingBoard.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
    function startDrawing(e:MouseEvent):void
         stage.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
         stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
         beginPoint = new Point(mouseX, mouseY);
         drawBoardGraphics.clear();
         drawBoardGraphics.lineStyle(3, 0xff0000);
         drawBoardGraphics.moveTo(beginPoint.x, beginPoint.y);
    function onMouseMove(e:MouseEvent):void
         drawBoardGraphics.lineTo(mouseX, mouseY);
    function stopDrawing(e:MouseEvent):void
         stage.removeEventListener(MouseEvent.MOUSE_UP, stopDrawing);
         stage.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
         drawBoardGraphics.lineTo(beginPoint.x, beginPoint.y);
    function makeSquare():Sprite {
         var s:Sprite = new Sprite();
         var g:Graphics = s.graphics;
         g.beginFill(Math.random() * 0xFFFFFF);
         g.drawRect(0, 0, 60, 60);
         g.endFill();
         return s;

  • To Generate the invoices (billing document) in t-code VF02 to DIRs in DMS

    Hi All,
    I have requirement is to generate the invoices (billing document) in t-code VF02 to DIRs in DMS or print list using ArchiveLink every night in batch program.
    Did anybody worked on similar scenerios, please let me know.
    Regards
    MM

    Hi Manish (and everyone).
    Were you able to find the solution to this?
    I am in a similar situation - trying to generate invoices from an ArchiveLink document.
    All setup pertaining to ArchiveLink is already in place.  What I need to do now is access the document from the content repository and start from there.
    Any input will be greatly appreciated.
    And of course, points will be rewarded.
    Many thanks!

  • How to create IDoc once Sales Order Invoice (Billing) has been created

    Hi,
    How to create IDoc once Sales Order Invoice (Billing) has been created   ?
    I.e Once you click on save button of Invoice , IDoc Should genrate Automatically.
    Thanks.

    Hi,
    We need to do custom configuration for this scenario such that an output type will be attached when ever an INVOICE is created.
    Refer to application V3 in NACE. The Output type should contain an entry with transmission medium: Distribution (ALE).
    for example check the customization done for an output type in NACE.
    Goto NACE ---> Select an application V3 ---> Click on processing routines ---> select the output type (Eg: RD00) ---> Click on Details button  (CNTRL + SHFT + F2) which gives the configuration info.
    For example we can generate the IDOC based on the settings in partner profiles for the customer (Sold To)
    With Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 8:16 AM

  • Invoicing billing number range and Accounting billing no range

    Hi
    Want to know the Link between the Invoicing billing number range and Accounting billing no range
    Link between the two no ranges if any
    Rohit

    Hello,
    There is no link between the Accounting document and the Billing document
    Billing documents number range were maintained in VN01 and the Accounting document number range were maintained  i n FBN1 for each financial year against the company code
    If you want the same Number to be generated for both , then
    Use T. code VOFA and check billing document type and itu2019s assignment for Accounting document type for example for billing document type accounting document type is RV and check the number range for billing document type through T. code VN01 and then use T. code OBA7 to see number range object for accounting document and then finally use T. code FBN1 and maintain same number range as per billing document type and mark as external number range then system will generate same accounting document number against billing document after releasing the billing document to accounting
    Thanks,
    santosh

  • TS1424 HELLO! whenever i try to access the itunes store from the itunes on my laptop i get this message: ITUNES HAS STOPPED WORKING a problem caused the program to stop working correctly. windows will close the program and notify if a solution is availabl

    for a few weeks i have not been able to access the itunes store from the itunes on my laptop. every time i click on it it tells me it cannot access the store...not sure why. and says this: ITUNES HAS STOPPED WORKING a problem caused the program to stop working correctly. windows will close the program and notify if a solution is available.

    I had this exact same problem.  I found this fix and it worked for me. 
    Step 1:
    Browse to C:\Program Files (x86)\Common Files\Apple\Apple Application Support and copy the filen named QTMovieWin.dll. 
    Step 2:
    Browse and past that file into C:\Program Files (x86)\iTunes.
    Hope this helps you.  I wish I could remember where I saw this originally so I could thank them.
    Good Luck.
    Anthony

  • Maybe you are looking for