Confirmation of messages in BPS - possible in FOX?

Hi Marc / Gerd,
We have done confirmation in ABAP Exits before but wanted to check if there are any options to request confirmation message Y/N in FOX formula.  The only solution I have though of so far was to do a EXIT function and the FOX formula and put it in a sequence but cannot guareentee 100% that we can skip to FOX if the confirmation is negative. 
Any other tips and hints would be appreciated
Thanks,
Mary

Mary,
here's who to do it. Create an exit function. In the init module call the popup for confirmation and store the result in a global variable. In the exit module evaluate the result and if the answer was "yes" use CALL FUNCTION 'UPC_FUNCEXEC' to execute the FOX planning function (or any other type of function). Now since the called function can change the data, you have to read the updated data from the buffer.
Here's the coding (without the popup logic) using two parameters in the BPS parameter group to pass the function and parameter group that should be called:
FUNCTION /sapcsem/z_sem_bps_funct_exec.
*"*"Local interface:
*"  IMPORTING
*"     VALUE(I_AREA) TYPE  UPC_Y_AREA
*"     VALUE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
*"     VALUE(I_METHOD) TYPE  UPC_Y_METHOD
*"     VALUE(I_PARAM) TYPE  UPC_Y_PARAM
*"     VALUE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
*"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
*"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
*"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
*"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
*"  EXPORTING
*"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
*"  CHANGING
*"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
  DATA:
    ls_exitp        TYPE upf_ys_exitp,
    l_exit_method   TYPE upc_y_method,
    l_exit_param    TYPE upc_y_param,
    ls_mesg         TYPE upc_ys_mesg,
    ls_log          TYPE upc_ys_log,
    lt_log          TYPE upc_yt_log,
    l_error         TYPE boole_d.
  DATA:
    lr_plarat TYPE REF TO cl_sem_planarea_attributes,
    lr_chalev TYPE REF TO if_sem_chalev,
    lr_kyflev TYPE REF TO if_sem_kyflev,
    lr_chasel TYPE REF TO if_sem_chasel,
    lr_data   TYPE REF TO if_sem_data.
* Get exit parameter
  LOOP AT it_exitp INTO ls_exitp.
    CASE ls_exitp-parnm.
      WHEN 'METHOD'.          " Planning function
        l_exit_method = ls_exitp-chavl.
      WHEN 'PARAM'.           " Parameter group
        l_exit_param  = ls_exitp-chavl.
    ENDCASE.
  ENDLOOP.
  MESSAGE i001 INTO g_dummy WITH
    'Executing planning function' l_exit_method
    'and parameter group'         l_exit_param.
  log_append.
* Call BPS planning function
  CALL FUNCTION 'UPC_FUNCEXEC'
    EXPORTING
      i_area          = i_area
      i_plevel        = i_plevel
      i_package       = i_package
      i_method        = l_exit_method
      i_param         = l_exit_param
    IMPORTING
      et_log          = lt_log
      e_error_occured = l_error.
* Return log entries
  LOOP AT lt_log INTO ls_log.
    ls_mesg = ls_log-s_mesg.
    IF ls_mesg-msgid <> 'UPC' OR ls_mesg-msgno <> '224'.
      APPEND ls_mesg TO et_mesg.
    ENDIF.
  ENDLOOP.
* Now get data that potentially has been changed by the BPS planning function
  IF l_error IS INITIAL.
    lr_plarat = cl_sem_planarea_attributes=>get_instance( i_area ).
    lr_chalev = lr_plarat->r_factory->create_chalev( ito_cha ).
    lr_kyflev = lr_plarat->r_factory->create_kyflev( ito_kyf ).
    lr_chasel = lr_plarat->r_factory->create_chasel( ito_chasel ).
    lr_data  ?= lr_plarat->r_factory->create_data(
                                      ir_chalev = lr_chalev
                                      ir_chasel = lr_chasel
                                      ir_kyflev = lr_kyflev ).
    CALL METHOD lr_data->read
      EXPORTING
        i_enqmode = 'E'
      EXCEPTIONS
        OTHERS    = 1.
    CALL METHOD lr_data->get_data
      EXPORTING
        ir_chasel = lr_chasel
      IMPORTING
        eth_data  = xth_data.
  ENDIF.
ENDFUNCTION.
Regards
Marc
SAP NetWeaver RIG

Similar Messages

  • I am getting the following error message while opening the fire fox browser "sript file:///programe % 20 files/siber%AT% 20roboform/rirefox/components/ref helper.JS:510 in English

    i am getting the following error message while opening the fire fox browser "sript file:///programe % 20 files/siber%AT% 20roboform/Firefox/components/ref helper.JS:510 in English

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

  • MacBook pro will not boot up. Blank screen with message File is possibly corrupted. Checksum does not match etc

    MacBook Pro suddenly will not boot up. Blank screen with message File is possibly corrupt. Header checksum does not match, etc

    Hi s.cheslik,
    It seems your MacBook Pro will not boot properly and it displaying an error message. Based on the information you have provided, it appears your MacBook Pro needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
    Apple - Support - Service Answer Center
    Thank you for contributing to Apple Support Communities.
    Take care,
    Bobby_D

  • What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

    Hi,
    i am connecting a Bluetooth device to my laptop. I notice that Message Analyzer could capture Bluetooth messages only if I am using windows 8? I am using window 7. What driver or software patches do i need to install in my windows 7 laptop, in order for
    the laptop to capture Bluetooth messages, which is possible with window 8?
    Also, i notice that using window 8, i am able to capture Bluetooth message but i am not able to display wireless perfromance statistics such as signal strength, throughput, etc? Is there a way for me to get such information.
    Please help.

    If you look at the link you sent me:Default Trace Scenarios
    http://msdn.microsoft.com/en-us/library/jj659262.aspx
    "Windows 8 Bluetooth (Windows 8/Windows Server 2012 or later) 
    Troubleshoot Bluetooth issues"
    So what about Windows 8 earlier? Not supported?
    My question: What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

  • Authorisation for creator to confirm his messages in support desk

    Hi Friends,
    I have configured support desk functionality where user creates a support message.This message is handled by 1st level support team.If  1st level  is not able to resolve it is sent to 2nd level.
    Also support message can be created by 1st level and 2nd level support team also.
    My requirement is user should confirm his messages only and it should not be done by others.similarly messages created by 1st level support team should be confirmed only by them  so as 2nd level should
    confirm their own messages.
    Is there any way to control these through authorisation.
    Kindly give your valuable suggestions.
    Regards,
    Shanmugam Balamurugan

    Hey Brendan,
    Let me simulate the whole process for you.
    lets assume you have transaction type say T.
    1) Go to spro and find the text determination proc asssigned to T.
    path: SAP solution manager-> scenario specific settings-> Service desk-> general
    settings-> Define Transaction types. Here you find the Text determination Proc assigned to transaction type.
    2) Now navigate to the Text determination proc that you found above following:
    path: SAP solution manager-> scenario specific settings-> Service desk-> Text Determination proc-> Define TEXT types Or Text Ids.
    Reward for usefull answer.
    Revert for any clarifications.
    Regards,
    Anand

  • Posting EDI Order confirmation without message control

    Hi,
    I would like to post a EDI sales order confirmation without message control through z program.
    Please let me know how to do this???
    thanks in advance
    Mukund

    Hi
    This link may be useful
    Re: Re-open EDI - ORDCHG for outbound sales order

  • SXMB_MONI - weird message "Acknowledgement not possible"

    Hi All,
    I Am working on an async scenario of:
    ERP -> IDOC -> XI -> PlainHTTP -> 3RDPARTY
    I have now got the original message doing all that I want it to, I create it in the ERP system, it goes through XI and ends up at the right place. But I had a few problems with Acknowledgements. First off I had the seemingly infamous "Unable to convert the sender service to an ALE logical system" error, but by searching through the forum and some useful weblogs (thanks Michal..) was able to sort this out (still find it far from obvious that a 3rd party system needs an LS..).
    And now my ALE Ack is (seemingly) successfully going back into my ERP system and if I look with Transaction WE05 it says it was processed successfully (code 53, using process code AUD1), plus in the RWB the acknowledgement is shown as having been processed successfully, but SXMB_MONI still shows the icon and message "Acknowledgement not possible" in the list of XML messages, although when I look at the details there are no errors... it is weird and I am tempted to ignore it as it does not seem to be causing any issues but I would love to know why it still displays this message.. any ideas?
    Many thanks,
    Chris

    Hey,
    Thanks Udo, I kind of suspected that it was ignorable but it is always nice to see only green lights and clean messages in RWB... So I will move on.. but am still a little confused though, as to what it means to say that acknowledgements are not supported? I can see that an acknowledgment is being created, sent and accepted back into the Sender system (which suggests a certain level of support for acknowledgements..)
    So does that mean there are further acks that could/should be sent but are not supported? The acknowledgment documentation I have found does not seem clear on this. Perhaps I am getting the Ack from the IS but not from the plain Http adapter??
    Many thanks for your help,
    Chris

  • Uber App Setup- Confirmation Text message

    I am trying to set up the Uber app, but I can't send the confirmation text message. I have heard that it is something to do with the firewall, but I am not entirely sure what the problem is. Any suggestions?

    We want you to be able to enjoy using your device. Uber is a 3rd party application. Please let us know how your Verizon Wireless service is impacting the application. Are you able to use other 3rd party apps?   SheritaH_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • "Cannot send message due to possible abuse"

    This error has resurfaced after a month of plague. I now cannot send any emails from Thunderbird, but can receive. I can send webmail via Yahoo which is NOT what I want. Obvioulsy my email address has got caught up in some wretched spammer and BT are blocking it. Googling the above reveals it is a common problem. Last time I changed my IP address but this did not cure it. Ideas most welcome.

    AllanQuatermain wrote:
    Yes, I'm getting this as well. Anyone know what gives here please? Mod comment would be appreciated.  Thanks.
    "An error occurred while sending mail. The mail server responded:  Transaction failed : Cannot send message due to possible abuse; please visit for more information. Please check the message and try again."
    It is almost certainly a server issue of some form affecting some users. I expect the message is being received due to a strange condition being interpreted poorly by the system.
    It will have nothing to do with Classic or Enhanced webmail or anything to do with that, because that does effectively use a different method - also because it has "just" happened with users doing nothing different, that negates anything to do with it.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Is it possible to create warning messages in BPs?

    Hi all,
    We're currently using Unifier version 9.13.6.
    What I would like to do, unlike a validation rule, is to create a Warning Message based on a pull down field and a chosen Work Flow Action.
    For example, if the Work Order Status Pull Down is chosen as "Complete" and the Work Flow Action is chosen as "Sent For Review", the BP would advance to the next Work Flow Step.
    If the Work Order Status Pulldown is chosen as 'In Progress' and the Work Flow Action is chosen as "Update", the BP record would be updated.
    But if the Work Order Status Pulldown is chosen as "Complete" and the Work Flow Action is chosen as "Update", I want a warning message to pop up to warn the user that "Compete" has been chosen as the Work Order Status, but ultimately allow them to Update the BP.
    Unlike a Validation Rule, which would prevent them from updating the record.
    Any assistance would be appreciated.
    Cheers,

    Not to my knowledge.  I have come across similar situations where after the user has entered a certain combination of data that I would like to provide a warning about additional info the user may/should provide, but which may not be necessary in all cases (hence validation would not work), particularly when the issue is on a detail form.  The formula functions don't handle this level of logic.
    This could be an enhancement, but now we’re entering the realm of scripting the system.

  • SUS Purchase Order Confirmation notification (or alert) is possible ?

    Hello,
    We work on a SRM 5 release with a classic scenario.
    We use the EBP-SUS supplier collaboration scenario (clients are different for SRM and SUS).
    The purchasing document flow is describe below:
    1- SRM Shopping Cart
    2- R/3 Purchase Request (then, SRM SC history is updated with the PR number)
    3- R/3 Purchase Order (then, an IDoc is sent to XI which generates a XML document sent to EBP-SUS in order to create the corresponding sales order - SRM SC history is updated with the PO number).
    4- Then, supplier can confirm or reject the PO received. So, the SUS Purchase Order Confirmation is generated and sent back to R/3 ( via XI)
    5- R/3 PO is updated with the posted PO confirmation (you can see the confirmation control key AB in the 'Confirmation' tab of the PO item concerned).
    My request is to send a notification to the requester's mail client in order to inform him that supplier confirmed or rejected the PO.
    I noticed that notification receivers definition is possible in SPRO, but only for "Process Purchase Order Response". I guess this notification is for BUS2209 (SRM POR) and not for BUS2232 (PO confirmation for SUS).
    That's why i cannot use it: can anyone confirm this ?
    As alternative, i tried to use alert management in SPRO (in the SUS client) for BUS2232 with sub-category of event SRM_SUS_PO_CONF in ALRTCATDEF transaction for SRM Alerts, but it does not work (even if i schedule report RSALERTPROC ).
    Does anyone have a suggestion regarding my customizing ?
    Finally, when PO confirmation is posted in R/3 (step 5 seen above), the SRM SC history is not updated with the PO confirmation number: is this the standard way ?
    If yes and that the described notification (alert) customizing i indicated above are not possible, does it seem i will have to develop a specific notification process in R/3 when R/3 PO is updated with its PO confirmation coming from SRM-SUS ?
    Thank you for your help.
    Regards.
    Laurent.

    Hello Nagarajan,
    >
    >  Looks like your intent is to notify the  Shopping Cart requestor about the PO response that happens in the Back end system!
    > This looks strange but then it is really required if you have a common buyer in SRM and MM.
    >(...)
    Requester being the initiator of purchasing document flow, custumer request is to alert him about supplier POR.
    If i send my notification from R/3, i will get Requester name at R/3 PO item. Then, by a RFC call to SRM, i will get his data to generate my e-mail.
    >
    > The following approach can be adopted:
    > 1.Purchase Oder  Response Message can be pulled out of the XI thro a technical routing into the SRM which will post the Purchase Oder response in the SRM ( SRM PO will be updated)..There could be some issues with the variance POR and the status of the POR but that can be handled..
    >(...)
    I cannot do this: PO does not exist in SRM as we are in classic scenario.
    >
    > I am unsure of the Alert Management.. but I heard there should be a way for that also..
    > (...)
    I carry on checking this solution
    >
    > You can raise an OSS Message for the same pls.
    >(...)
    Don't have time for this and SAP will answer that this is consulting and not support
    I will also verify if i can find a BAdI dedicated to SUS Purchase Order Response and use it to generate my e-mail from SUS client (or maybe some enhancements).
    Regards.
    Laurent.

  • How to send IDoc(Sales Order Confirmation) without Message control

    Hi,
    I need to send Sales Order confirmation,Delivery and Invoice through ALE (IDoc's). I am asked not to use MESSAGE CONTROL or CUSTOM IDoc to send confimation.
    I dont need to send a instant confirmation but i can do it at a specified time intervals.
    Do we have any other possiblity other than the both?
    Can you please give the steps to do, if possible?
    Thank you in advance,
    Gangolu.

    Hi
    This link may be useful
    Re: Re-open EDI - ORDCHG for outbound sales order

  • In Messages, is it possible to see when a person is typing for Google Talk account?

    In Adium, when in a Google Talk account you can see when a person is typing with a little ... indicator, so you know to wait.
    In Messages, that's also how it works with AIM chats - you see a chat bubble indicating the person on the other end is typing.
    But in Messages, when in a Google Talk account I'm not seeing any such indicator, so I don't know whether to wait or if the person has simply gone away. Is it possible to get such an indicator in Google Talk inside Messages? If not, I'll just switch back to Adium.
    Thanks,
    doug

    In Adium, when in a Google Talk account you can see when a person is typing with a little ... indicator, so you know to wait.
    In Messages, that's also how it works with AIM chats - you see a chat bubble indicating the person on the other end is typing.
    But in Messages, when in a Google Talk account I'm not seeing any such indicator, so I don't know whether to wait or if the person has simply gone away. Is it possible to get such an indicator in Google Talk inside Messages? If not, I'll just switch back to Adium.
    Thanks,
    doug

  • BPS: Possible to limit a variable to a single value?

    Hello,
    I have a BPS variable which is available in the planning folders so the user can change the value himself.
    For a planning layout, one and only one value is required, as the system otherwise wouldn't know which value to use when saving data. It is possible though for the user to select both a mix of values and ranges. I see the lowest value is always used. Consequently this is not technically a problem.
    I would like to limit the variable to a single value only, in order to not confuse the users. Is this possible?
    Best regards,
    Christoffer Owe

    Hi,
    The following link tells you about the variable type ;
    http://help.sap.com/saphelp_nw70/helpdata/EN/ac/789b3c4d4d8d15e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/22/1e9b3c334d8c15e10000000a114084/content.htm
    1. create variables with single values
    2.while creating variable tick the setting 'Restriction of values required by user'
    I think that will suffice your requirement .
    Thanks
    Pratyush

  • Error Message Java App Possible Proxy Issue

    I am trying to connect to a java app throught the internet and get the following message:
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at javax.baja.naming.BIpHost$SocketFactory.open(BIpHost.java)
    at javax.baja.naming.BIpHost.openSocket(BIpHost.java)
    at com.tridium.fox.sys.BFoxClientConnection.connect(BFoxClientConnection.java)
    at com.tridium.fox.sys.BFoxSession.connect(BFoxSession.java)
    at com.tridium.workbench.shell.BNiagaraWbApplet.logon(BNiagaraWbApplet.java)
    at com.tridium.workbench.shell.BNiagaraWbApplet.appletStart(BNiagaraWbApplet.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at WbApplet.invoke(WbApplet.java:447)
    This is needed for work but I get this message. From home it works perfectly. My guess is our proxy is blocking something. I have no control over the proxy so I need to knw what to tell our network engineer so this can be opened if this is indeed the case.
    Thanks for any help!

    Just now I uninstalled the Sun Java Studio Creator and deleted all directories related to it, then re-installed.
    I don't know why, but It is just ok now.

Maybe you are looking for

  • Query Issue in Creating a View....Please help me with this query..

    I would like to create a view on this table with four columns 1. PN#_EXP_DATE 2. PN# 3. PN#_EFF_DATE 4. PN# P_S_C     A_C     P     EXP_DT 21698     13921     1     5/29/2009 3:15:41 PM      21698     13921     1     5/29/2009 3:54:57 PM      21698  

  • Plugincheck claims Adobe Reader/Acrobat 10.0.1-nl is outdated; can't find newer version.

    Today I checked the Firefox 4.0.1. plugins by use of: http://www.mozilla.com/nl/plugincheck/ This website claims the: Adobe Acrobat Adobe PDF Plug-In For Firefox and Netscape 10.0.1 is outdated. However when in look at Adobe's website (directed to ht

  • Unable to connect via airport all of a sudden

    Unable to connect to the internet via airport all of a sudden. No changes to modem or router or network settings of macbook etc. Other devices in the house can connect just fine, but called cable support to verify and all is fine on the DSL end. Cann

  • FIFO buffer control in Windows 7 Home Premium

    Hi all. I'm trying to communicate with a CNC mill through a serial port (RS232). I used to run Windows XP but am now running Windows 7 Home Premium. In XP there was an option in Device Manager on the port(COM) under properties where I could set the F

  • Satellite L750-1RV WLAN deactivated after boot or sleepmode

    Hello, last week I deactivated WLAN adapter via Fn-F8. After that I swichted it on via Fn-F8 and it worked again. But after Sleepmode WLAN didn't work. Looking on Fn-F8 it shows "On". Either I have to switch "off" first and than switch"on", or I choo