Open system form and update data

Hi
any body can help me with the code to do the following?
open users form with current user, update the default group and save the record and close the form.
but in hidden mode
10x in advance

Andrea,
To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
step 2. Change the form to Find mode
step 3. enter po number to the Item UID "8" which is the document number.
step 4. Send enter key, or Clikc On button UID "1" which finds the PO
step 5.read the value from SO form, from matrix "38" line where you selected
step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
at step 5, i think you should select a line from SO matrix which you would like to open.
IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
step 1.read the value from SO form, from matrix "38" line where you selected
step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
By processing theses steps, you can build up you solution.
Regards
János

Similar Messages

  • Open system form and select a row number on matrix by click on button

    Hi experts,
    I have to open the purchase order form and select a specific row number from the matrix by clicking a button on sales order form.
    is it possible ?
    can anyone help me to achieve it?
    Thanks in advance.
    Best regards
    Andrea

    Andrea,
    To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
    In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
    step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
    step 2. Change the form to Find mode
    step 3. enter po number to the Item UID "8" which is the document number.
    step 4. Send enter key, or Clikc On button UID "1" which finds the PO
    step 5.read the value from SO form, from matrix "38" line where you selected
    step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    at step 5, i think you should select a line from SO matrix which you would like to open.
    IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
    SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
    step 1.read the value from SO form, from matrix "38" line where you selected
    step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    By processing theses steps, you can build up you solution.
    Regards
    János

  • I have created a form in InDesign, exported to a pdf, created an editable form and saved.  When I open the form and make changes and save, the reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is alway

    I have created a form in InDesign, exported to a pdf, then created an editable form and saved.  When I open the form and make changes and save, then reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is always minus the edits.   ????

    Hi chuck,
    If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
    Can you please send the form to me at [email protected]  so that I can have a look.
    Regards,
    Rave

  • Process Chain : Read PSA and Update Data Target in BI 7.0

    Hello Experts,
    In my Process Chain I have a variant Execute Infopackage to load the data only into PSA. then I have next variant as *Read PSA and Update Data Target*. my data target was a Master Data table Hierarchy
    In the variant " Read PSA and Update Data Target". the selection Parameters were
    PSA.Table : 0GLACCEXT_T011_HIER_BA1
    Selection Object Type : same Infopackage in Varaint Execute Infopackage
    the Error message was Variant doesnot contain a valid combination request/data target
    I checked the PSA-Table using RSA1OLD Transaction then I find four PSA Tables:
    0GLACCEXT_T011_HIER_BA1
    0GLACCEXT_T011_HIER_BA2
    0GLACCEXT_T011_HIER_BA3
    0GLACCEXT_T011_HIER_BA4
    All the requests are linked to PSA Table *0GLACCEXT_T011_HIER_BA4*.
    I can't understand why there exists four PSA Tables?
    I try to link the PSA-table 0GLACCEXT_T011_HIER_BA4 in the variant *Read PSA and Update Data Target and try to save it it raises short dump.
    If I select 0GLACCEXT_T011_HIER_BA1 in the varaint I shouldn't face any problems.?
    but the process chain raises an Error message Variant doesnot contain a valid combination request/data target with this variant.
    How shall I handle this issue?
    Please carify me the issues as soon as possible.
    thanks in advance
    Regards
    sailekha

    Hello,
    In the Variant Read PSA and Update Data Target I have to select  the PSA Tabelle Name from the preselection list in the System it shows me all the four PSA Tables that I mentioned.
    I can select any one of them. So I trieed with all the four PSA Tables in the list but I can selct only the XXXX......BA1 table  then only I can save and  include it in the PC. If I select the remaining tables BA2, BA3, BA4.........while I try to save the Variant it raises short dump.
    I checked the PSA using the Transaction  RSA1OLD under PSA...... I find 4 PSA Tables( I don't know whether they are PSA Tables or not but in the Variant it states that they are PSA Tables) in which all the requests are attached to BA4. only.
    I observed that ony for Hierarchies I find four PSA tables for remaining one only one PSA table was available.
    I totally confused how to handle this situation. any suggestions......... please help me to resolve this problem.
    Thanks & Regards

  • How to get new and updated data into LO Excel in Xcelsius

    Dear Experts,
    I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
    To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
    When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
    I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
    My Question & Doubts:
    1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
    2) Is there any option to automate this process.
    Regards,
    PRK.

    Hi,
    Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
    Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
    You are using the Live Office  so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
    For more information please check the below document for in-depth idea on the design pattern.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
    Kindly revert for more clarification!!!
    --SumanT

  • Connecting to datasource and retrieve, insert and update data

    hi,
    i am doing a JSP page that need to retrieve data and display on textView, insert data and update data. I have already create a datasource in Visual Composer. Does anyone have a sample codes for mi to use it as reference. So that i can connect to the datasource tat i created in Visual composer and retrieve, insert and update data. thanz
    Regards,
    shixuan

    Hi,
    After creating a data source in Visual composer .
    you have to create a BI system that Visual Composer can use in
    the SAP NetWeaver Portal.
    refer this pdf file for further Info
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards,
    Beevin

  • BW 3.5 - Update to PSA only / Read PSA and Update Data Target

    Hi Folks,
    I am planning to use on a  BW 3.5 data source and infopackage that loads to PSA only (as the source system job runs quite long and we would run other prepration loads in parallel before pushed to final cube). And then later in the process chain the process Read PSA and Update Data Target to load the data to final cube.
    As we plan to run the process chain 3 times a day I was wondering if the Read PSA and Update Data Target always takes only the latest request loaded to the PSA (as it is always the same infopackage) or do we have to delete the PSA request at the end of each process chain run so that not the next run will load the PSA request again as it is still in the PSA?
    Thanks for all replies in advance,
    Axel

    You are loading the Delta till the PSA, multiple times a day, and after each update to the PSA you will send the data to the Cube.
    Once its there in the PSA, you are performing further tasks & then updating the cube multiple times (once after each delta)
    Well, the 1st load to the cube should be OK.
    But, from the next load onwards, it would pick up all the requests from the PSA & you will have wrong values in the Cube.
    Because, i think, while using 'Read PSA & Update the Target', you can't set it for a FULL or a DELTA load.
    It will bring in everything that exists in the PSA.
    I would advice you to clean the PSA before the starting next Delta.
    But, there is a counter argument.
    If the data mart sign is reflected in the PSA for the request that has been loaded into the cube, then the next time the system will pick up the request which does not have a data mart symbol.
    You can always give this a try in your Dev system.
    Edited by: Vishal Sanghvi on Apr 1, 2011 1:58 PM

  • Opening system forms without menu

    Hi All,
    Does there exist code to open a system form, like the Production Order, without activating the menu item that calls it?  For example, I would like to open a production order form with a given instance?  The reason for this is that I need to open the form and then load it with a specific production order.  Because it is possible for there to be any number of production order forms open simultaneously at any given time, I need to know the exact form I had just opened in order to load it.
    Is this possible?
    Thanks,
    Mike

    Hi Mike,
    it's possible, I guess.
    But you have to the actual operation of opening form and finding production order by addon.
    You can use 'activate menuitem' clause, first.
    then you should enter the number of the production order which you want to open to the order number field in number field. (you can do it via handling UI items.) then use the 'click' method of the item number "1". it's generally possible. I did it sometimes.
    Hope this useful for you.

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • I opened my form and downloaded the form to post on my website... but the submit button is not working.

    What am I doing wrong? The first time I created my form I used Acrobat and the FormsCentral embedded in the program. The original form was working, but I had to make some changes to it. I can't get FormCentral to launch within Acrobat anymore. I loaded my new form (with the changes) to Forms Central through the browser interface, yet when I open the form and download the form to post the posted form does not work. Help!

    Hi,
    if it's ok for you, people can send a email at your adress, it's enough to use (translated from German-DW):
    Insert -> email link. In my DW it looks lik this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>eMail</title>
    </head>
    <body>
    <a href="mailto:[email protected]">eMail</a>
    </body>
    </html>
    The users click into the word "eMail" your eMail-program wil start.
    Naturally there are som other ways, like this for example:
    <td width="35%"><input id="send" type="submit" name="Submit" value="send" />
    I suggest first try or test the easy way.
    Hans-G.

  • Connecting to datasource and retrieve, insert and update data in SQL Server

    hi,
    i am trying to retrieve, insert and update data from SQL Server 2000 and display in JSPDynPage and is for Portal Application. I have already created datasource in visual composer. Is there any sample codes for mi to use it as reference???
    Thanks
    Regards,
    shixuan

    Hi,
    See this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards,
    Senthil kumar K.

  • IPhoto won't open. Modified and created dates say 12/31/69

    iPhoto won't open. Modified and created dates say 12/31/69.  Help! OS is Tiger. Older G4 Powerbook.

    As a test launch iPhoto with the Option key held down and try to create a new, test library.  Can you?  If you can then your current library is damaged and needs to be repaired.
    Apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download IPhoto Library Manager 4 for OS XC 10.6.8 and iPhoto  8.1.2 and later  or iPhoto Library Manager 3 (for OS X 10.5.8 and iPhoto 7.1.5 and earlier) and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu (iPLM 3) or Library ➙ Rebuild Library menu (iPLM 4) option.
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Finding Plant Creation and Updation Date

    Hi all,
    I just want to find out if it is possible to find out Plant Creation and Updation Date using ABAP statements. Does it get stored in CHDHR or CDPOS and if yes, then what is the object Key.
    Thanks

    Check Report RSVTPROT with table name T001W for Plant changes. I do not think it updated CDHDR.
    You can SUBMIT this report and get back the list in your custom program.
    How to get list back in your custom program refer
    http://scn.sap.com/thread/3147016

  • Open system form on button click

    Hello Expert,
    How to open system form(invetery transfer from) on button click
    Regards,
    Abhinav Lalpurwala

    Hi Abhinav
    Try This.....
    'In Button pressed event
       sbo_application.ActivateMenuItem("3080") 'For Inventory Transfer form
    Thanks
    Shafi

  • It always open system preference and firefox everytime i start my mac

    it always open system preference and firefox everytime i start my mac.
    what should I do to get ride of it?

    When you shutdown a window appears to uncheck the loading of programs when the machine starts back up again.
    Unfortunately one of Lion's annoyances is you have to keep unchecking this box each time as it rechecks itself.
    A hack is to lock a preference file (aka .plist), I haven't tried it.
    Unfortunately, it will recheck itself. One permanent fix is as follows:
    1. Close all apps you don't want to open at startup.
    2. Open your user Library folder. It is normally invisible, so press the Option key while selecting the "Go" menu in the Finder then select "Library" to open it.
    3. Use the Get Info dialog "Locked" checkbox to lock this plist:
    ~/Library/Preferences/ByHost/com.apple.loginwindow.*.plist
    where "~" is your home folder and "*" is a sequence of characters (12 in my case). No need to delete the corresponding lockfile.
    This plist is where the System stores "reopen windows" info, so the System can't change/delete it if it is locked. Works fine for me and others.
    hope it works for you.
    Also look for Lion Tweaks, that also may help.
    Also take a look at my large post here for backup, restore and other information
    https://discussions.apple.com/message/16276201#16276201

Maybe you are looking for

  • How to get multiple measures in measure hierarchy in Essbase Studio

    Hi All, Previously we are using one measure column which will gives the count.Now the current requirement is to get multiple measures in measure hierarchy. For Example Measure Count SalesCount(count*Sales/10) CustomerCount(count*customer/10) In the f

  • How frieght cost can be incorporated in the price of the material ?

    Hi Friends, Requirement is frieght cost should be incorporated in the price of the material .How this should be configured  'Sales Order value greater than equal to 15000,then frieght cost is free '. If it is less than 15000,frieght cost levied.How t

  • F-48 and Withholding Tax

    Hello, I'm trying to setup Withholding tax so that it post when an AP Down payment is created in F-48. I had the Withholding tax to apply at time of Invoice, thinking that this might be the problem.  Now I've changed it so that it's applied at time o

  • Xfce pager

    The pager for Xfce panel (that shows all of your workspaces) shows the currently selected/used workspace as blue. Is there any way to change this? Many thanks.

  • Can I use Oracle SQL Developer to "Move" data?

    Hello, I'm new to Oracle and I'm trying to use Oracle SQL Developer to export data from one table (on server A) to another table (on sever B). I'm able to create a .ldr file but I don't know how to use the .ldr file in Oracle SQL Developer? I would a