Function for getting status of a document(vbeln)

Hello,
i am creating a report showing the list of sales order. I also want to show the status of each document(vbeln). Is there any SAP function which returns the stauts of a document(vbeln).
Thanks for yur time.
Shehryar

<b>RV_ORDER_FLOW_INFORMATION </b> Reads sales document flow of sales document after delivery and billing  ExampleO
Don't forget also check direct reference documents for the both starting document # and preceding/following document types that you are searching for (For example, if you search delivery for the given SO, check also LIPS-VGBEL and LIPS-VGPOS, if it's possible with regard to performance). 
V45A  SD Functions for Copying Documents  SD_SALES_DOCUMENT_READ   Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties) 
SD_SALES_DOCUMENT_READ_POS   Reads sales document header and item material: tables VBAK, VBAP-MATNR 
SD_DOCUMENT_PARTNER_READ   partner information including address. Calls SD_PARTNER_READ 
SD_DETERMINE_CONTRACT_TYPE   In: at least VBAK-VBELN
Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT 
SD_SALES_DOCUMENT_COPY  copy Sales Doc into new one with the required Sales Doc Type (VBAK-AUART) for further creating. ExampleO - create subsequent document 
SD_SALES_DOCUMENT_SAVE  create Sales Doc from the copied document 
V45K  Sales Order Processing Functions  SD_SALES_DOCUMENT_ENQUEUE   to dequeue use DEQUEUE_EVVBAKE 
V05I  SD Index Update  SD_PARTNER_READ   all the partners information and addresses 
V05O  SD Data Collection for Dlv Note Printing  RV_DELIVERY_PRINT_VIEW  Data provision for delivery note printing  
SD_PACKING_PRINT_VIEW   
SD_DELIVERY_VIEW  Data collection for printing  called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW 
V05N  SD Data Collection for Bill Doc Printing  RV_BILLING_PRINT_VIEW  Data Provision for Billing Document Print

Similar Messages

  • User defined function for getting last string in the line

    Hi Experts,
    I am not java expert, can anyone give me user defined function for getting last string in the line.
    for example if the source field is "NEW ARBOUR SQUARE"  i want to pass to target field only last string that is "SQUARE"
    please help me out of this.
    Kind Regards.
    Praveen.

    You don't even need a UDF for this. In the graphical editor look for the standard functions and once you do a scroll over on 'text functions; you will find what you are looking for.
    Just a piece of advice, try keeping UDF's to minimum unless really required or it is complicated without it.
    regards

  • BAPI or FUNCTION for reverse a Cash Journal document

    Hi,
    Somebody now a bapi or function to reverse a Cash Journal document?
    I need to use this in a program.
    Thanks,
    Nohemi.

    Hi,
    Can u help on this issue.
    regards,
       zafar

  • Function for getting password with *** from the cmd?

    Hey all,
    i am trying to find a function to get a password from the user using the command prompt in a hidden way... e.g. i want the function to take the password from the user but simultaneously apear * on the screen..?
    is any function doing that ?
    thx a lot!

    Java SE 6 has a new class Console that does not echo password input. It does not print *, it prints nothing, which is tradition of console app.
    http://java.sun.com/javase/6/docs/api/java/io/Console.html

  • Function for getting Adress of Debitor (kna1) out of adrc

    hi guys!
    I know how kna1 and adrc is connected,
    I'm just wondering if there might be a function module which gets the adress of a "kna1" automatically??
    any Ideas?
    regards Thomas

    FYI -
    ADDR_GET_COMPLETE will give you the address for a customer stored in ADRC table which holds complete address.
    BAPI_CUSTOMER_GETDETAIL2 - would give you the address from KNA1 which might have truncated data.
    To verify, check the length of address fields in KNA1 and ADRC
    SKJ

  • Function for getting full current page url

    Hello Everyone!
    Is there a funtion to get your full current page url? With
    the
    http:// and possible url variables?
    Thank you!

    > <cfoutput>#"
    http://" & CGI.HTTP_HOST &
    CGI.SCRIPT_NAME &
    IIf(len(trim(CGI.QUERY_STRING)),DE('?'),DE('')) &
    CGI.QUERY_STRING#</cfoutput>
    Unless it's HTTPS, or running on a port other than 80... ;-)
    I don't have access to an HTTPS-running server @ present,
    otherwise I'd
    provide a more helpful answer. However there are two
    additional CGI
    variables which get set to (something) if the request was
    made via HTTPS.
    To deal with the port, there is CGI.SERVER_PORT. If it's
    other than 80 (or
    443 if HTTPS), the one should include a colon and the port
    number after the
    HTTP_HOST value.
    Adam

  • How to get status of transaction

    Hi Gurus,
    can anyone tell me how to get status of the transaction in crm.
    regards,

    hi vijay,
    what kind of transaction did you want to get the status ?
    for order, complaint, activity, and task, you can used function modul 'CRM_ORDER_READ' for getting status of the document.
    hopes it helps
    cheers

  • Function Module for Get Price  and Bonus in Sales Order

    Hi.. ABAP Guru's..
    I wanna make a function for get price and get Bonus for all material items in sales order.
    Help me for solving it.. Please.
    Thanks a lot before and after.
    Rgds,
    Asep Saepudin

    Hi,
       Welcome to SDN.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=782207
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=950526
    Regards

  • Status 51 material document data and po data do not match(vendor)

    i am using we19 to try an inbound idoc mbgmcr(receipt for po)
    i put in gm_code 01
    movement indicator B(goods receipt for po)
    vendor 3815
    PO 4500015241
    PO Order Item 00030
    Movement type 101
    qty in unit of entry  1
    iso code unit of measurement pc
    on the po screen i see the po item and qty to be delivered is 75
    when i run the inbound idoc i get
    status 51 material document data and po data do not match(vendor) but as i say on the po inquiry screen i see the po vendor item with 75 to be delivered
    what am i missing????????????????

    thank you
    i put in the leading zeros and got rid of that problem
    now i am getting status 51
    posting only possible in 2004/07 and 2004/06
    but in the posting date i use 07/02/2004  i have tried several dates in the period but get the same error
    any ideas?
    thanks you

  • Function modue which imports belnr and exports vbeln?

    hi all,
    can anyone tell me if there is any function module in which if i pass accounting document(belnr) i get the corresponding billing document(vbeln)..

    You can also try:
      DATA: v_reference    TYPE bkpf-awtyp,           "Reference procedure
            v_objectkey    TYPE bkpf-awkey.           "Object key
        v_objectkey = billing_doc.       
        v_reference  = 'VBRK'.
        SELECT SINGLE bukrs belnr gjahr               "Accounting Doc Header
          FROM bkpf
          INTO doc_int
          WHERE awtyp =  v_reference
            AND awkey =  v_objectkey.
    Rob

  • Report for getting an oppotunity for current month

    Please tell what can be a filter or function for getting an oppotunity for current month , i have the field as "Opportunity created date" so what function or SQL expression can b eused to get created date = current month's date

    Thanks..i'll do taht
    Edited by: user1074008 on Sep 28, 2010 3:11 AM

  • How do I get access to Mobile documents admin console login with SAP HANA Cloud cockpit?

    Hi All,
    I am trying to launch SAP Mobile Documents from my trail version of SAP HANA Cloud.
    The Help link which I had followed  via link:
    https://help.hana.ondemand.com/help/frameset.htm?dc618538d97610148155d97dcd123c24.html#concept_0B49F10346C94249845EC16364FFF66D_76
    In SAP Cloud HANA Cockpit Using the link available in Authorization>Authorization Management
    I had created an user assigned to a Group, and Group has been assigned to a  Role ODP-OPERATOR,
    Next step, when I am trying to assign a token, I could not able find a token. How to get a token from here?
    My intention of creating user, group, role and token is for getting access to Mobile documents admin console.
    However I have also tried to access the mobile documents admin console via link
    https://smd-p1886950994trial.hana.ondemand.com/mcm/admin
    When I browse the above link, It shows HTTP 503 the requested service is not currently available.
    I am not sure, How to get access Mobile documents Admin page from here
    Could someone clarify on this please?
    Regards,
    Saravanan.R

    Hi,
    I have managed find an answer from this link SAP Mobile Documents on SAP HANA Cloud saying, SAP Mobile documents trial is not available in SAP HANA Cloud cockpit.
    Regards,
    Saravanan.R

  • Status of Financial Document

    Hi All,
    Can we change the Financial Document Status to "C" (Notification that document has been sent) after the status of that financial document was set to "E" (Change in document has been submitted) ? And how to do that ? Or we must create a new Fin Doc ?
    Because one of my user want to change back the status of a fin doc.
    Thank you

    Hi Rudy,
    Not sure if following references could help or related to your case, but you could try it out to see how the effects.
    Setting the Status of Financial Documents
    Use:
    A financial document's status controls whether it is available for use in sales orders. For example:
    Status to B 'Document is incomplete' means that you still need additional information for the financial document
    Status D 'Document is available and can be used' means that the financial document can be assigned to sales orders
    Status E 'Change in document has been submitted' means that the document cannot be assigned to a sales order until you change its status to D
    Prerequisites
    The status of a financial document is protected by an authority object. You can configure the authorization object to allow several users to create, change, or display financial documents while allowing only one or a few users to maintain the documents’ statuses. Only users assigned activity 36 (extended maintenance) for this authority object have permission activate a financial document.
    You can also configure the SAP System to require two people to activate a financial document. This configuration helps ensure that the financial document data is double-checked before it can be used in the system. Maintain the double-check feature in Customizing for Sales and Distribution. Choose Foreign Trade/Customs ® Documentary Payments ® Basic settings ® Define Indicators for Financial Documents. Select a Financial Document Indicator and then Goto ® Details. Select Double-check on under Extended confirmation control.
    Procedure
    Go to the Cockpit for Documentary Payments.
    Choose Maintain financial documents.
    On the Status tab, select a status.
    If you want to activate the document, choose status D (Document is available and can be used).
    Save the financial document.
    See also:
    Maintenance of Financial Documents
    Regards.

  • IPod shuffle voice over for battery status problem

    The voice over function for battery status doesn't work on my new Shuffle 4g.  The other voice over functions do work.
    I'm using Windows 7 (64bit).  I have Itunes 10.5 .  I down loaded the 64 bit version, voice over kit installer

    Hi Imyman,
    Apple has determined that the Apple Headphones with Remote included with the iPod shuffle (3rd gen) may fail under certain conditions. If your Shuffle has a certain serial number you can change your Headphones following this procedure:
    http://www.apple.com/support/headphones/replacementprogram/
    Hope this will solve your problem as it did for me.

  • Reset Processing Status function for Custom Document does not exist?

    Expert,
    I have a need to reset Process Status of Custom Document from
    "Blocked - Awaiting Reply from Authorities" to previous status. Many times we will receive error messages from US AES and require further processing and resent.
    According to help.sap.com documentation, i should be able to find this function through
    System Administration. Choose System Monitoring ® Status of Customs Declarations/Shipments.
    I don't seem to be able to find this in our GTS 7.20 system. I have SP 009.
    Please help.
    Thank you,
    Wen

    ok. I received the answer from SAP. The transaction to reset processing status of custom declaration is
    /n/SAPSLL/CDOC_STARES accessible through role Menu /SAPSLL/LEG_SYS_COMM.
    Wen

Maybe you are looking for