BAPI only assign Document Data(Document Number/Document Type) to Material

Hi,
       Can any one tell me A Standard BAPI which is only assign(Not Create New Document Number)
       Document Data to Material Number.
Regards
Smruti

Hi Ganesh,
i am writing a Custome BAPI for Material Create uisng "BAPI_MATERIAL_SAVEDATA " and also i assign an Existing Document Number ,Document Type to the Material Number which is Created using "BAPI_MATERIAL_SAVEDATA".
so, i need a one SAP Standard BAPI which is assign an Existing Document Number ,Document Type to Material Number and the Document number and Document type is available  Input Parameter of my Z BAPI.
Note: Don't Create New Document Number i have docuemnt number and just assign to Material Number
Thanks and Regards.
Smruti

Similar Messages

  • Need BAPI to update posting date for parked documents in transaction FBV2?

    Hi All,
    I am retrieving records from table VBKPF and I have to update the posting date for parked documents in transaction FBV2.
    I am doing it with BDC , working fine in foreground, but it is not workung fine in back ground.I want to do this with bapi.
    Can any one suggest me corrct BAPI?
    TYPES : BEGIN OF It_vbkpf,
             bukrs LIKE vbkpf-bukrs,            "Company Code
             belnr LIKE vbkpf-belnr,            "document number
             gjahr LIKE vbkpf-gjahr ,           "Fiscal year
             budat LIKE vbkpf-budat,            "Posting date
             bldat LIKE vbkpf-bldat,            "Document date
             blart LIKE vbkpf-blart,            "Document type
             xblnr LIKE vbkpf-xblnr,            "Reference
             tcode LIKE vbkpf-tcode,            "Transaction Code
             bktxt LIKE vbkpf-bktxt,            "Document header text
             usnam LIKE vbkpf-usnam,            "User Name
             xwffr LIKE vbkpf-xwffr,            "Release necessary
             xprfg LIKE vbkpf-xprfg,            "Document complete
             xfrge LIKE vbkpf-xfrge,            "Release takes place
            END  OF it_vbkpf.
    Thanks,
    Suresh.

    Hi ,
    Thanks for your response.
    PRELIMINARY_POSTING_UPDATE seems working good,But my requirement here , to update the posting date with last working day . how can i do this?
    thanks,
    Suresh.

  • Billing document date and accounting document date varying...

    Hello Experts,
    There is one billing document and the date of invoice is, say today, 12/01/2009. and the accounting document date is, say 15 days ahead or behind, 27/01/2009.however, the posting date is proper and according to the billing date and that is again dated today-12/01/209. Now, the user wants to know why the difference exists between the accounting document date and the billing date. any idea? there are some user exits being used but I cant make out, neither the abaper. suggestions please.
    Regards,
    N.Raja Sekhar.

    Dear Raja Sekhar
    Document date is nothing but the date on which that particular transaction has taken place.  But I dont know where you get the date as 27-01-2009.
    It is a general practice that for exports billing document, there would be a Posting block and once the exporter receives the B/L, based on that date, the billing document would be released manually.  For this, there is an user exit to input the B/L number and date and release the billing document.
    So here, what the end users normally does is that the B/L Date might be on 02-01-2009 but he would not have updated on the same date.  At a later date, say on 12-01-2009, he can input the B/L Date (in another words, it is Posting date) as 02-01-09 and execute the billing document.
    If you see the accounting document here, the posting date would have been 02-01-2009 but the document date would be 12-01-09.
    thanks
    G. Lakshmipathi

  • Disabling document date of marketing document

    Hi
    my client wants to make invisible the posting date, so that his person may not change them and system should go according to document date. is there any possibility to make invisible the document date.
    Thanks

    hi krishna,
    This can be achieved thru form settings,Detick Visible & Active for Posting Date both in table & row format.
    Jeyakanthan

  • "Documents & Data" no longer working as expected

    I've been using the "Documents & Data" feature in iCloud to great satisfaction - until now. After upgrading to OS X 10.10 and IO8.1, I'm not so happy anymore. It looks like a bug to me, but would  like others to comment on it.
    First of all iCloud Drive is not enabled and is not an option for the time being due to lack of support in iPhoto 9.6.
    As stated I use "Documents & Data" to share documents between by Mac and 2 iPads. And it's been working fine until the upgrade.
    If I create a new spreadsheet on one iPad it's available on the other, but not on the Mac.
    When I enter System Preferences/iCloud and select "Manage..." and then "Numbers" the spreadsheet created on the iPad is listed, but is not available when I do a File/Open in Numbers on the Mac.
    Comments please.
    PS If I create a new spreadsheet on the Mac and save it in iCloud, it's only available for the Mac, not the iPads.

    By browsing through several Apple "forums" I found that: If you've decided NOT to upgrade to iCloud Drive you can still share documents between IOS8 devices but NOT with MACs running OS X Yosemite. So I guess it's "working as designed", but if I may add: "Bad designed".

  • What is document date? When will you use it?in A/R invoice  in SAP B1

    Hi
    I would like to know the meaning of document date for A/R invoice  in sap b1.
    when will u use? and How will u use it?
    I know Posting Date is date when u add invoice
    Due Date is a last date that customer have to pay you.
    But I don't know document date.
    I know only it use to caculate in payment terms.
    Does document date in A/R invoice use when u closing-Period?
    Please guide it to me.
    Thank U
    Theerawat

    Hi Theerawat,
    You may check these threads first:
    Document Date
    Posting / Due / Document date trouble
    Re: Posting Date
    Re: Difference between posting & system date in Inventory Audit Report
    Thanks,
    Gordon

  • Stripping out data from unstructured documents

    I have hundreds of word and html documents that I need to strip out certain information. The html docs are completely unstructured. The word documents may or may not have the same structure. How can I leverage PL/SQL to extract out the data that I need? I have seen scripts where using PL/SQL you can give a byte position number. This may work for extracting out some of the data if positioned in the same place but I am looking to simplify the process and get the right information out in one pass. Any help would be greatly appreciated. I am not necessarily looking for an exact answer but rather information that can lead me in the right direction. Of course the exact answer wouldn't hurt.

    I read all of the thread for that particular post and I still don't believe I have what I need.
    Maybe it is the instr function that you wanted me to look at and maybe not. I just don't know how I would use that to extract data.
    What I am looking to do is to use some kind of PL/SQL statement to extract a unique identifier that will be in the document, dates that the document was created or appended, and then some region numbers. So can I use instr to find a value from each document, hold it in a flat file and then import this information back into the database? The value of course will be different in every document.
    These files are currently not in a database. I am trying to get this information out of the document to store as metadata for each document. Am I looking at the right way to do this using PL/SQL or is there some other method of data extraction that I should consider

  • FB1S - Change Document Date

    Hello ABAP experts
    I've been asked by our client to make a modification when posting open items through txn FB1S (or in their case F-03).  When posting a document through this txn, the document date is set as equal to the posting date.  The users want to change this so that the document date equals the document date of the earliest open item to be posted.  I'm on an ERP Central Component 5.0, Basis version 640 and SP15 I think.
    I've already written up a piece of code that I think should work, my problem right now is finding where exactly I can place it.  I tried first in customer exit SAPLF051, but the exit wasn't called (I set up breakpoints to check).  I'm currently trying in a Z implementation of BADi FI_HEADER_SUB_1300, but I have my doubts if it will work because the documentation does not mention txn FB1S and says the BADi is for changing the posting date, not the document date.
    What other places exist where I might put the code in, such as substitutions, customer exits, etc?  Are those better places than the BADi I'm currently trying?  Thanks for your help in advance.
    Regards,
    Juan Ramos

    Hello
    Well, I was trying the substitution, but afterwards the user decided that they needed a completely new transaction to satisfy their business requirement.  I'm closing this thread so as to not leave it open.  Thanks again for the help, your suggestions will be something to keep in mind if another requirement like this comes up later.
    Regards,
    Juan Ramos

  • Include Document Date & Doc Due Date in SAP B1 Aging Details Report

    We are not able to view the actual document date and document due date from the Aging details report, it should be an essential information that should be show in the aging report. It make no sense that user still have to manually drill into each document to just read the document date/ due date for their aging analysis!!!
    Try to imaging that how important this information to a business, for instance, to age the invoice which due for 1 - 30 days, the document date which due for 1 days is categorise into 1-30days aged, the documents due for 30days also categorise into 1-30days aged, however it bring the different meanings to user and user need these information to take the action decision! How useful for an aging report which could not equip user with these basic information to provide user with efficiency to make effective decision???
    I think it is necessary to incorporate this level of details to the SAP B1 Aging Report.

    Hi Theerawat,
    You may check these threads first:
    Document Date
    Posting / Due / Document date trouble
    Re: Posting Date
    Re: Difference between posting & system date in Inventory Audit Report
    Thanks,
    Gordon

  • MIRO - Posting Date and Document Date

    Dear Gurus,
    I have a query regarding Posting date and Document Date of Invoice Document.
    I want to keep and restrict user to keep Posting Date and Document date same (current date) and want to restrict user from changing posting date, as i want to kep posting date and document date as same. Please suggest if there is any exit or any control i can implement in order to achieve this.
    thanks & regards,
    Prashant Rathore.

    Hi
    You can create a new Screen / transcation variant, in which the posting date and document date will have displau as field status.
    Regards

  • We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    Hi Mahesh,
    To display a document, proceed as follows:
    Tcode : FBL1N (Vendor Line Item Display)
    1-Select option's.
    2- List
    Regard's.
    Cem Ates

  • Custom master data for Sales Document Number

    Is it possible to create master data for "sales document number" as a custom field and/or table in R/3?  We have a need to record the "end user" customer of an order but this data may be updated a long time after the order and sale is complete.  IT seems that loading to BW/BI may be simpler if this is treated as document attributes rather than transactional data since no delta will be trigger by changes to this field.  Does anyone have experience with this approach?

    Hi,
    it is possible to create attributes for this InfoObject. Add the Attributes you need in BW. You can use the attributes even if the sales doc is line item dimension of your cube.
    On Sourcesystem side you have to create a generic extractor in SBIW. I think a table view on VBAK or VBAP may fullfill your needs. Of course the tables are not the smallest ones but maybe u can use the timestamp to implement a generic delta. Check whether the timestamp is set when the 'end user' is set. Not every change in the sales document leads to an entry in the delta queue of logistic, but the timestamp should be set.
    After that replicate the datasource to BI and connect it to the attributes of 0SALES_DOC
    I had a similar enhancement at one customer reading the actual transport routes to the sales documents and it worked fine.
    Hope that helps
    Christoph Vortkamp

  • You can only assigned two originals for document type DRW

    hello,
    while going for cv02n  in PM ,when i try to attached more than two documents its shows me an error saying that
    You can only assigned two originals for document type DRW
    but i want to attach more document at same time.
    kiran.

    hey ....thanks
    Iring
    but when i try to it by this way ,the setting for vault under which the file has to check-in
    is coming in that list but it shows the error saying that You are not authorized for activity 52 document  type KPR...
    when i try to do it under DRW it is allowing me to check in only for 2 documents when i try to attach 3 rd file it gives me an
    error
    You can only assigned two originals for document type DRW
    waiting for your reply
    kiran.

  • Create Excise invoice(J1IIN) document while creating billing document using bapi BAPI_BILLINGDOC_CREATEMULTIPLE

    Dear Experts,
    My scenario is:
    We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
    When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment: 
    Biiling document screen shot:
    While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
    Now the issue is:
    When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
    When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
    Please see the below screen-shot for the same; The z quantity line items are missing.
    We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
    Customization is also maintained for creating excise invoice document automatically.
    Regards,
    Rajesh Sadula.

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Need to pull certain data from certain documents

    First off if you know of a more acceptable place to post this please let me know
    Ok here is my scenario, i receive these documents in excel files they have users first and last name, badge number, email, E.T.C. Now i want to extract just the badge number out of this excel document. So my first question is i want to do this with a java program so what do i want to research about to make a java program that searches one of these excel documents and assuming it is space dillimeted pulls just the badge number out?
    Then i have another document called NCAS, this document has every employee listed only unique thing here is badge number and username but i want to take the badge number out of the first document and use this badge number to search my NCAS document. This will bring up a line in the document with user badge number username phone , e.t.c. again this document is space dillemited. So i want it to pull a field out of this document which i believe is the first one copy it.
    Then for my third thing i want to transfer this copied username over to a esb (oracle product) which has a database adapter on it and use it to input this username and query through our oracle database that username after that im going to use esb database connector to assign users responsibilities. but thats another project im just trying to extract certain information from certain documents i will worry about insserting this into a database later
    I guess what i would ask is can someone direct me to something that explains how to pull entries out of a document or something to that nature maybe at the same time how can i implement my java program that is pulling data out of files and incorprate that with an esb project that involves database adapters
    Message was edited by:
    vande

    Hi Vande,
    Just a comment. You will often get that type of response to a question that Google answers well, especially if it's a recurring question that has been asked and answered lots of times. Have a look at http://www.catb.org/~esr/faqs/smart-questions.html for some pointers.
    If you had said,
    "I searched Google/this forum, found a few ideas, and am looking for feedback from anyone who has tried this and might be able to help me pick the best way"
    you would have likely got a response more in line with what you were looking for. Also note that searching this forum for "java excel" found lots of interesting hits.
    Best,
    John

Maybe you are looking for

  • Trackpad + Typing Problem

    Recently my Macbook has begun acting up a little bit. At random times when I'm dragging the cursor across the screen, it will start highlighting text, clicking buttons, opening things from the dock, etc. Without even clicking the trackpad button, it

  • G500S Touch monitor is not working

    I just bought a Lenovo G500s touch and the touch-screen initially worked though I had rebooted a few times after the screen appeared to freeze.  Now you cannot use the touch-screen at all and I don't know where to turn for help.  Does anyone have any

  • Can I use my PC to type notes and transfer to iPhone?

    When I used a Nokia, I had software that would let me perform phone functions on my PC when it was connected to it.  How can I do that with iPhone4?  In particular, I want to enter text for the Notes section and sync it to the phone.

  • Add a "%" symbol with Excel Interop

    Hello folks! How do I programmatically put a "%" symbol to a column in the Excel chart. I am using Excel Interop library. Any advice will be appreciated!

  • Mark Safari tabs with different colors ?

    Is there an extension or a plugin that allows for marking different tabs with colors ? I want to be able to group together a bunch of tabs that are relevant under one color. I cant find any plug-in for safari