Creating user defined pay items in a complex PO which will be created from an Approved requisition

Hi,
We want to create user defined pay items in a complex PO which will be created from an Approved Requisition.
User will select the approved Req. through WebADI and update the pay Items which will be uploaded and a complex PO will be created with user defined Pay Items.
Approach 1:
The API po_interface_s.create_documents is running good but there is one issue with this API as below.
When we add user defined pay items to the po_lines_locations interface table against a line they are also getting added to the complex PO correctly.
But the issue is coming when the API is creating default shipment lines and distribution which we dont want.
Is there any way to stop creating the default pay items and distributions?
We only want the shipments we have entered in the po_lines_locations interface.
We can delete the lines from the PO_line_locations and po_distributions base tables for the default lines but that will be the last option to do delete on base tables.
Approach 2:
We can also do the same with the open PO import interface but it is not linking the complex PO to the approved requisition from which it is created.
Oracle mentioned that this is a future enhancement and this functionality is not available in standard PO import prog.
We are trying for Approach 1 so any suggestions/solutions are appreciated to achieve the requirement.
Regards,
Sanket

UDT cannot be created in sbo-common. You may create new db and work with table in this db (but it will be not UDT, but standard sql table), or create new company db only for this purposes and create UDT there.

Similar Messages

  • Include User Defined Language Items

    I am currently developing an app that needs to let users
    define their own editable text for some items.
    I didnt want to include all of these options in the database
    to avoid having a large database and lots of cfquery's so I though
    having them in a file of some sort would be best, and just
    including the file as needed.
    So, having thought that I put a bunch of cfset's in the
    language file and set all these variables, but then I realised that
    someone could put a cfdump in there and have the app spit out
    information that they shouldnt see.
    So how can you let users define language items in a file and
    load them as usable variables, but not allow them to put other CF
    tags in that page?

    Is it possible to use regex somehow to loop over a file that
    contains lines like <varname = 'what you want'> and have
    everything between the '' stored in an two dimensional array with
    the variable name as the name?
    Are there any suggestions about the best way to handle
    this?

  • User defined field:item master

    Hi,
    In item master data, I want to create a user defined field which is linked to an external table wherein the end-user can automatically upload new item master details into the sap appl frm an external table.

    Dear Ayesha,
    As far as I understand, what you would like to do is the following :
    1. A user adds some data into an external table.
    2. The user defined Field in SAP B1 is automatically updated with the data in the external table.
    If you would like to achieve the above, then I would suggest you to use one of the following methods :
    1. DTW to import the tables' content.
    2. Import/export option from Excel
    3. or an Addon created via the SDK.
    If I understood the issue incorrectly, please let me know.
    Regards
    Arshdeep

  • Java user-defined function for mapping a complex structure

    All,
    Hope one of you can help me with this. I have a structure with over 15 fields and would like to concatenate all the fields into one target field and while I do this, I need to ensure that each field is padded with blanks as defined the data type. Can one of tell me if this is possible with a java user-defined function and if so, what type of logic is needed.
    Input_MT
    Field_1  string len=10 "need"
    Field_2  string len=6 "java"
    Field_3  string len=7 "help"
    Field_4  string len=8  "asap"
    etc,
    Output_MT 
    DataOut string  "need      java  help   asap    "
    (for some reason the exact spaces in between the words disappear in my Preview message)
    I have several fields in the input mt and therefore I find graphical mapping using concatenate and my own user defined function padWithSpace too messy.
    Thank you for you help.

    Hi,
    If your final req is to write all these fields next each other in a file, you can configure this in receiver file adapter by specifying the fixed length for each field.
    If you want the padded string as your MM o/p, you can create a simple user defined funtion with 15 fields as input and 15 constants for their lengths, and find out the length of the each string and pad it with required no of spaces.
    int max_len = 10;
    int actual_len;
    actual_len = a.lengh();
    for(int i=0; i < (max_len-actual_len; i++)
    a = a.append(" ");
    return a;
    praveen

  • Automatically create POs from all approved requisitions

    I want to be able to automatically create purchase orders from all approved iProc requisitions (but wont have contract or blanket POs to use)
    I can get the suggested buyer added into the iProc shopping cart but want to know best route. Most people seem to have to hack the work flows so that the POs get created.
    I thought about using standard interface table to create the POs but believe that link to the requisitions wont be made (problem with reporting and encumberances)
    Would be interested in recommendations as to the best way to do this
    Thanks

    Do you buy the same items from those 9000 suppliers over and over?
    Do you want to automatically create PO or you want it to be submitted for approval as well?
    You may want to consider setting up the automatic sourcing. This way, the ASL and sourcing rules are automatically created when you create the first blanket.
    http://www.oracleug.com/user-guide/purchasing-overview/overview-automatic-sourcing
    Sandeep Gandhi

  • My user defined menu items not shown up in Main Menu

    Hi,
    I have some my own menu items need to add into Main Menu list, it works fine but only issue is the screen flash lot. Since all the menu items are in the form called "Main Menu" form then I tried to use oForm.Freeze(true) and oForm.Freeze(false) before and after adding menu items. Now the weird thing is though the screen doesn't flash but i can't see the new added menu items in the Main Menu form. But I can see them under the system menu Modules menu. Any idea?
    Thanks!
    Lan

    Hi All,
    After check the SDK help, I found the reason. I need to call oForm.Update() after. Now it works well.
    Lan

  • Hi ... Can someone plz help ... I have purchased items on ebay, and my computer will not proceed from ebay to paypal to chekout (pay).

    I have contacted my internet security, and through remote connection they said there was no problem with that so I should contact Ebay and Firefox. I contacted Ebay and there is no problem there. I know its not my accounts because I am able to check out using other computers and my phone ... Please HELP :)

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    You can also check the network.http.* prefs and reset all bold user set network.http prefs to the default value (network.http.proxy.keep-alive should be true) via the right-click context menu > Reset.
    *http://kb.mozillazine.org/about:config
    See also:
    *https://support.mozilla.org/kb/Resetting+preferences

  • How can I add a link to an item within a workflow email - which will always find the item - even if it's status has changed?

    I've used the method within the SharePoint designer to add a link to the workflow context current item URL, but when the current item status changes then obviously this link will no longer work.
    How can I change this link so that it will always open the item, even if someone has changed it within the list, before I clink on the link?
    This is an important one as over 300 people will use the list and many of these will be emails about items on the list will be in different time zones.  I don't want to have lots of mails from people saying "this list doesn't work" as it's
    critical they keep using it.
    Please help.
    P.S.  I don't know if the <href> method will work, so if someone can confirm to me then that would be great.

    Hi,
    According to your post, my understanding is that add a link to an item within a workflow email.
    I’ m not very clear about the status you said. Please descript more detail which URL do you want to display.
    Per my knowedge, you can display the following url in your email body:
    [%Workflow Context: Current Item URL%]
    [%Workflow Context: Current Site URL%]
    [%Workflow Context: Workflow Status URL%]
    [%Current Item: Encoded Absolute URL%]
    Please start the workflow automatically when an item is changed and changed.
    No matter how you  edit the item or update the approve status, the URLs remains the same.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Click a line in query created from SQ01 - Purchase requisition.

    Hi all,
    my problem is: Tcode SQ01, i've created a query where query's fields are:
    purchase order,
    purchase requisition,
    maintenance order.
    In change query phase, menu Goto --> Report assignment
    i've choosed two standard Tcode:
    IW32
    ME53N
    so that when i click a line of my query and chose iw32 i really can change the order clicked on my query but when i choose ME53n i can only display the last purchase requisition displayed e not that I really clicked on my query!
    So, how can i display the purchase requisition clicked on my query?
    Are there someone help me?
    Thanks a lots,
    Alex.

    Hi Phyllis,
    I face the same problem that Alessandro and I've changed the report assignment to the old transaction ME53. Unfortunately, when I click in the purchase requisition the new ME53N is called instead of ME53.
    Do you have any idea why is this happening?
    Thanks in advance for any help.
    Regards,
    Sara

  • BRFplus: How to create an instance of User-Defined Expression Type?

    Hi,
      I've created an expression type in a System Application and marked its Access Level as Global. I've created a Class & Interface and assigned it to my Expression Type, and activated it successfully.
    Now how do use this Expression Type to create expression in my Customizing Applications?
    Do I have to make any more code changes like extending any more classes or implementing additional interfaces? (I've already created a dummy Query Class and UI class)
    Any documentation or example of how to create a user-defined Expression Type and how to use them will be very helpful for me.
    Thank you & Best Regards

    Well I was going through the PDF documents available on SDN. I came across a document which referred to a document on creating user-defined expression.
    Document Name: [BRFplus XML Export and Import|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20462066-a086-2d10-a999-c9075767ce48?quicklink=index&overridelayout=true].
    The code sample for creating user-defined expression types is available in the How to Create Custom Expression Types document
    Pg. 24
    I had a hard time looking for that document. Couldn't find it though.
    Thank you Mr. Ziegler, now I know that currently there isn't any documentation on User-Defined Expression Types. I'll be awaiting for your  document on this
    Any overview about the steps to be followed in creating a custom expression type, with a few simple steps on how to do it over here would be greatly appreciated. Especially on how to get it seen in the Create Expression Sub-Menu. Also do I have to code a web dynpro for the UI?
    Thank you & Best Regards.

  • How to send a user defined parameter to a web form?

    Hi,
    I4m looking for a solution how to send a user defined parameter to a web form when I start the form from a html-page.
    I think that it should work to add the parameter to the URL.
    Example: I added myparam=myvalue at the end oft the URL
    http://my.server.com:7777/f60cgi?form=myform.fmx&userid=scott/tiger@mydb&otherparams=useSDI=NO&lookAndFeel=generic&colorScheme=teal&myparam=myvalue
    How can I fetch the parameter myparam in forms?

    You have the user the otherParams parameter, which you can specify in the formsweb.cfg file, or override on the url. e.g. http://myhost/servlet/f690servlet?config=myApp&otherParams=myParam=myValue
    In the Forms Builder, in the Navigator window, there is a node called Parameters. Create one in there, and then you can refer to it like a block variable. e.g. if :myparam = 'myvalue' then...
    At runtime, Forms will match up any parameters on the command with parameters defined in your form, and populate them for you. You don't have to do anything.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • User defined message search criteria on ECC

    Hi Experts,
    I have configured UDMS-user defined message search under ECC (for message search in MONI) using T-code: SXMS_LMS_CONF and while defining extractors, I have selected both check boxes.
    1. Extract during message processing
    2. Extract with external Job
    As per my knowledge, 1st option indexes all messages which are processed after we activate filters.
    2nd option is used to index previous messages which are processed before defining filter.
    For me 2nd option is working fine (I can search old messages which are indexed using a program:  SXMS_EXTRACT_MESSAGES).
    But 1st option is not working. I have created filters yesterday and activated also, but couldn't able to trace today messages using user defined search.
    Please help in this regard.
    SP.

    Hi.
    From SAP Note.  1600078
    Solution
    Most problems occur because you use the communication components or partners as the filter criteria in the filter even though you want the system to index only certain interfaces. In this situation, you must always set the components or partners to "*".
    If you specify components or partners, you must consider how indexing of messages runs technically. If indexing is called at runtime, the system executes it at the start of the Integration Engine and at the end of the Integration Engine; this means that the value that the components or partners have at this point is definitive. For example, if you have defined a receiving component, this is not set at the start of the Integration Engine (except in special cases) and this is why the filter does not select the message. It also has no effect at the end because the message contains the receiving interface after the mapping. If you call the test function of transaction SXMS_LMS_CONF, the filter is used on each individual persistent version of the message (the same process as when indexing via a job). If the message is made persistent directly before the mapping, the sender interface exists there and the receiving component or partner is set. Therefore, the filter described above would be active here. As a result, this function is better defined to check the XPath than the filter criteria.
    Check if you put  * in the receiver component.
    Regards
    Lucho.

  • Error after transport: "User defined field Management hanged"

    i have create the document lines table through dot net code ,after creating tables user defined field management set up hanged .if it is possible the re solution please tell me.
    Srinivasan

    Hi S Thirumurugan ,
    You need to create the table using the SDK...if not the User defined field manangement setup cannot open it table will be inconsistant constraint with the table...
    For adding the table through SDK check the SDK Help...
    With regards,
    MadhuSudhana Rao.G

  • User-defined F4 Search - cancel button in the title bar

    Hi,
    I implement user-defined F4 search for my WD application. F4 view comes from another component (as described in the tutorial). Everything is fine, I see that view popuped when F4 is clicked for an input field. My problem is, how to make visible the Close button in the title bar of that popup window.
    I was able to set window's title text, but have no idea how to control those buttons. I only see maximize button which comes by default.
    Also would be nice to create kind of standard OK and Cancel buttons on the bottom bar instead of creating them manually on my view... I've tried set_button_kind(), it works somehow: displayes three empty buttons without icons - need more info about it too...
    Thanks

    Hi Serguei,
    The empty buttons are worth a ticket.
    The behavior for the close button in popups is that the application developer can determine its visibility independent from the buttons in the lower row.
    The second aspect is the action that is triggered if someone clicks that button. There the application developer is able to bind a separate action to that close button. If no action was bound and if a cancel button is visible, clicking the close button will trigger the same action as it would have been the case for the cancel button. A bit complicated, I know. We had to do the latter for backwards compatibility.
    Best regards,
    Thomas

  • DSC - can't acknowledge or clear a user defined event

    I wrote this code for alarms but now I have modified it to handle events.  So, first create the event (create alarm button), then try to acknowledge it or clear it.  There should be a time inserted for acknowledging and clearing.  It does't work.  I have used the exact event URL to acknowledge it.  Please help.
    Thanks
    Matt
    Attachments:
    User Defined Alarms.vi ‏52 KB

    Hi Matt,
    Thank you for attaching the new code, I didn't realize there was a path in that constant since the original box was so small. Part of the problem you are seeing actually lies within that path, you should be locating to \\*\Process Name\UserDefinedAlarm now that you switched from working with events to alarms. Also, you are still using the Set User Defined Event.vi and Read Events.vi, which need to move over to their Alarm counterparts.
    Once you have those changes made, you need to alter the way you are trying to acknowledge the alarms. The problem isn't within logging the time but that the alarms are not being acknowledged at all. If you use the Read Alarms.vi and then wire the "alarms" output into the acknowledge function then it will acknowledge all of the active events (you may have to change the acknowledge type to Alarms). If you only want to acknowledge a single alarm at a time then you will need to trim down that cluster to focus on your selected alarm.
    Finally, the way you are logging to the multicolumn listbox is not functioning correctly. I would suggest you look at the DSC Alarms Demo example (Help » Find Examples... » Toolkits and Modules » Datalogging and Supervisory Control » Alarms and Events » DSC Alarms Demo.lvproj). In that example there is a subVI, which is not part of the Alarms & Events palette but probably should be, named Format Alarm Data.vi. It is used in the first three examples under that project and should work better for logging all of your alarm interaction than searching through the database.
    Regards,
    Peter W.

Maybe you are looking for