Action for just created document

When we add an invoice we want to do an action on the base documents of that invoice we just created.  However these action can only be done after the create.  Thus once weu2019re sure the invoice was added.  How can we catch the event / docentry of the document we just created.  We cannot use the document number as a trace because this can be different when 2 users are making documents at the same time (cfr. B1 message actual document number created xxxx)
Ex.
We make an order (number 25) with 5 rows.
We make an invoice for order 25 for 3 of the 5 rows, when we add the invoice we want to go back to the order and change the setting of an user-defined field.
Please help, u2026.
Kind Regards,

the docnum and docentry you may catch from formdatevent as
Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
        If BusinessObjectInfo.FormTypeEx = "139" And BusinessObjectInfo.ActionSuccess = True And BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD Then
            Dim ooform As SAPbouiCOM.Form
            ooform = SBO_Application.Forms.Item(BusinessObjectInfo.FormUID)
            Dim docentry, docnum As Integer
            docentry = Trim(ooform.DataSources.DBDataSources.Item(0).GetValue("DocEntry", 0))
            docnum = Trim(ooform.DataSources.DBDataSources.Item(0).GetValue("DocNum", 0))
do your action
        End If
    End Sub

Similar Messages

  • Role for just importing documents to workspace

    It seems we need to add users to content publisher role to import document to file system so they can attach them to a cell in planning. That role gives them data source management. Is there a better role for just importing documents?

    Only roles that are available are here User Security Administration Guide
    Yes it is the content publisher role and it allows them to perform data source management. You can raise an SR and request for an enhancement.
    Regards
    Celvin Kattookaran

  • Can I use OCR for just a single image in a text document?

    Hi All
    I have a 37page pdf document that is mostly recognised text. i think this document was created in MS word then converted to PDF. I did not make this document.
    There are images inserted on some pages that are scans from another document. The document has footnotes, page numbers, title, text paragraphs on the pages with the images i want to ocr. I have already used the highlight an sticky note functions for some of the recognised text and don't want them lost.
    I have tried using OCR for the whole document but it doesn't work (renderable error).
    Can I use the OCR function just on a selected image within a document that has renderable text for the most part?
    thanks.

    Read what it says on the ATT page
    http://www.att.com/ipad/?fbid=s18K8c1ujw3
     Cheers, Tom

  • Adobe premiere elements 12 - how to create menu bar action for my inserted image button

    adobe premiere elements 12 - how to create menu bar action for my inserted image button without using their movie menu theme

    forbemag
    I do not think that I am completely focused into this completely, so let us see if the following is going to help.
    You are going to need a base for your button. When you mention "image" button, I am assuming that you are using that term to differentiate between a text button and a thumbnail type button.
    The menus (main and scene) take their origin in .psd files on the hard drive and strict nomenclature and structure for Layers Palatte. And, the buttons on the menus trace back to the menu markers on the Timeline, main menu marker and order of placement of scene markers. The scene thumbnail will only appear when there is a scene marker on the Timeline to which it.
    In view of all that
    Where have you already inserted this "image (button)"...into the Layers Palette of a Photoshop document or other? Is this "image (button)" in a structured Layer Group in the Layers Palette with sublayer groups, text layers, graphic/background layer"?
    Let me give you an example
    If you have a button (with thumbnail) on the main menu and you want that to open to a specific scene in your movie, then you use a main menu marker on the Timeline at the spot that you want that button to target.
    If I am getting closer to what you seek, then please further clarify the DVD navigational envisioned scheme.
    Thanks.
    ATR
    Add On...I did not see the exchanges between us and SG until after I had posted mine. I thought that your discussions were concluded. Please excuse the interruption.

  • No actions for document sets in SharePoint Designer

    Hi,
    I am an SharePoint Online user and I want to create a workflow that copies/moves a document set from one library to an other library/repository.
    The problem is, that I don't have any actions concerning document sets in my SharePoint Designer. There should be an action "send document set to repository".
    I have already activated the content organizer feature. Did I miss to activate a feature? Are actions for document sets included in SharePoint Online?
    Thank you.

    Do the normal move item actions not work?
    The content organiser feature is slightly different. That allows you to use the Information Management policies which might be more appropriate as they let you move documents based on things like the time since last updated + 5 months.

  • How to create a single action for adding a border and signature for portrait AND landscape images???

    i would love to be able to create a single photoshop action for adding a border, plus a signature in the bottom right corner, that works for both portrait and landscape images.
    need i say more?!
    i already have an action that adds a signature in the centre of the border at the bottom of the image e.g. the image below. what i want though is for that signature to be on the RHS and for the same action to work for portrait images as well.
    supplementary info: reason for this is that I want to be able to export 300 wedding images (mix of landscape and portrait images) from lightroom in my pre-selected order (meaning the files are labelled from 001 to 300, ordered according to how the wedding day unfolded) and then use PS to add the border and the signature, in the same place, and for it to work for both orientations.
    i need this to work for full sized exported jpeg images, i.e. i want the files that i give on CD to my clients to include my signature in this manner. so I don't want to copy the initial layer and then reduce the second layer size to leave a border around the second layer.
    i hope i've been clear and that someone can help me here. I think that this sort of presentation makes such a difference to final printed image, and I DONT want to have to go to all 300 images picking out the landscape from portrait ones (although this may be what I have to do and wouldn't really take that long but surely there's a better way!!!!).
    Thanks in advance photoshoppers ...

    It is actually quite easy to do if you have a good understanding of how Photoshop works.  To be able to handle any size Landscape and Portrait you need to scale the document to a known width or height.  Once the document is resized to the width or height it easy.  When yot resize the document you use Image size with resample NOT checked.  Not a single image pixels is changed all the happens is the documents DPI is set to the proper DPI resolution to print that size.  This lets you add a border sized for and document.  You can use Canvas Size check relative and  leatve the anchor point centered and set width and height to 2" this will add 1"on all sides. Use Canvas size a second time move the anchor point to the top center check relative and set height 1" the will add an additional 1" border on the bottom.  You then record a text layer with your Name title or what ever to the top left of the image. Select all ant the align the text layer to the selection to move it to the bottom right.
    Adding a couple of scripts to the action you can make sure there is a background layer so the added canvas will be filled with pixels.  You can restore the document to its original DPI resolution to retain the images print size. Down load my crafting actions package it contains a dozen scripts to be used within actions. There are text file with tips and guidelines additionaly there is one on dealing with document size and includes a sample action set with a watermarking action the can watermark and size image. The Action set is also saved as a text file with additional comments I added my downloads can be found here http://mouseprints.net/Photoshop.html

  • Define Actions for Document Output - Activate / link std. Interactive Forms

    Hello,
    The transactions 'Actions for Document Output' help tells me the following:
    If the processing type External Communication is used for document output using SAP Interactive Forms, the following configuration needs to be done:
    SRM Document (Action Profile)      Form Name            Format
    Purchase Order (BBP_PD_PO)      BBP_PO_ADB       BBP_PO_ADB_PRN
    The interactive forms are available in our SRM system. Still up on searching the forms for f.e. the Purchase Order definition it can not be found. Only smartforms are listed. How come?
    Has the setting in transaction 'PDF-based Forms for SAP ERP' -> 'Activate PDF-Based Forms' got anything to do with this?
    Kind regards,
    Tim

    Hi Jay,
    I tried searching for it where you should link the form with the BUS object.
    Following path (PO): Cross-Application Basic Settings -> Set Output Actions and Output Format ->  Define Actions for Document Output -> Action Profile: BBP_PD_PO -> Tab: Processing Types -> Smart Forms Print -> Search for Form doesn't include the Interactive forms.
    I just realised: I need to add a new entry 'External Communication', would this entry be applicable for all communication methods? Thus fax + print + e-mail? And how did you go about setting it up, i suppose adding an 'external communication' entry next to the smartform entries in the std. SAP BBP_PO would be double (system wouldn't know which 1 to choose).
    Kind regards,
    Tim

  • Automator-creating actions for printing

    I would like to create an automator action for printing in preview. When printing, I have several print profiles set up based on black and white, color, etc. I also send those profiles to different trays when I print to my multifunction printer. For example, I will select a page in Preview, print in color to tray 1. Then perhaps I would select 2 pages and select black and white printing to tray 2 with a double sided copy. What I would like to do is create an automator action/script or whatever that would select the appropriate print settings so I don't need to keep clicking boxes and change settings every time I need to go through a document to print. Any help here would be greatly appreciated.
    G

    To answer your last questions... yes and yes!
    PSE has tools for automatically creating collages. You can also manually create one by adding pictures to a blank template. In either case the pictures will appear on separate layers which you can then individually resize, rearrange, rotate, overlap, etc. You can crop them to whatever shape you like, add effects such as borders, frames, drop shadows, and add text inside or outside the pictures.
    Here is an example I created.

  • Security for creating documents.

    Hello Folks,
    I have a question on security/authorization for creating/accessing documents on the Bex Query level? I would like to restrict a set of users to create/view/delete documents and another set of users to just view the documents and not create/delete them. But currently on our system, anyone can create documents at the query level even if the Info-objects are not configured to be document relevant.
    I played around with S_BDS_D* and S_BDS_DS* and none of them fetched me this functionality. Any ideas and thoughts would be appreciated.
    Thanks in advance!

    Arun,
    Thanks for ur response. From security perspective, how do I enable single document viewer access?
    Danny

  • Creating action for pen tool "add to selection" problem.

    I am trying to quicken my workflow and want to create an action for this instead of right click>make selection>add to selection.   I do this a lot for my job and it gets tedious.  I got an action to work except on little quirky issue. When I did this without using an action, when I clicked "OK" on the dialog box for the "add to selection" area, then I got the resulting marching ants with my intended selection and that pen path would automatically disappear. And on to the next pen path to start it over...All is good so far(except the tediousness Im trying to stop). 
    So the action for this results in the same thing except that instead of getting just the marching ants(as I want), I get the marching ants with the last pen path still showing under that area of marching ants I just had "added to."  I know I can just then hit "delete" to get rid of that pen path and get just my selection, but that defeats my intent on streamlining the process.
    Any ideas on why this happens or a completely different way to do this with as quick of a result as the hotkey I set for this action?
    Thanks.

    It looks like what is needed is some way to deselect all the points on a selected object, while keeping the object itself selected.
    Using the built-in InDesign tools, the way to do that would seem to be: switch to the direct selection white arrow tool (by pressing CMD) as you have been doing. Click anywhere on the path of the object. This clears all selected points while keeping the object selected. Now release CMD to get back to the Pen tool, and add your point.
    If this is too fiddly (it can be tricky to click on the path itself, although the white arrow changes subtely to show you that you're over the path), you can alternatively use the following one line script:
    try {app.selection[0].select()}catch(_){};
    This does the same thing: It deselects all selected points on the current page item.
    To use, copy this line to a text editor. Save with the extension .jsx and place in your InDesign scripts folder. You can then assign a keyboard shortcut to the script, so that it should be very easy to deselect all the points.

  • Impulse trigger to create a time delay of x ms to perform an action for y ms

    Hello all,
    Here is what i'm trying to do:
    I'm measuring an audio signal when a sound level is above a certain value Y (controllable) i need to wait a few ms (around 900ms) to get pass the main sound compound. Yhen i need to filter the next few ms (around 500ms) of data and do a FFT of that part of the filtered data only once until Y is reached again.
    I can do all this with saved data but i'm struggling to do it as it occurs without saving the data.
    I have everything in place i just need to know in general how to use an impulse trigger to a create time delay of x ms to perform an action for y ms.
    Do you have any ideas how i can achieve this?
    Thank you in advance,
    Frederic.

    Hi Frederic,
    I've looked at your program and I have a few questions. What is the purpose of the Two While Loops that simply have a Case Structure that nothing in the false case and a Wait (ms) function in the true case? As it stands if these loops go into the false case then there is nothing to slow down the execution so the will try to run as fast as possible and not give the processor any time for other tasks which may explain why your computer goes so slow whilst this is running. This also applies to the While Loop where the false case says "If its not time to write the measurement file, do nothing."
    I believe that what you want to look at is a Producer/Consumer(data) Pattern, where you have one loop that generates your data (producer), in this case reads in the sound data, and then a processing loop (consumer) that will do the Fat's and log data to a file etc.
    More information about this can be found here: http://zone.ni.com/devzone/cda/tut/p/id/3023
    Hopefully this helps you a bit. Let me know any questions you have.
    James W
    Controls Systems Engineer
    STFC

  • I just updated my OS to Mavericks, as well as my Pages app. Now my previously created documents print out as blank paper, even tho I can see the text on my desktop.The margins have also been altered. How do I fix this?

    I just updated to Mavericks, then updated my Pages App. Now none of my previously created documents print out, except as blank pages, even though I can see the text on the documents, but with altered margins, on my computer screen. How do I fix this so the documents print out normally again?

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • Multiple Posting change notice created for one material document

    Hi All,
    The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create  material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
    The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
    The setting in the movememnt type clearly says that it will behave as it is behaving.
    Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
    Would look forward to your replies.
    Regards,
    Jeetendra

    Thanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
    To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN.

Maybe you are looking for