Copying custom and system documents via SDK

Hi everyone,
A client needs to copy Purchase Order document to AR Invoice.
Looks like that the only way to implement this feature is to straightly set matrix cells' values, for example
var itemCode0 = InvoiceFormMatrix.Columns.Item("0").Cells.Item("0").Specific as EditText;
itemCode0.Value = "Code00";
So, the first question - is it any faster way to fill system matrixes? I've already tryed DBDataSource.SetValue() and Matrix.SetCellWithoutValidation() - they are forbidden to change system columns.
The second question: matrix.AddRow() method doesn't increment the "#" column (Line Number) automatically, even after form.Update() call. How can I fix this issue?

Hi Ankit,
Yestarday I implemeted a similar approach. However, this sollution has several shortcomings:
Extremely slow behaviour - it is obvious, however
As I mentioned earlier - "#" column is filled with "1"-s - no automatic incrementation.
I cannot set Description column, because it raises "ChooseFromList" if several ItemCodes has the same Description. First I set ItemCode, however, SDK doesn't set the corresponding Description automatically as one might expect. Suppressing ChooseFromList event "before action" (BubbleEvent = false) leads to emty Description column.
Thus, I have a bunch of problems against a few benefits ...
Hi Ady,
"Why don't you use DI API to copy the SO to Draft AP Invoice" - this is the client demand. He needs such "Copy From" feature according to his business process. Also he opposes to any auxillary documents which could easily confuse inexperienced user of SAP B1.
Best regards, Evgeny.

Similar Messages

  • Can We enter Sales Invoice and Incoming Payment VIA SDK

    Dear Experts
    We have to develop an integration bridge with retrieve data from excel sheet and upload in SAP , i want to clear is it possible to enter sales invoices and incoming payment via SDK?. If it is possible please guide me about objects name and any reading material for SDK development.
    Thanks

    Hello,
    Yes it is possible with 2 steps:
    1. you post the invoice
    2. you post the payment
    I have already posted into the forum several examples, you may check them:
    For invoice + payment
    for payment only:
    Regards
    János

  • Copy Customizing for System Monitoring

    Hello!
    I am about to set up the system Monitoring for the different business systems.
    I have seen there in Setup System Monitoring function "Copy Customizing"...
    Can I copy the predefined Alerts or also the user defined such as from Tcode RZ20?
    What is the procedure to copy the alerts from one system to the another?
    Thank you very much!
    regards!
    Thom

    Thank you!
    I have got a realy good SAP Tutot regarding this issue..
    regards

  • Error  while posting customer and vendor documents

    Hi
         Iam trying to post the entries in f-22 and f-43,its displaying that *No values for this selection* at account filed,
    I reconcile the customer and vendor accounts in fs00
    I assigns the account no's to customer and vendor master records
    Thank you.

    Hi Shilpa,
    Create Reconciliation account for customer using
    T-code: FS00
    in control data select as Reconciliation as customers
    and Field status group as G067
    and assign the same reconciliation in customer mater data
    Best Regards
    Ashish Jain

  • Restating of Customer and Vendor Documents

    Dear All,
    Kindly clear some of my doubts related to restating as of year end-
    What is the procedure for restating vendor and customer accounts as on 31.03.11 if any of the foreign currency transactions are outstanding as on year end? ((This may include both invoices as well as advance payments. The vendors
    invoices may include bills accounted on different exchange rates which are unpaid as on 31.03.11 to be restated as on year end exchange rate))
    Also pl clarify the below points.
    Where we have to update the year end exchange rate in the system and whether the system will restate all the documents which are in open items as on 31.03.11.
    And,
    Whether the restated document will be reversed in the next financial year.
    Regards,
    Prashant Goel

    Please check the below path to create a valuation method and area and their assignment
    Financial Accounting (New) >General Ledger Accounting (New) > Periodic Processing > Valuate
    You need to maintain the exchange rate type in valuation methods step and exchange rates have to be maintained to this type in OB08.
    System posts the Fx unrealized differences at year end and next year first date same can be reversed as these are just unrealized.
    Rgds
    Murali. N

  • Customer and Order import via CSV (webshop to Business One Import)

    I have an Oscommerce website that is currently processing around 200 orders aday.
    Its a ballache to say the least to create 200 customers and then create 200 orders.
    The website can export the orders in a csv file (Im sure all be it with the wrong fields)
    Does Business One have the ability to batch import customers and orders? can someone give me a pointer of where to start looking.
    Also to start me off, if it is possible, would I have to create the customer accounts first and then import, or can it all be done with on import combined
    Thanks
    Tim Guy

    Tim Guy,
    Yes. You can use DTW (Data Transfer Workbench) to import via CSV files.  You need to files one by one.  One is oBusinessPartner for Customer accounts. The other is oOrder for Sales Orders.
    Thanks,
    Gordon

  • Tracking "Draw document wizard" via SDK for Copying details 1form to other

    hi all,
               is it possible in SAP B1 to use copy from button in User defined form via SDK and use the Draw document wizard.
    let me explain.
                  we have two User form , one Request Form and other Completion Form. we have kept a "Copy Form" button in Completion Form, is there any possibility to copy the required data from the one Request Form to the  Completion Form using Draw document wizard.
    which we can see in GRPO in SAP B1.
    kindly revert back with a solution, its very urgent
    regards
    sandip

    Dear Sandip,
    Going by the description here, I could suggest you a way around of keeping the required(from Form Request ) data in a temp storage like variables etc and then to use those variables in the new form (Form Completion).
    Regrads
    Arshdeep

  • How do I cancel the distance between the numbers? I'm having trouble copy phone numbers from the phone book and send it via SMS This problem I've found in the Arabic language, numbers appear in reverse Please help System 6.0.1

    How do I cancel the distance between the numbers?
    I'm having trouble copy phone numbers from the phone book and send it via SMS
    This problem I've found in the Arabic language, numbers appear in reverse
    Please help
    System 6.0.1

    MPEG-4 should not be used in FCP unless it is converted first or optimized in the application.
    Trash your preferences. Trash your project render files. Switch off background rendering. Do not re-render. Export your projects.
    Ignore the last frame and first frame indicators.

  • Post Customs Document via /SAPSLL/API_CUSTOMS_DOC_CREATE

    Hi Gurus,
    We are trying to post Customs document Via FM /SAPSLL/API_CUSTOMS_DOC_CREATE. Is there a better way to post Customs document via program/manually?
    can any one provide a sample program to create/change Customs document via program?
    Regards,
    Abhi.

    HI Abhshk Bhatta,
    do you have any experience with the connection of a non sap system to sap gts?
    my idea is to use to call this function module e.g. via a web-service and post the customs declaration into gts....
    what do you think - may that be possible?
    regards,
    Ralf

  • Difference in currency  between customer order and accounting document

    Dear gurus,
    While I am cretaing customer order SAP calculates currency from Exchange Rate="B" at OB08 screen. This situation results because of Currency type in customer master data. But in the accounting document SAP calculates currency from Exchange Rate="M" at OB08 screen. As a result; this is causes problems.
    I want SAP to calculate currency which is  entered in customer master data. It might be M,B  etc.. According to the CUSTOMER.
    How can I fix this issue?
    Thnks regards,

    Hi,
    This is a complicated scenario.
    There are 3 currencies involved in any transaction
    Document currency (from customer master)
    Condition type currency (from condition record)
    Local currency (Currency of company code )
    During account posting in FI, the document currency will be converted into local currency and posting in local currency will be made. Also there is a posting in document currency also. For the conversion between document currency and local currency, by default M is used. For other exchange rate types, it should be enabled by means of user exits in sales order or invoice. The exchange rate which is available in invoice for this conversion (doc currency to local currency) is copied to acctg documnent. It is not freshly calculated in accounting document.
    Conversion from customer currency to document currency happens either through M or through the customer master exrate type.
    Now you decide how you want to handle the scenario. Customer currency to document currency can be done as  per the customer master you maintain. But if you want to convert document currency to local currency (provided customer currency and doc currency are same), then only M will be used in standard.
    If you are in a scenario where all the 3 currencies are different, then the way by which the system calculates the exchange rate is through an indirect triangulation process, which is little complex. In this case, it will use only one exchange rate type. Hence this scenario in your case will have problem. If you test all these scenarios, you will come to know.
    We faced this problem an year ago and then finally realised that it is not possible to use two xng rate type in one SD cycle. This is because the exchange rate type is stored in VBAK, VBRK and so on and hence it is not possible to use two xnge rates or the rate maintained in customer master throughout the cycle. The sales transaction is controlled by Cust master and FI transactions are controlled by M

  • Customer invoice doument and cancelled document are showing under openitems

    Dear All,
    I have created customer invoice in VF01 and cancelled the invoice in VF11.
    1.System is showing Invoice document and cancelled document under open items list in FBL5N customer line items.
    A. Is this correct?
            or
    B. When we cancelled the invoice document it should automatically go to cleared items list?
    Kindly provide me what is the correct?
    Thanks & Regards,
    Saisri.

    Hello,
    Once you cancelled the invoice document then you have to clear manually those items in tC: F-32. If you are not cleared then system will show you as open item. After cleared in F-32 then status will change from Open to Close.
    Thanks
    Para

  • PO from SO via DI API:Base document card and target document card do not ..

    HI All,
    I am trying to create Purchase Order from Sales Order. This is possible by GUI (on Sales Order on logistics tabs Click On Purcase Orders CheckBox.
    I got the error message: -5002-Base document card and target document card do not match.
    The message itself can be understandable, because the Customer and Supplier has a different CardCode.
    I am sure I am using a correct code
    oPo.Lines.BaseType = BoObjectTypes.oOrders
    oPo.Lines.BaseEntry = sDocEntry
    oPo.Lines.BaseLine = iLineNum
    Where oPo is a Purchase Order document.
    sDocEntry is a Sales Order docentry and iLineNum is a Line number of Sales Order
    For other A/R to A/R and A/P to A/P documents are working fine.
    Has anybody found this error or has anybody created application like this?
    I am using sbo2007PL46
    Regards,
    J.

    Hi guys,
    this is still on the suggestion page:
    Link existing Purchase Orders to (Sales) Orders via DI API : View Idea
    I tryed with 9.1 PL 4 and it didn't work.

  • How to send a copy of a document via Gmail?

    Hello,
    After the update to iOS 8.1, I can see the option to send a copy of the document via email. In my case I was able to send the document via Yahoo mail app installed on the device. However, I cannot send through the GMail app installed. I am not using the Apple Email application in this case.
    Could someone help me?

    I have found that the best way to send websites or set them up is to do it in an organized way.
    When you're in Dreamweaver, you set up a site as a folder on your local hard drive and everything should be stored there.
    Windows and Macs both have "user" areas and your "user" would be you. If you created a user file with your Adobe handle, it would be "iwontbuythis."
    So, within "iwontbuythis" you have folders, such as "Documents" and "photos" and so on. In my user area, which is "Mark," I created another folder called "Sites." That's where my websites I create in Dreamweaver go and I have an "alias" or "shortcut" on my desktop to that.
    Whenever I create a new website, it's in a folder underneath "Sites." So my website for my company, Hollis Internet Marketing, LLC, is in a folder under "Sites" called "HIM."
    If I need to send that website to anyone, I simply zip up my "HIM" folder and send everything within it. If it's too big for an email, I use Dropbox, or I place it on my server for download.

  • Client Copy and System Restore query

    Dear All,
    I have few major doubt regarding client copy and system restor.
    1. In my Quality system there are 2 clients: 100 and 200.In my PRD there is only 1 client 300(other than the standard default clients). My doubt is during remote client copy with SAP_ALL profile from PRD to QUA why the space increases only in MB.
    I have been asked the same question by my management. They are saying PRD is 300GB and QUA is 220GB then why the space increases in MB though all data is copied in client 200(QUA) from client300(PRD)
    2. If I delete client why the space is released in MB. Because according to them it should be in GBs.
    3. Now my third query is I have to restore PRD backup in QUA.So I said that this requires same <SID> and Same sapce in the sapdatafiles(OS is HP-UX 11.31 and DB is Oracle 10g).So I have to explain them why these two things are contradary to each other. In case of client copy space required is only in MB and in case of System restore of PRD in QUA sapce require is in GBs.
    Your suggestions will be highly obliged.
    Regards,
    PG

    1. In my Quality system there are 2 clients: 100 and 200.In my PRD there is only 1 client 300(other than the standard default clients). My doubt is during remote client copy with SAP_ALL profile from PRD to QUA why the space increases only in MB.
    Response > Because during client copy your customizing and other objects are copied.
                        The database structures,tables etc are already present.
    2. If I delete client why the space is released in MB. Because according to them it should be in GBs.
    Response > Since client deletion is not same as deleting database /customizing tables .If you delete complete dataspaces/tables then there will be sizeable difference.Similar logic as Response 1
    3. Now my third query is I have to restore PRD backup in QUA.So I said that this requires same <SID> and Same sapce in the sapdatafiles(OS is HP-UX 11.31 and DB is Oracle 10g).So I have to explain them why these two things are contradary to each other. In case of client copy space required is only in MB and in case of System restore of PRD in QUA sapce require is in GBs.
    Response > Since in a system copy you will copy data files (which includes tables,and all otehr strucutres ) hence the size required will be similar to PRD.

  • How do I highlight and copy material from one document to another by using keyboard commands? The tool bar is not appearing as it typically does.

    How do I copy material from one document to the next by using keyboard commands.  I am copying from Word into and external database and the external system seems to be covering my tool bar from which I would typically click editing shortcut commands.

    Highlight what you want to copy, then command - C. To paste, select where you want it to go, then command - V.

Maybe you are looking for

  • Click the lock to make changes is not working. Lion 10.7.2

    I cannot make any preferences' changes that require clicking on the lock. When I try to click on the lock it simply does nothing and remains locked. I've tried doing a permission repair using disk utility and I cannot create another admin account bec

  • How to send files stored under Oracle AS - Portal as a attachments to mail?

    Hi, Our Client using Oracle APPlication Server Portal 10.1.2 for data management and employee portal purpose. our users used to attach or store the files/documents in Portal i.e. like a file item. They want to send some selected files/documents as at

  • XL reporter expert question

    I am trying to produce a stock item Quantity consumption report with XLR and I am choosing the Sales AR  and Sales Credit Memo type of transactions. The problem I find is in choosing a light dimention field that will give me the Item Stock Quantity p

  • Problem in generating the output

    Hi, I am new to Oracle XML.I'm using Oracle 10g(10.1 - 10.2) as my backend DB. I have the code below. Its purpose is to display the following values: for id_number: 1 2 for first_name: JOHN MICHAEL CREATE OR REPLACE procedure parse_CLOB1 as l_clob CL

  • CCMSETUP not updating on SCCM 2012 SP1 CU3/CU4 primary site

    I have a SCCM 2012 SP1 CU3 primary site and i can't upgrade the local installed SCCM Client. The error I get in ccmsetup.log is: <![LOG[MSI: Setup was unable to register the CCM_Service_HostingConfiguration endpoint The error code is 80041002]LOG]!><