UDO with Document Rows object : create lines with DIAPI

Hi all,
I'm created two tables : IFC_OBDC with Document object type and IFC_BDC1 with Document Rows object type.
I'm created the associated UDO.
How can i create data with DIAPI ??
I'm begin to use SAPBobsCom.Documents but i don't find the SAPbobsCOM.BoObjectTypes for my UDO.
The document is generate via program. So it is possible to create my UDO with DIAPI ??
Thanks for your response.
Michael

Hi ,
as i undtrestand you have a form with 2 tables one document and the other document lines.
You want to populate the lines wuth DIAPI.
i can give you this hints:
create a document UDO with you tables.
on form load activate the menus: add and remove line
add the buttons OK and Cancel: with id 1 and 2
Normally i think that it will work.
Hope this helps.
Best regards.

Similar Messages

  • The document contains no posting lines with value other than zero

    Hi!
    We are having problems posting a invoice in MIRO. When entering the PO number we receive the error message "The document contains no posting lines with value other than zero".
    What could be the problem?
    /Anders

    Hi!
    The GR_BASEDIV is set in the PO. The PO is replicated from SRM where this flag has been set for no reason. Only GR and IV are set and we have implemented a note 1155266 so that Confirmation-Related IV will not be set.
    How come it is set anyway?
    Sincerely
    Anders

  • Why i am unable to select between 2 anchor points with in a object while dragging with direct select

    why i am unable to select between 2 anchor points with in a object while dragging with direct selection tool instead it moves

    Another option is to temporarily change your view to outline mode, when your done switch back to preview mode. Ctrl-Y or View>Outline {View>Preview} The menu option will change depending on which mode you are in.
    And another option, double click on the object in question to place it in Isolation mode. You can now edit to your hearts content. When done, click on the gray border at top of document.
    So as you can see there are multiple ways of accomplishing the same thing.

  • Just bought a new iMac, with Lion, for my wife.  When is was wifi with her old iMac on line with it's printer, HP C6200, no problems printing.  Now that it is by itself it does not recognize the C6200...It recognizes my laser hp 1012 and laser hp 6300

    Just bought a new iMac, with Lion, for my wife.  When is was wifi with her old iMac on line with it's printer, HP C6200, no problems printing.  Now that it is by itself it does not recognize the C6200...It recognizes my laser hp 1012 and laser hp 6300 but will not print to them wanting an autenication

    How is the C6200 connected to the iMac, is it via USB or Wi-Fi? If it's via Wi-Fi please make sure it's connected to the router using the printer's Network Wizard. Then click System Preferences - Print & Scan and assuming the iMac is on the same network as the printer, if it is the printer should be seen. If it's not then click the + sign and add the printer. Apple provides instructions in Printing Overview OS X Lion

  • Document Deleted and Created again with diff doc. number

    Dear All,
    We are having the scenario that we have some parked documents during the fiscal year (2009) and before the yearend closing, we intend to change the new posting date (01.01.2010) for those parked documents which were created through Logistics Invoice Verification.
    When we give new posting date (01.01.2010) and make save as parked/completed, the system issues a message,"Document 5105601528 2009 was deleted and created again under 5105601532 2010".
    We need to keep the same document number 5105601528 for the next fiscal year also and do not want to generate new document for 2010.
    I request you to all please provide your valuable suggestion that how we stop the new document number for the same document during next fiscal year.
    Regards,
    Ranesh.

    Hi
    As you mentioned that you have changed the Posting Date in the Parked Document from old fiscal year to new fiscal year date 01.01.2010 , then the system will generate the Number based on the sequence available.
    It is not possible to retain the same Document Number in the next fiscal year 2010.
    Hence if you want the system to generate to the same old number, then in the new fiscal year, you shouldnt have any parked/posted document with that number.
    As per my guess, in the new fiscal year already a Document was parked/posted with the numbers 5105601528, 5105601529,5105601530 and 5105601531.And the next number in sequence is 5105601532, iey when changed the posting date of the parked document system generated ihe next available number.
    Hope you understand.
    Regards
    Venkat

  • Can I trigger the read of a buffer period measuremen​t with a external signal (PFI line) with my 6602 card? How can I do it?

    I am doing a buffered period measurement with a 6602 card, Labview real time. I want to measure the period of 6 rising edges of a TTL, but I want to do it exactly when an edge comes on other external signal (of course slowler than the previous one), that is to say that I want an external start trigger. Can anybody help me? I have hardly searched at the web and I have not found an example of code of what I am looking for.
    Another question:
    After reading the buffer, how does my program know that the data has been refreshed in a continuous measurement? I attach two VIs I am trying to make work and a quite explanatory bmp of what I
    want to do.
    Thanks.
    Attachments:
    rtc_regimen.zip ‏3 KB
    Buffered_Period_pulse_generation.vi ‏283 KB
    simgle_counter_pulse_generation.vi ‏177 KB

    Hello;
    I can't think of any way to accomplish that task. Once the counters have only two input pins, and both are in use when one configures the counter to do buffered measurements, there isn't a way to trigger that operation in hardware.
    I'm not sure if I understood your second question, however, the buffered operation on a counter is hardware controlled, meaning that a pulse on its gate input triggers the transfer of the count value from the counter register to the PC memory buffer. That is therefore a continuous measurement.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Create a line with arcs using new SdoApi (not liniear)

    Hi
    How we create a line with arcs using sdoapi (not liniear line)?
    Philipp

    Philipp,
    You have to use the default constructor for JGeometry
    to build lines with arcs:
    public JGeometry(int gtype,
    int srid, double x, double y, double z,
    int[] elemInfo, double[] ordinates)
    Currently, this is the only way to create lines with arcs.
    siva

  • Clone schema with current db objects and data.

    Hi Cloud expert,
    I need feature to clone existing schema and create new schema with schema as a service. I created profile that export schema with database objects and data. I created template that use the profile created. While provisioning the template I found all the database objects with template. Now I need a solution to clone the current schema with all the objects at current time. The way I tried contains all the objects that were exists while exporting the schema. I need the solution to clone schema so that it will contains all the objects and data right now.
    While reading document I found snapclone but that is not the exactly the solution I need. I simply need to clone schema with latest db object and data with Self Service portal.
    Thank You in advance.
    Dilli R. Maharjan

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Line with 0 quantity for main item with batch split

    Hello experts,
    I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN.
    My system is showing 2 line items in billing, the batch line with quantity and the main line with zero qty. How to prevent this and have only the lines item in invoice with batch/qty. I don´t want to see the main item with o quantity.
    In VTFL I have routine for copying requirements 004 and Billing Quantity B. I need to create another copying routine or I need to use another item category for batch lines?
    Thanks in advance
    Pablo

    Hi Pablo,
    It is advisable to have a different item category for Batch split items.
    If you want the batch split items to suppress and show only the Total in the Invoice. Yes it is possible.
    1) You can do this in the Copy controls in VTFL - Delivery to Billing, go to your Item category and go to Item details - Change the billing Qty to 'G'.
    2) Go to Shipping > Deliveries > Item categories Determination in Deliveries > Define item category.
    Go to your item category which is used in Batch Split
    Remove the Billing Revelance and make it blank and Save.
    Now when you create the Invoice for Batch split - Only the total quantity will be displayed without the subitems - like in Delivery note or Delivery..
    Please check and revert back for any more details
    Rgds
    Sunil.

  • How to create colums with the same Field

    Hello every body,
    I have this report only with one field how i can create columns in base of rows for example some times  this field containing 40 rows then I need to create 2 columns of 20 that when is even or 15 then create 2 columns one with 8 rows and the other with 7.

    you can try making the report layout with multiple section. Please the field in detail section and right cick on the detail section and go to section expert and select the option "format with multiple columns" and then go to layout tab and select the each column width and select the printing direction option as down then across and click on OK.
    Now you will be able to see the multi column report.
    regards,
    Raghavendra.G

  • Editable table with multiple rows

    Hi All!
    We're trying to develop some application in VC 7.0. That application should read data from some R/3 tables (via standard and custom functional modules), then display data to user and allow him/her to modify it (or add some data into table rows), and then save it back to R/3.
    What is the best way to do that?
    There's no problem with displaying data.
    But when I try to add something to table (on portal interface), I'm able to use only first row of the table... Even if I fill all fields of that row, I'm not able to add data to second row, etc.
    Second question. Is it possible to display in one table contents of output of several BAPIs? For example we have three bapis, one displaying user, second displays that user's subordinates, and the third one - that user's manager. And we want one resulting table...
    And last. What is the best way to submit data from table view in VC (portal) to R/3 table? I understand that we should write some functional module, that puts data to R/3. I'm asking about what should be done in VC itself. Some button, or action...
    Any help will be appreciated and rewarded :o)
    Regards,
    DK

    Here are some former postings:
    Editable table with multiple rows
    and
    Editable table with multiple rows
    Are you on the right SP-level?
    Can you also split up your posting: one question, one posting? This way you get faster answers, as people might just browse the headers.

  • Msg 2601, Level 14, State 1, Procedure sp_flush_commit_table, Line 15 Cannot insert duplicate key row in object 'sys.syscommittab' with unique index 'si_xdes_id'. The duplicate key value is (2238926153). The statement has been terminated.

    I am using SQL server 2008 R1 SP3. And when we are doing back up operations we are facing the below error
    Msg 2601, Level 14, State 1, Procedure sp_flush_commit_table, Line 15
    Cannot insert duplicate key row in object 'sys.syscommittab' with unique index 'si_xdes_id'. The
    duplicate key value is (2238926153).
    The statement has been terminated.
    Please assist me with your inputs.
    Thanks,
    Rakesh.

    Hello,
    Did you enable change tracking on the database? If so, please try to disable and re-enable the change tracking.
    The following thread is about the similar issue, please refer to:
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/c2294c73-4fdf-46e9-be97-8fade702e331/backup-fails-after-installing-sql2012-sp1-cu1-build-3321
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Seperate Document Row with same account  when post GL

    Hello everyone
    How I can seperate Document Row with same account  when post GL
    because If I post dcoument that  have many rows but same account and difference detail. It will sum amount for same account in JE
    and I found that will seperate if it has diference project code but it's not enough for me.
    How I can config SAP B1 to seperate Doc row when post to JE if it has difference detail (as userfield or standard filed)
    Sorry for my poor english
    Thank,Seang

    Hello Suthee,
    Sorry to tell you, it is not possible to do so in current B1 without addon development.
    There are 2 alternative.
    1.Consulting Workaround:
    Seperate the Item into 2 items, the account into 2 sub accounts.e.g.
    Item A => Item A01 and A02
    G/L Account 1001 => Sub Account 100101 and 100102
    2.AddOn development to seperate the JE just after it is created document
    You can update to JE to seperate just after JE are created by docuemnts.
    Just Listen FormDataAdd Event.
    Sample Code:
    Private Sub FormDataEventHandler( _
        ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
        ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
            'I just listen 133 - AR invoice here,
            'You may add the target documents
            'Before action = true, start the transation
            If BusinessObjectInfo.FormTypeEx = "133" _
                    And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
                    Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) _
                    And BusinessObjectInfo.BeforeAction = True Then
                oCompany.StartTransaction()
            End If
            'Before Action = false,
            'Update the JE in document
            'Succeed, commit, otherwise rollback
            If BusinessObjectInfo.FormTypeEx = "133" _
            And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
            Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) Then
                If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
                    Dim xmlDoc As System.Xml.XmlDocument = New System.Xml.XmlDocument
                    xmlDoc.LoadXml(BusinessObjectInfo.ObjectKey)
                    Dim objectKey As String
                    objectKey = xmlDoc.SelectSingleNode("//DocEntry").InnerText
                    Dim oDocument As SAPbobsCOM.Documents = Nothing
                    oDocument = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                    If oDocument.GetByKey(CInt(objectKey)) Then
                        Dim oJE As SAPbobsCOM.JournalEntries
                        oJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                        If oJE.GetByKey(oDocument.TransNum) Then
                            '*Add you code to Update oJE lines here*
                            lRetCode = oJE.Update
                            If 0 <> lRetCode Then
                                oApp.MessageBox("Failed to update JE")
                                'roll back the whole transaction, including the document
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                Exit Sub
                            Else
                                'Commit the transaction
                                oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                            End If
                        End If
                    End If
                End If
            End If
        End Sub
    Hope it helps. Thanks.
    Kind Regards
    -Yatsea

  • How to create complaints with reference to ECC Billing document (CRM 7.0)

    Hi experts!
    I use ECC 6.0 and CRM 7.0.
    I have to create CRM complaints (ZCLR - CLRP) with reference to ecc billing documents.
    I read the following topics and help:
    1. How to create complaints with referenceto ECC Billing document
    2. Re: How can we transfer billing documents from SAP ERP to CRM 2007?
    3. http://help.sap.com/saphelp_crm70/helpdata/en/46/029ba32e675c1ae10000000a1553f6/frameset.htm
    Made these settings:
    1. Define the Business object type
    Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Define Object types for Transaction reference
    2. Assign Business Object Types to Transaction Types
    Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>Assign Business Object Types to Transaction Types
    3. Implement a BADI - CRM_COPY_BADI_EXTERN.Check Implementation CRM_COPY_BADI_BILLDO for more information on the coding for referencing the ECC Billing document.
    Goto SPRO>CRM>Transaction>Settings for Complaints>Integration>Trnsaction Referencing>BAdI: Create Complaint with Reference to External Transaction.
    but still do not know,
    1) if I should pre-replicate billing documents into CRM ?
    2) Or, the system uses the RFC to find these documents in ECC to create reference?
    Please help me.
    Best regards Kostya.
    Edited by: Kostya Khveshchenik on Oct 20, 2010 2:09 PM

    not resolved =(
    Edited by: Kostya Khveshchenik on Nov 19, 2010 8:50 AM

  • "Cannot draw document with negative rows to credit note"

    Hi Experts,
    A General query :
    I create an AR invoice with two items one with qty 1 and the other with qty (-ve 1)  on posting this invoice the second item / row with negative qty gets closed automatically. Now, I require to post a AR Credit note to this invoice i get the following status error message "cannot draw document with negative rows to AR credit note" when copying to a AR Credit note and it is the same the other way when copying from
    How is it possible to create a  AR credit note to the above scenario. Any sugestions
    V.  2007A SP01 PL05
    Regards,
    Rakesh N

    Hi Rakesh N,
    version 8.8 supports fully the scenario you outline & I would recommend you upgrade to benefit from the new functionalities introduced in that version. Please have a look at the [8.8 landing page|https://service.sap.com/~sapidb/011000358700000199032009].
    Using stand-alone documents & internally reconciling in the lower versions works beautifully on the accounting side yet impacts also the stock side, where corrections in stock value & item cost must be carried out manually.
    All the best,
    Kerstin

Maybe you are looking for

  • Jpeg and animated gif's

    Hi. Does anybody know how to put an *.jpeg image and an animated gif on the front panel of a VI? I would be greatfull for any help. Vlad

  • Multiple camera recording question

    Ok so if i have multiple cameras and one of them triggers and is recording can another record at the same time.  it looks like when this happens i lose a video.  the triggers are all in the activioty log but no video is there to see. Al

  • Mac mini, thunderbolt and two monitors

    Hi all, I have a late 2012 Mac Mini, and a 27" LED Cinema display.  I want to connect two monitors to the mini.  I was thinking about buying a 27" Thunderbolt display to connect via the Thunderbolt port, then daisy chaining the LED Cinema (via mini-D

  • How can I insert an interactive musical notation fragment in iBooks Author?

    I would like to insert an interactive fragment of musical notation in iBooks Author, just to illustrate a short melody or a few chords.

  • Inbound IDOC Mass processing - No status message

    Hi Friends, I am updating a database table using inbound IDOC. But in batch job when XI passes multiple IDOCS, for some IDOCs there is no status message even though i coded for status message. If i rerun IDOC in BD87 then it work fine. please help. r