Capture document no after saving a set of data using BDC

Hi All,
Can u give a useful solution  for caputuring data in a transaction.the scenario is:-
1.an excel sheet data should be uploaded in a transaction O3URV_SS0 using BDC.----
done with call transaction
2.it will save all the line items associated with a particular header data.----
done
3.after save, it will generate a document no automatically for each header.----
[this no is stored in the table OIUVL_SSTH]
4.now I have 2 capture this doc no and print a message.
for step 4  i have tried with GET PARAMETER ID.But  I am unable to get the doc no.
can anyone give me the proper solutin and send me the piece of code.
Thanks.

Hi Kalpita,
Hope you are handling the messages in your BDC process using the MESSAGES option in the CALL TRANSACTION. If so, after the CALL Transaction, check the Message table each line, most probably the required  Doc.No will be avaible in the message as a component for the success message.
Eg. Document XXXXXXXXX created successfuly (  Here XXXXXXXXX  is the doc no. available in the message as a variable )
Hope this will help you.
Regards,
Smart Varghese

Similar Messages

  • Word document disappear after saving

    I was working on a wrod document and after i saved the document i went to close it. After closing the document i went to submit it via email and the paper is nowhere on my computer. My recent files says i was not on word for the last 2 days! Can i fin this document? I have tried searching for the title and can't find anything.

    Yes. I have searched for the name that i named it. It is not in my computer anywhere. It is not in documents, it is not in recent documents in word. My word processor says i have not been on word in 2 days.

  • "Saved Result Sets" message when using the raplace wizard in the Admin Tool

    Hi,
    I'm just trying to replace an existing Essbase source with a new one in my Business Model using the replace wizard. )It's a cube with > 1.5k account members so I'm really not looking forward to doing that manually).
    So far all migrations have worked fine, but somehow this time after specifying which tables to use for the replace, instead of showing me a list of columns which will be changed, the wizard throws a "Saved Result Sets" message and just hangs. Every time I hit "Finish" the message appears again.
    Here's a screenshot .
    Anyone ever came across this?
    PS: what's up with the links these days? Jive acting up again?
    Edited by: Christian Berg on Feb 10, 2010 2:57 PM

    Update: looks like the wizard is really overwhelmed with big cubes (1.5k accounts, 20 dims @ approx 10 generations each) and just breaks.
    I haven't figured out the exact limit, but I'm able to migrate pack of about 8 dims at a time as long as I leave the accounts dim out and do that on itself.
    Cheers,
    C.

  • Word document disappeared after saving and letting go flat

    I spent my whole day doing coursework and saved it for certain
    Then I let my laptop go flat because I was going to charger it later and no longer needed it
    Then once charged again I went to find the file and it was gone?
    help??

    Yes. I have searched for the name that i named it. It is not in my computer anywhere. It is not in documents, it is not in recent documents in word. My word processor says i have not been on word in 2 days.

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • The attachment document location after saving thru the transaction

    Hi All
    where will SAP stores the attachments (.txt, .doc, .pdf) when we attach thru transaction  IW52 / system / service for object  in SAP.
    Thanks
    Madhu

    Hi Kasinath
    I just attached the Pdf Document ...
    I was unable to see that document either thru CV03N or DRAW table.
    Please let me know if you find the solution.
    Thanks

  • Need badi which triggers immediately after saving the vendor master data

    Hi all.
        I need a badi which triggers after vendor master (xk02) is changed . The badi should trigger after the data base commit ( i.e after all the changes have been stored in data base tables). Pls let me know
    Thans in advance.

    try these:
    EXIT_SAPLV45T_001       V45T0001     Customer exits text determination
    EXIT_SAPMF02D_001     SAPMF02D     User exits: Customer master data
    EXIT_SAPMF02K_001     SAPMF02K     User exits: Vendor master data
    EXIT_SAPMV45A_002     V45A0002     Predefine sold-to party in sales document
    EXIT_SAPMV45A_003     V45A0003     Collector for customer function modulpool MV45A
    EXIT_SAPMV45A_004     V45A0003     Collector for customer function modulpool MV45A
    BADI's:
    CUSTOMER_ADD_DATA     CUSTOMER_ADD_DATA     Additional Data at Customers
    CUSTOMER_ADD_DATA_CS     CUSTOMER_ADD_DATA_CS     Additional Data at Customers (Subscreen Container 4000)
    VENDOR_ADD_DATA     VENDOR_ADD_DATA     Additional Vendor Data
    VENDOR_ADD_DATA_CS     VENDOR_ADD_DATA_CS     Additional Data for Vendors (Subscreen 4000)

  • Trace document flow after perform overclosure GR for reservation using MB1C

    Hi,
    Can i know how can i trace the material document or batch ID for certain material after finished the overclosure GR using MB1C of reservation?
    How it going to impact the following reservation requirement QTY?
    Thanks.

    no anwser

  • Saving 3 sets of data in 3 seperate arraylist and passing them to next view

    Hai all,
    I am using tree.The user  has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    Thanks n Regards
    Sharanya.R

    I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    hi,
    1. just collect all the values and concatinate using Strings, also use one delimiter between each value.
    like this,
    while(condition){
    String Result ="";
    Result += wdContext.currentTreeNode().getName() + "," ;}
    2. Finally assign this String to some Context, that you want to use in next view.
    3. Use StringTokenizer Class, make Result String as Source and comma as delimeter, then you can able to get list of
    previously stored values.

  • BADI / User Exit after Saving of Business Partner

    Hi Experts,
    Is there a BADI / user exit that is triggered after saving / updating of Business Partner using transaction code "BP"?
    We want to send a XML file thru ALE after creation/modification of BP. We are using CRM WinClient 4.0.
    Thanks.

    Hi Mikhail Khorpyakov,
    Thank you very much for your reply. It was a helpful answer.
    BUPA_GENERAL_EXPORT is triggered before database update of table BUT000 and other related tables.
    Is there a BADI that is called after saving which contains general data of business partner?
    Thanks in advance..

  • Problem of retrieve a set of data when calling store procedure using vb with ODBC

    when I use ODBC, it can return 1 record (1 field) using pass and retrieve the parameter. but it cannot success when return a set of data (using recordset to store it), when i do it, the error message (Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if availabl. No work was done.). Why ? and how can solve it ?\
    Thanks in advance.

    oh, really ? it is not use ODBC to connecto to oracle ?
    Here is my program code:
    STORE PROCEDURE:
    PROCEDURE getInforcePolicy(PClient_ID IN VARCHAR2, PPolicy_No IN VARCHAR2, BasicCur OUT oraoledb.m_refcur, RiderCur OUT oraoledb.m_refcur)
    IS
    BEGIN
    OPEN BasicCur FOR SELECT * FROM
    inforce200111 WHERE Client_ID = PClient_ID and Policy_No = PPolicy_No and coverage_No = 1;
    OPEN RiderCur FOR SELECT * FROM
    inforce200111 WHERE Client_ID = PClient_ID and Policy_No = PPolicy_No and coverage_No <> 1;
    END getInforcePolicy;
    PACKAGE oraoledb AS
    TYPE m_refcur IS REF CURSOR;
    END oraoledb;
    Program:
    Dim cn As New ADODB.Connection
    Dim rs As New ADODB.Recordset
    Dim rs2 As New ADODB.Recordset
    Dim cmd As New ADODB.Command
    Dim paramclient As New ADODB.Parameter
    Dim parampolicy As New ADODB.Parameter
    Dim I As Integer
    cn.Open "ridev", "abc","abc"
    cmd.ActiveConnection = cn
    Set paramclient = cmd.CreateParameter("PClient", adVarChar, adParamInput, 10)
    Set parampolicy = cmd.CreateParameter("PPolicy", adVarChar, adParamInput, 10)
    paramclient.Value = "0000023011"
    parampolicy.Value = "HK0010021U"
    cmd.Parameters.Append paramclient
    cmd.Parameters.Append parampolicy
    cmd.CommandText = "{call getInforcePolicy}"
    Set rs = cmd.Execute
    Do While Not rs.EOF
    Loop
    Set rs2 = rs.NextRecordset
    Do While Not rs2.EOF
    loop
    Where the RIDEV is a datasource that created from Data Source in Control Panel using the driver call "Microsoft ODBC for ORACLE"

  • How to get and set graph propertis using UIGraph instance

    Hi,
    I have added barGraph graph component on *.jspx and also added buttons like "Get properties" and "Set Properties". On "Get Properties" button action, I want to get all the attrributes of barGraph using UIGraph and also want to get "getGroupAttributes" and "getSeriesAttributes".
    I saw examples on gettiing the Group attributes using the click event on the graph.
    Is there any way to get the attributes on some button action like "Get Properties" without any click event on graph?
    Thanks,
    Gopal

    [Copying the answer here from the internal forum discussion so that other customers can benefit]
    Hi Gopal,
    You can call getValue on the UIGraph to get the GraphDataModel, then to use the data access APIs from there.
    Once you get the DataAccess from the GraphDataModel, you can call getMemberMetadata to get the members on the row and column edge.
    This method is documented in the interface CDFDataAccess:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getMemberMetadata%28int,%20int,%20int,%20java.lang.String%29
    You should use the following constants for the series and groups:
    DataDirector.COLUMN_EDGE=groups
    DataDirector.ROW_EDGE=series
    Use the method getEdgeExtent to find out how many members are in the series and groups:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getEdgeExtent%28int%29
    Method getLayerMetadata is the correct way to get the names of the layers, a.k.a "dimensions" displayed in the graph.
    DataAccess is used to read the data from the Graph. You set the data in the Graph by setting tabular data, using data binding by dragging and dropping from the data control palette, or by implementing a custom DataSource and setting it on the graph.
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setDataSource%28oracle.dss.util.DataSource%29
    However, implementing a custom data source is not trivial, and you should only use that approach if you can't use tabular data or regular binding against the available data controls.
    This doc chapter might help in understanding data source requirements for different Graph types:
    http://docs.oracle.com/cd/E16162_01/web.1112/e16181/dv_graph.htm#CEGBGCDG
    Hope this helps,
    Katia

  • Version 9 Set Enterprise data

    Cant seem to get my layout to display in the CAD? 
    Setup Fields in DesktopAdmin Server side
    Moved Variables to MyLayout
    Set Layout in the Expanded Call Variables tab of set enterprise data.
    "MyLayout"=user.layout
    Nothing, Duh...

    Here is what I have learned on this subject:
    These components work together
    SetEnterprise Data Step
    Expanded Call Variables
    Desktop Administrator Service Side
    (1) Go to the Desktop Administrator - Create your fields names
    (2) While in Desktop Administrator - Create your Layout Name and add the Fields you want displayed to that layout.
    (3) Using the Script Editor, go under Settings and select "Expanded Call Variables" and add the names you created at the Desktop Administrator in Step 1
    (4) Set Enterprise Data using the "Expanded Call Variables" Tab set Values = to your Parameters, and Names set to your Names as defined in the Desktop Administrator and in the Expanded Call Variables under Settings in the Script Editor.  "yourlayoutname" should be set to user.layout
    The General Tab of the Set Enterprise Data step enables you to set Call Variable 1 - 9 which you should use if you watn the parameter to be a an item that you can generate reports on.
    Speilling counts and Case is sensitive!  
    Peter Buswell (aka DrVoIP)
    http://blog.drvoip.com

  • I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.

    I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week, Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.
    The file name has no special character in it, just letters and no spaces.
    I have done this in the past and it has worked, but now it will not.
    I have not upgraded any software, that I am aware of.
    After scanning, the Image Capture pops up the Scan Results with the file name in the window, but neither the Scan Results nor the Image Capture window responds to inputs.  The Image Capture window is frozen, with only the "Overview" and "Cancel" buttons active (but non-responsive).
    Is this a software issue or a scanner hardware issue?  I am using a HP Photosmart C6200 series printer/scanner on a network using a Time Capsule airport.
    Thanks.

    I had the same problem.
    Got a 90% fix.  Apparently the Mavericks preferences won't work with Yosemite, so I just deleted the Image Capture preferences.
    Unfortunately, the "Scan to" folder seems to be permanently set to the Pictures folder.
    1.  Quit Image Capture
    2.  Go to Finder > Go > Home, which opens up your home folder (named after your user name)
    3.  Open Library > Preferences > com.apple.ImageCapture.plist - Drag this file to the Trash
    4.  Start "Image Capture", click "Details" and change all your settings as you prefer
    5.  Quit and restart "Image Capture".   Notice it remembers all your settings except "Scan to" folder.  It insists on saving to "Pictures".
    That's as far as I was successful.  I tried changing the "Scan to" folder to "Desktop", but on launch, Image Capture always sets it back to "Pictures".
    This is what I tried:
    6.  Download and install "Pref Setter" from http://www.nightproductions.net/prefsetter.html
    7.  Quit "Image Capture".  Right-click on "com.apple.ImageCapture.plist" and open with Pref Setter.
    8.  Search for "Pictures", which finds "~/Pictures" (the tilde character at the start means your home directory).
    9.  Double-click on "~/Pictures" and change it to the folder you prefer.  I like "~/Desktop"
    10. Choose File > Save then Quit from Pref Setter.  Note that re-opening the plist file still shows "~/Desktop"
    11. Start up "Image Capture" -- on startup, "Image Capture" sets "Scan to" folder to "Pictures"
    I consider this a bug.

  • Material list   not showing after saving the sales document

    Hi
    any body can give the answer  for this question : AFTER SAVING THE SALES ORDER MATERIAL LIST IS NOT SHOWING . Thanks in advance

    Hi,
    Go to Menu EDIT >> DISPLAY RANGE >> ALL ITEMS
    Also set it on sales order document type in VOV8
    Display Range -  UALL
    Kapil

Maybe you are looking for