FM/BAPI to creating billi and the use of pos_sa_get_document_st?

Hi all,
I can found a function called in one of my reference program, it's purpose is for creating billing. However, I cannot find any any BAPI/FM which is used for creating the billing document, but here is a function named: "pos_sa_get_document_status".
What's the use of this function?
and also what function/bapi should I use when I creating the billing record?
Please Note there will be no Sales Order.
Regards,
Mandy

Have you looked at BAPIACCBILLINGPOST (Please search with this string).
Thanks,
Srihari

Similar Messages

  • Creating GRN by the use of BAPI

    Dear All,
    I want to create, GRN by the use of BAPI.
    For this i am using BAPI  BAPI_GOODSMVT_CREATE
    I have passed all the required field in this BAPI.
    System without any error generating GRN Number,
    When i am looking this GRN NUmber in MB03 Transaction of material document display. The system showing the error that this grn number does not exist.
    Please provide solution.
    With Regards
    Shantanu Modi

    use BAPI_TRANSACTION_COMMIT after calling the BAPI.
    or simply use COMMIT WORK
    http://www.sap-img.com/fu018.htm
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Cheers
    VJ
    Message was edited by: Vijayendra  Rao

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • TS4363 I have upgraded to Mountain Lion 10.8.2 with Mail 6.2 and the "Use Autodiscovery Service" checkbox can't be found. Any ideas?

    I have upgraded to Mountain Lion 10.8.2 with Mail 6.2 and the "Use Autodiscovery Service" checkbox can't be found in Preferences. Any ideas?
    Cannot connect to Hover mail server unless I login to my webmail and then the messages magically load in Mail and then it goes offline again.

    Let it go... these DL's take forever, depending on the spped of your connection and the traffic on the servers.
    If by morning it is still sitting there restart and the DL should pick up from where it left off.

  • BAPI to create Billing DOC for deliveries

    Hi All,
    I am looking for a BAPI to create a billing document based on the Shipment number.
    I found Bapi_BILLINGDOC_CREATEMULTIPLE,  but not working as expected.
    If anyone has used above or another bapi, please inform.
    Thx-Praveen

    Hi Praveen,
        i'm using same bapi and i'm able to create the invoice for the del.doc.
    for your ref. , here i'm attaching the code , please go through once.
              LS_BAPIVBRK-REF_DOC = DELIVERY_NO.
               CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                   INPUT  = LS_BAPIVBRK-REF_DOC
                 IMPORTING
                   OUTPUT = LS_BAPIVBRK-REF_DOC.
               LS_BAPIVBRK-REF_DOC_CA = '8'.  Shipment
               APPEND LS_BAPIVBRK TO LT_BAPIVBRK.
               CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
                 TABLES
                   BILLINGDATAIN = LT_BAPIVBRK
                   ERRORS        = LT_BAPIVBRKERRORS
                   RETURN        = LT_BAPIRET1
                   SUCCESS       = LT_BAPIVBRKSUCCESS.
    after this do commit.
    you might miss the document category .
    Regards,
    Krishna

  • Please help with this bapi for creating billing document

    I want to create a billing document using the bapi:  BAPI_BILLINGDOC_CREATEMULTIPLE from a delivery number and NOT A SALES ORDER.
    Please tell me what  details to be passed to table  BILLINGDATAIN . Please don't provide me function module documentation because it does n't help me create billing document from delivery. A sample source code or suggestion to what to pass would be really great!
    Thanks,
    Krishen
    P.S. Points assured for helpful answers and thanks for your time.

    Hi,
    Try this..
    DATA: s_vbap TYPE vbap.
    TABLES: vbak,vbap,likp, lips.
    DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
    DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
    DATA: t_ccard  TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
    DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
    DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
    PARAMETERS: p_vbeln TYPE vbeln.
    select single * from likp
                    where vbeln = p_vbeln.
    SELECT SINGLE * from lips where
                    vbeln = likp-vbeln.
      t_billing-salesorg   = likp-vkorg.
      t_billing-ref_doc     = likp-vbeln.
      t_billing-ref_item    = lips-posnr.
      t_billing-doc_number     = p_vbeln.
      t_billing-itm_number    = lips-posnr.
      t_billing-ordbilltyp  = 'ZINV'.
      t_billing-price_date = sy-datum.
      t_billing-ref_doc_ca  = likp-vbtyp.
      t_billing-material    = lips-matnr.
      t_billing-plant       = lips-werks.
      APPEND t_billing.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
      TABLES
        billingdatain         = t_billing
        return                = t_return
        success               = t_success
    commit work.
    Thanks,
    Naren

  • BAPI for create IR and GR

    Hi All,
    I would like to use the BAPI to create the IR and GR.
    But i don't know which BAPI is use for create the IR and GR . Could you mind give any information about this?
    Regards,
    Luke

    Hi Luke,
    The function module "BAPI_GOODSMVT_CREATE " would perform the task.  Please refer to the following link.
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Regards.

  • Require bapi for create billing document

    Hi,
    Guru.....
    Please provide the Bapi for Backgournd create Billing document with refrence to Delivery.
    Thanks
    Arun

    HI
    Try with T-Code VF06 for automatic back- ground billing document creation based on delivery with PGI
    Check the Below link
    [Re: automatic delivery and billing|automatic delivery and billing;
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 1, 2012 12:09 PM

  • BAPI to create PO and GR

    Hi,
    Can anybody send me some sample code to handle multiple files in application server. My requirement is to create an interface to create PO and GR from the file residing in Application server. Multiple files will be in application server. No selection screens are there. BAPI used are BAPI_PO_CREATE1 and BAPI_GOODSMVT_CREATE. And If anyone has already created this interface, please give me some idea of how to read multiple files and if possible send some sample code.
    Any help will be greatly appreciated.
    Regards,
    Naveen

    Hi Naveen,
        Go through this link.
    BAPI_PO_CREATE1
    Re: Proble in Creating Multiple Item PO using BAPI_PO_CREATE1
    BAPI_GOODSMVT_CREATE
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    http://www.4ap.de/abap/bapi_goodsmvt_create.php
    Reward Points For the Helpful.
    Regards,
    Harini.S

  • Problem in creating EJB and WebService using complex class structure

    Hi All,
    My requirement is like :
    I have a class with very complex structure.
    I have also used external .jars.
    Now when I have created an EJB with a method's return parameter as above class.
    But when I am creating a Webservice, it doesnot allow me to select this method.
    Not able to configure why ?
    Please Help.
    Thanks.

    Hi,
    I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
    You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved.

  • REgarding licensing issues involvng 'Computername' and the use of UpperCase4 vs Lowercase Letters

    Does any one know if it would cause problems for the Office 365 software license to be displayed as licensed to an ALL CAPS name like 'MY-FAVORITE-PC' but the computer itself shows the computer name to be 'my-favorite-pc"?
    If it does, which one should I change?  A couple of people here have had this same problem (which usually occurs when they change to using a different PC for their account) I have to Deactivate their Old PC namer and then install the licnse to
    their New OC using whatever name it has.
    On more than one system, this has resulted in various odd "failure to contact Microsoft server" issues when activating.  The problem continues for 7 days and then their copy of Office starts showing reed warning bards and eventually gets totally
    unusable.
    However, if I uninstall the office, deactivate the license, and reinstall it once again, it install just fine and acts ok but invariably at some point, the same thing occurs.
    On one of them I noticed the difference in the case of the letters used in the computer name and the license name.  On others I am wondering about various software add ins for Outlook or some other 3rd part application causing the problem.  Whatever
    it is, it gets extremely annoying.  Officer 365 apparently must run an activation sequence almost constantly while Office 2010 (and I presume 2013) ran it once and were done with it.
    Searching Google I have found too many  possible reasons along with a lot of people who have had the same problems but no one seems to have the 100% solution.   This has only started happening since we switched to Office 365 and only
    seems to occur on systems that are changed out to different ones with the same User's 365 Account which is in good standing  and has 5 available licenses of which only one is in use.
    In the case of the caps vs lowercase I also wonder if changing the name to CAPS on their PC would create additional problems on its own?

    Hi Questorfla,
    For the Office 365 software license issue, I recommend you can post in dedicated Office 365 Forum to get a better response:
    http://community.office365.com/en-us/f/148.aspx
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Wage Type Creation in TRM and the use of IT 0017.

    Dear all,
    Can anybody tell me what are the std wage types for creating expenses like
    e.g. (Air/ Train Fare charges, Conveyance, hotel allowances, Traveling Advance, etc.... all types of expenses).
    as we have Std WT MB10 - Basic Salary in SAP for making new customised WT by coping MB10.
    So, in the same way i want to know what are the std. WT in TRM for creating the above expenses.
    And also tell me Friends the use of IT0017- Travel expenses and wat other infotypes we need to maintain in TRM.
    Points will be awarded.
    Eagarly awaiting your feedback.
    Regards,
    Prashant.

    Hi NandaGopal,
    Thanx for your reply.
    As u said there is no std Wt for TRM especially, so can i copy the std wt M233 - Hotel Accomodation for my Travel expenses as mentioned here  or can u pls tell me some std wt like M223 sothat i can coping those and make the new Trvl expenses like (Air/ Train Fare charges, Conveyance, hotel allowances, Traveling Advance, etc.... all types of expenses).
    Waiting for ur reply.
    Thanks & Regards,
    Prashantkumar Tata

  • HT4718 FileVault 2, the Recovery System, and the use of Disk Utility

    I have FileVault 2 turned on for my Lion-equipped Powerbook Pro. When booting from the Recovery System, however, the Disk Utility thereon cannot even verify the internal HD, much less repair anything. I am aware that this is due to the encryption, of course.
    However, for external encrypted drives, all I need to do is enter the password to mount them. So is there something that one can do in order to get the Disk Utility on the Recovery System -- on this very same drive -- to recognize the main volume, in order to enable it to perform diagnostics?
    Secondarily, if I put the Powerbook Pro into target mode, and connect it to another Mac (which I have not tried yet) will I be able to mount it from the other computer if (A) It is running Lion OSX or higher, and (B) I can provide one or more of the login passwords?
    I am one who has always liked to keep my hard drives running smoothly (e.g using Disk Warrior, Drive Genius, Disk Utility...whatever). So this is a bit foreign to me to be unable to run at least basic diagnostics. Any input would be appreciated. Thanks.

    If you're talking about just the Recovery HD, you only need 1GB so use a 4GB USB thumb drive and the OS X Recovery Disk Assistant to create it.
    If you're talking about the ML installer (installESD.dmg) use an 8GB USB thumb drive.

  • Tutorial:  Creating, saving and re-using Custom Shapes

    I've beeen experimenting with custom shapes for the last couple of days, and thought I'd share some of the tips and techniques I found.
    First of all, what are custom shapes?
    Well, they're vector objects.  That means that they are not built out of millions of individual pixels (like images are), but rather they're a series of mathematical statements that describe how to draw a line from point to point to create the vector shape.  This means that custom shapes are "resolution independent", and that they can be grossly shrunk or enlarged and still retain razor sharp edges, curves and corners.
    What are custom shapes good for?
    Pretty much anything where you want to use a good, sharp object.  In particular, using a custom shape as a clipping mask for an image that's been placed as a Smart Object is an outstanding technique, and really shows off the power that PSE is capable of.
    PSE comes with a lot of ready-to-use custom shapes for its Custom Shape tool, and there are probably hundreds of thousands available on the Web -- just search for "photoshop shapes".  Typically, those shapes will be supplied as Adobe CSH (Custom SHape) files, and simply copying the CSH files into the
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\Presets\Custom Shapes"
    directory will make them available for use with the Custom Shape tool.
    Sooner or later, though, you'll get the itch to create your own custom shapes.  Out of the box, PSE does not have the capability to let you create custom shapes and add them to the CSH files like the "big" Photoshop does, so we'll need to use a workaround:  store your custom shapes as layers in a PSD file, and when you want to use them simply copy them into your image. 
    N.B.:  To create custom shapes you'll have to use the reasonably priced Elements+ add-in:
    http://elementsplus.net/
    So, the procedure goes like this:
    Create a new image, using the PSE defaults, and save it as "CustomShapes01.psd", keeping it open.
    Open an image containing an object that you want to use as a custom shape.
    Use any of the selection tools to make an accurate selection of the object:
    In the Effects panel, use the Elements+...Paths effect and choose the Create New Path...From Current Selection:
    Use the Elements+...Paths again, choosing "Convert to Shape", giving it a name and colour of your choosing.  This will create a Shape Layer using that name.
    Important:  If your shape has "holes",
    use the Shape Selection tool and click on the shape to select it.  Then hit the "Combine" button in the Options Bar.  This will combine all the individual shapes used to create the shape and its "holes" into one shape, and prevent beaucoup problems later.
    Switch to the Move tool and drag the shape onto the tab of your "CustomShapes01.psd" image, keeping your mouse button pressed.  That image will become activated and you can move your cursor onto the image itself and drop your shape onto it.  Your PSD file will now have your custom shape as a shape layer:
    Save that "CustomShapes01.psd" file.
    You can repeat the process for as many custom shapes as you want, and they will each become a layer in the "CustomShapes01.psd" file.
    To use your custom shape, open the "CustomShapes01.psd" file and your target image and do the drag and drop with the Move tool to copy the custom shape onto your target image.
    I mentioned that using a custom shape as a clipping mask for an image placed as a Smart Object is a very powerful technique.  It's powerful because the custom shape can be altered at any time and still keep its sharpness, and because the Smart Object can also be resized without becoming pixellated.  Of course, that custom shape layer can have any number of layer styles applied to it and those layer styles will "follow" the shape if the shape is moved, resized or rotated.
    Here are three examples of using the custom shapes as clipping masks for Smart Objects:
    In this example, each custom shape is used as a clipping mask for an image Smart Object, as usual:
    Here, one custom shape was used as a clipping mask for an image Smart Object and they were linked. 
    Then the shape and image were duplicated and moved, rotated and resized.  Because of the linking, the Smart Object automatically kept its orientation and size relative to the custom shape throughout:
    If you want to use custom shapes as a "combined" clipping mask, the procedure is a little more complicated because you need to get all your custom shapes on one shape layer. 
    So, after copying your shapes into the target image (as separate shape layers), use the Shape Selection tool to select one of the shapes.  Using Edit...Cut will cut that shape layer to the Clipboard, and you can select one of the other shape layers and use Edit...Paste to paste the custom shape into that shape layer.  Repeat as necessary, and you will get all of your custom shapes on one shape layer.  Then use that single shape layer as your clipping mask:
    The neat thing is that the individual shapes can be selected with the Shape Selection tool and independently moved, resized or rotated as necessary.
    Enjoy!
    Ken

    Thanks, Michel.
    I forgot to mention one point about copying shape layers into one shape layer:  when you initially use the Shape Selection tool to select a shape for cutting, make sure the option for the Shape Selection tool is set to "Add to Selection".
    MichelBParis wrote:
    The problem with Elements+ is that it has so many features you soon forget what it can give you !
    Truer words were never spoken! 
    Ken

  • VMS, create directory and the chamber of secrets

    Ok, here I am bumbling around in the dark. Here is the scenario I am developing an application using PL/SQL under the constraints of the SCT Banner web form system. The Banner function calls create the web page on the fly from data obtained with PL/SQL. What I would like to do is incorporate a java function into the web page. The only method available to me is via Banners function call twbkfrmt.p_printmessage (my_string); Here is the 'Plan' (caution: may be seriously flawed). I thought I could store my java code in a the CLOB field of a table, access it with a cursor and insert the code into the generated web page like so: twbkfrmt.p_printmessage (my_java_from_the_CLOB); I am having troubles loading the .js into my table. Here is how I attempted to accomplish this and the result (and to add insult to injury, it is on a VMS system!):
    CREATE TABLE js_holder (
    js_name varchar(30),
    js_body CLOB );
    CREATE DIRECTORY foos as 'USR$DISK:[CLEMENSD.SQL_EDIT]';
    CREATE OR REPLACE PROCEDURE Load_CLOB IS
    dest_clob CLOB;
    in_file BFILE := BFILENAME('foos', 'supernote.js');
    dst_offset number := 1 ;
    src_offset number := 1 ;
    lang_ctx number := DBMS_LOB.DEFAULT_LANG_CTX;
    warning number;
    BEGIN
    DBMS_OUTPUT.ENABLE(100000);
    INSERT INTO js_holder(js_name, js_body)
    VALUES('supernote', empty_clob())
    RETURNING js_body INTO dest_clob;
    DBMS_LOB.OPEN(in_file, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.LoadCLOBFromFile(
    DEST_LOB => dest_clob
    , SRC_BFILE => in_file
    , AMOUNT => DBMS_LOB.GETLENGTH(in_file)
    , DEST_OFFSET => dst_offset
    , SRC_OFFSET => src_offset
    , BFILE_CSID => DBMS_LOB.DEFAULT_CSID
    , LANG_CONTEXT => lang_ctx
    , WARNING => warning
    DBMS_LOB.CLOSE(in_file);
    COMMIT;
    DBMS_OUTPUT.PUT_LINE('Loaded File using DBMS_LOB.LoadCLOBFromFile.');
    END;
    then the following:
    EOUTST> set serveroutput on
    EOUTST> exec Load_CLOB
    EOUTST> exec load_clob
    BEGIN load_clob; END;
    ERROR at line 1:
    ORA-22285: non-existent directory or file for FILEOPEN operation
    ORA-06512: at "SYS.DBMS_LOB", line 672
    ORA-06512: at "BANINST1.LOAD_CLOB", line 13
    ORA-06512: at line 1
    EOUTST>

    Is the directory owned by the same schema that owns the procedure?
    If not did you GRANT READ and WRITE to the proc's schema?
    If so then you might want to create a simple external table to confirm that your directory and permissions are valid.

Maybe you are looking for

  • HT201303 How do I change credit card on file

    I want to use a iTunes gift card not my credit card on file?

  • Problems Viewing PDF documents

    Hi, A colleague of mine travels quite frequently, and from time to time receives email from our office with PDF attachements. He reads his emails using Outlook Web, sometime when he opens a PDF the PDF will show instantly, other times the PDF cannot

  • How to align object in the report layout

    Hello, I find it very difficult to aligin objects in the report editor or in the template editor. I know there are some alignment options, like aligning to the grid or aligning a group of objects, but they seem to work on the bounding rectangle for t

  • 871 Config issues

    Ok I dont know if its just staring at me ridiculing me but I am feeling like an idiot here... I have an 871 and all I need to do is some basic rules.. Here is the config I am  having the issue with... I need these statics: .227 opened and forwarded t

  • Plz help me in my game

    I have just started programming java and here is a game i have made so far: http://www.freewebs.com/blobber/KillersJar.html -Keys- Player1 Up: Up arrow Down: Down arrow Left: Left arrow Right: Right arrow Player2 Up: W Down: S Left: A Right: D Now my