Build delay in messages to abap proxy without BPM / mapping

Hi everyone,
The abap proxy is receiving messages from PI, is having errors when receiving big loads of messages via PI.
The proxy lock's a table causing the next message to run in error.
The interface is not using BPM or a mapping.
My question is:
What are the possibilities to configure a delay in PI ? (not using a mapping or BPM process)
The abap proxy need some time to process a message before it receives the next one.
Br,
Roy

Hi,
>>>The proxy lock's a table causing the next message to run in error.
if you use async messages with fault messages correcty you can
restart those abap proxies just like IDOCs - and you can schedulerestarting that too
so this is nothing bad - just schedule the restarting and they will get processed
Regards,
Michal Krawczyk

Similar Messages

  • ABAP Proxy and BPM with message maping

    Hi all,
    I have a scenario like :
    ABAP Client Proxy ( synch )
    ->    BPM  ( to retriggr SOAP call and raise alerts with error and reponse back to Abap client )              
    -> message mapping
    -> SOAP ( synch )
    1. What can be the issues with this scenario ?
    2. How can I return response and excetion back to ABAP client from BPM ?

    >
    > As per design guidelines for consistent processes -
    > we need to do all the error handling and alerts in
    > BPM.
    You mean you are planning to use a BPM for all Interfaces just because someone told so? Why use a BPM when there is no need for it. If you have a Business Process that demands a BPm then yes use it, but for this sceanrio, you can use Fault messages to propaggate the error back to the R3 system, and use the Xi alerts ( without BPM ) if a runtime error occurs etc.
    Is there some Business Process Involved here? What is the exact requirement?
    Regards
    Bhavesh

  • Post user and pass to SOAP Header message in ABAP Proxy

    Hi Folks!
    I'm trying to post user and pass to SOAP Header on an ABAP proxy. I've already read the thread [Consume web service in ABAP proxy with SOAP header|Re: Consume web service in ABAP proxy with SOAP header; and I see that is possible to manipulate SOAP Header but I cannot understand how I work with function module SDIXML_XML_TO_DOM.
    Do I need pass to parameter xml a complete SOAP Envelope? If it is right how can I get the complete xml message to pass to this parameter? I think I don't need the build the xml strucuture as I did on WebAS 6.40, isn't it?
    Thanks in advanced.

    Hi Rafael,
    I would be interested in the solution... could you please post it into forum.
    Thanks and best regards
    Stefan Bosshard

  • Send message with abap proxy client

    I'm trying to send message to XI, but no message in sxmb_moni.
    I have created logical port with LPCONFIG.
    ABAP code
    REPORT  Z_HTTP_SEND.
    DATA:
    * Reference variables for proxy and exception class
      lo_clientProxy     TYPE REF TO ZPCO_MI_COMPANY_OB,
      lo_sys_exception   TYPE REF TO cx_ai_system_fault,
    * Structures to set and get message content
       ls_request         TYPE ZPMT_COMPANY_ID,
       ls_response        TYPE ZPMT_COMPANY_DETAILS.
    *Complete the structure ls_request for the request message.
    *DATA: zmt_id type ZPMT_COMPANY_ID,
    *zdt_id type ZPDT_COMPANY_ID,
    *z_id_tab type ZPCOMPANY_ID_TAB,
    *z_id type ZPCOMPANY_ID.
    *z_id-COMPANY_ID = '3000'.
    *append  z_id to z_id_tab.
    *  zdt_id-RECORD = z_id_tab.
    *zmt_id-MT_COMPANY_ID = zdt_id.
    DATA tab TYPE ZPCOMPANY_ID_TAB WITH HEADER LINE.
    tab-COMPANY_ID = '3000'.
    APPEND tab.
    ls_request-MT_COMPANY_ID-RECORD = tab[].
    TRY.
    * create proxy client
    *CREATE OBJECT lo_clientProxy( u2018LOGICAL_PORT_NAMEu2019 ).
        CREATE OBJECT lo_clientProxy.
    * do synchronous client proxy call
        CALL METHOD lo_clientProxy->execute_synchronous
                 EXPORTING output  = ls_request
                 IMPORTING input   = ls_response.
        CATCH cx_ai_system_fault INTO lo_sys_exception.
    *   Error handling
    ENDTRY.
    Any ideas? Thanks very much,

    Hi,
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    ABAP Proxies uses Webservice and Http Protocols. And if you use RFC it is mainly meant for Sync. call. But Proxies is used for both Sync and Async.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    How do you activate ABAP Proxies? - Activate Proxy
    ABAP Server Proxies - ABAP Server Proxy
    ABAP Proxies in XI(Client Proxy) - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    If u generate proxy for outbound interface then its client proxy and for inbound interface its server proxy.
    In client proxy u can call the method to send messages but u can't modify it but in server proxy its possible to write a user code within the method to execute proxy.
    CLIENT PROXY:
    A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
    SERVER PROXY:
    You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.
    s refer these doc about ABAP proxy ..
    How do you activate ABAP Proxies? - Activate Proxy
    ABAP Server Proxies - ABAP Server Proxy
    ABAP Proxies in XI(Client Proxy) - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    ABAP Server Proxies
    How do you activate ABAP Proxies?
    ABAP Proxies in XI(Client Proxy)
    File to R/3 via ABAP Proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336ea78
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81
    Smarter Approach for coding ABAP Proxies
    regards,
    Surya

  • ABAP Proxy without SOAP adapter in PI7.3

    Hi All,
    We have dual stack implementation of PI7.3 but we do not wish to use the SOAP adapter for configuring an ABAP proxy scenario.
    Is this possible? Is the Javastack only configuration in NW Admin available for use in dual stack implementation also?
    Thanks and Regards,
    Diptee

    Hi All,
    So it essetially means that only the below 2 options are available for ABAP proxy scenarios in PI7.3 for a ABAP+Javastack installation
    - use of SOAP adapter over XI protocol
    - use of conventional proxy configuration of the ABAP Integration Server
    And the only Javastack config cannot be used for a dual stack implementation.
    Please confirm if above is correct.
    Regards,
    Diptee
    Edited by: diptee s on Sep 21, 2011 4:48 PM

  • One src message to multiple IDocs without BPM?

    Hi guys!
    Is it possible to cerate multiple IDocs from one source incoming message without BPM?
    I tried the scenario, but I get following error:
    <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
    <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    Any ideas?
    Thanx a lot!
    Olian

    Hi
    Sorry my earlier link was with BPM.
    refer to this blog by Michal
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Kumar

  • Catching System Error Message in Abap Proxy.

    Hi all,
        I want to know whether it is possible to catch the system error message from SXMB_MONI in proxy scenario's.
        The error i am getting is :
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>403</SAP:P1>
      <SAP:P2>Forbidden</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>Service is not active</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 403 with the description Forbidden Error when sending by HTTP (error code: 403, error text: Forbidden)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Is it possble to catch the above message text.
    Regards,
    Keith

    Hi Keith,
    Check this forums also should be definitely help u..
    Error message handling in Integration Process
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm
    also refer
    Check this weblog once ... sure it will give u an idea..
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    and also go through this
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Regards,
    Sridhar

  • How to send big message one bye one without bpm in PI 7.0

    Hi frnds,
    I have to send a big messages one by one to the CRM, without using BPM.
    Can you please suggest us some way around, the data is going to CRM via proxy and at the sender side we are using file content conversion which we don't want to change.
    Please let me know some better idea and if possible some related example as well.
    Thanks,
    Raj

    Hi,
    You have two options
    1)Split the message and then send
    2)Use Record set per message option in File Sender adapter,there give value 20 or any number..then it takes 20 records at a time will send to receiver.
    BPM is not option,even if you use BPM ,its not going to solve your problem..
    Regards,
    Raj

  • Message splitting 1:n without BPM error : 404   Not Found

    hi,
    is u r server is updated with sps14
    please once check this.. may be this is the problem
    Thanks,
    Madhav.
    Note:points if useful

    hi,
    please go through the limitation of this bolg
    A mapping-based message split will ultimately produce n individual messages, but not until it reaches the Adapter Engine (AE). Inside the Integration Engine (IE), the messages are grouped together and persisted as one bulk message. The bulk message is sent to the AE where it splits the bulk message into individual messages and persists them.
    Restrictions
    u2022  Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC/HTTPmassagee splits are not supported since the IDOC/HTTP adapter is not part of the AE.
    u2022  The target system of the message splits cannot be an integration process.
    u2022  Attachments from the original message are not appended to the messages resulting from the message split.
    now i think u wont be able to send the the 2 diffrent file in diffrent location.both the file cab be sent to be togethre.because when u configure the receiver determination in ID u need to include both receiver service as a receiver.and thus u need to configuer 4 interface determinatio as well as 4 receiver aggrement. this is because you r using the only one IM which containg both the interface.
    regards,
    navneet

  • File 2 Proxy Sync - BPM - Mapping

    Hi Guys,
    I am doing file 2 proxy sync interface. I am getting 2 files from 2 locations. First file contains group of records and second file contains the total records in the file 1.
    File 1:
    File :1
    GroupNo    InvoiceNo     InvoiceDate   InvoiceAmount
    GD2000      XXX            XXXXX         XXXXXX
    GD3000      XXX            XXXXX         XXXXXX
    GD4000      XXX            XXXXX         XXXXXX
    GD2000      XXX            XXXXX         XXXXXX
    GD3000      XXX            XXXXX         XXXXXX
    GD4000      XXX            XXXXX         XXXXXX
    GD5000      XXX            XXXXX         XXXXXX
    GD5000      XXX            XXXXX         XXXXXX
    GD3000      XXX            XXXXX         XXXXXX
    GD2000      XXX            XXXXX         XXXXXX
    GD4000      XXX            XXXXX         XXXXXX
    File 2:
    GroupNo     TotalRecords         TotalAmount
    GD2000       3                            XXXX
    GD3000       3                            XXXX
    GD4000       3                            XXXX
    GD5000       2                            XXXX
    Here, in file 1 GD2000 group having 3 records and in file 2, total records mentioned as 3. If in file 2, GD2000 total records mentioned as 2 then it should stop the process.
    I have collected these two files by using BPM, i need help in designing the mapping for this condition.
    Also advise me, whether i need to write a udf or not.
    Thanks in Advance
    Regards
    Bala

    Here, in file 1 GD2000 group having 3 records and in file 2, total records mentioned as 3. If in file 2,
    GD2000 total records mentioned as 2 then it should stop the process.
    I have collected these two files by using BPM, i need help in designing the mapping for this condition.
    Also advise me, whether i need to write a udf or not.
    No need of UDF...
    Since you have collected the files in BPM....now put a Switsh step in your BPM just after you have collected your Files.
    Put a condition in your Switch Step to check if GD2000TotalRecords = 2......this should be in the condition branch of your BPM and the message included here should be that of File2.....and in this branch put a Control Step with action as Cancel Process....this condition will check if GD2000-TotalRecords is 2 and if yes then then the process will be cancelled...if not 2 then BPM will continue..
    Check this out and let me know.
    Regards,
    Abhishek.

  • ABAP Proxy Inbound message does not call generated method

    Hi,
    we tried to generate a ABAP Proxy for a customer demo. It just should retrieve some data and write them to a database table.
    the generation and activation of the proxy was without errors. If we call the check function the method works fine.
    But if we receive data from XI via the regarding interface it looks as if the execute-method of the generated class is not called. We can see the message in SXMB_Moni, but nothing is written to the db table.
    Does someone have any idea?

    Hi Peter,
    There will be some error in the Proxy Side.
    Check this in Transaction Code-SXMB_MONI of Application System(R/3 etc) not in the XI system.
    There may be some communication(http etc) issues.
    Also check this -
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy
    Hope this helps to findout what is the error.
    Regards,
    Moorthy

  • ABAP Proxy Exception

    Hello everybody i have this error in my sxmb_moni of xi for a abap proxy server receiver:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1</SAP:P2>
      <SAP:P3>EXECUTE_SYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText>Unable to execute the dynamic application call (kernel error ID UNCAUGHT_EXCEPTION, class ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1, method EXECUTE_SYNCHRONOUS)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    any suggestions?
    Regards,
    Julio Cesar

    Hi
    Below is the full details of above links
    For link 4196517?
    Q) Hi All,
    I have got a requirement to raise an exception from existing ABAP Proxy depending on condition. XI consultant created a fault messge type and attached to the inbound interface message type. I have regenerated the ABAP proxy but I cant find any thing in excpetion tab to raise exception.
    Please let me know the solution for this.
    Answers : 1) Go to Sproxy .
    Select the message interface for which you generated the proxy.
    Click on the Structure tab. Do you see any Exception Class generated for fault message ?
    2) Just follow all the steps defined in the below Blog and you will find the solution.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    3) I can't find any exception class there in 'Structure' tab. what might be the problem.
    4) In SProxy ..under the Message Interface you will see Fault Message Type.
    Click on Fault Message Type and check if you can see the fault message type created by xi consultant.
    Also ask your xi team to login to IR and re-activate the interface.
    5) I can't find any fault message type under Fault Message Type. I will ask my XI consultant to reactivate the interface.
    Is this the only problem for this or is htere any other reason for not finding this fault message type in SPROXY.
    6) Ideally the fault message type should be visible unless he has defined Software Dependencies and using MT from some other SC.
    Even if the fault message type is not visible everything could be all right.
    Ask him to check if he selected the fault message type while activating the interface.
    Do update us when you get a reply from ur xi team.
    7) I have checked with XI admin, he said that he created fault message types in Development Xi but R/3 Development refers to Production XI system in exchange profiles. He asked me to change it to XI development in exhange profile settings. So I am searching info on how to set exchange profiles.
    8) The following link will guide you ..
    http://help.sap.com/saphelp_nw04s/helpdata/en/c9/7a1041ebf0f06fe10000000a1550b0/frameset.htm
    I dont think we need to do any changes in Exchange Profile for proxy communication.
    Changing the RFC Destinations (in your R/3 system)- LCRSAPRFC & SAPSLDAPI should solve your problem.
    II) For Link :4147406?
    Q) Hi All,
    We have an ABAP Proxy implemented for posting goods movement and it is calling BAPI function module to post good movement. We have got a requirement that if BAPI returns any error, this error message send back to SAP XI.
    data call proxy
    Legacy -
    > XI -
    > SAP R/3(call bapi)
    <----
    error message
    Please let me know how to send the message back to XI.
    Answers: 1) Refer the following
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    2) you can utilize the fault messages for such an usage -
    Ref:
    Fault messages -
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    3) You have to do Fault message implementation in this case...
    A no. of exception will be there.For any error proxy will catch the exception and will write it in the fault message...so....from r/3 response will go to Xi as Fault message response in case any error/exception occours......
    have look here...
    Fault message implementation.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    4) Please go through it is very useful.
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy --Monitoring for Processed XML messages in ABAP Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy --ABAP Proxies in XI(Client Proxy)
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component --- Service Enable Your SAP Application Component
    5) the file adapter can work only asynchronous, so you cant have a response. You should build two asynchronous messages. File -> proxy inbound and after the bapi call an outbound proxy is called which is sending a second messge to the file adapter.
    6) you can define a synchronous scenario which will include request/response messages.
    send the response back to XI.
    the file adapter supports BE QoS.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    7)I have an interface Z_stock_move(message interface(inbound)) and class z_STOCK_MOVE in that. I have clicked exception tab but not able to add exception there as its not enabled for change.
    Please let me know how to add the exception to an existing abap proxy.so that i can raise an exception when bapi call to goods movenment returns errors.
    Might be useful to U.

  • ABAP Proxy - Error situation

    I am developing inbound ABAP proxy. Using fault message and raise exception, I can safely fail the ABAP proxy without blocking the queues.
    If I want to configure ALERT message to be sent to a email id in  this scenario, how do I achieve this? Can this be done using Alert configuration?  or do we need to use BPM? IF BPM is the only alternative, can anybody indicate the BPM steps?

    Hi,
    if you want to raise an alert from BPM
    have a look at my weblog:
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    but if you want to send a mail from BPM
    use mail adapter then you'll be able to
    configure it very easily (even html mails):
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    - if you want you can also send mail from SAP
    (when you catch the exception)
    - you can also catch the excetpiton and
    send the error to the XI and use the mail adapter from
    there - without the BPM
    there are many possibilities:)
    Regards,
    michal

  • ABAP proxy exception to SOAP fault and vice versa not getting mapped

    Hi there,
    I have these scenario's: ABAP proxy to SOAP (AXIS framework) and the other way around, synchronous, using AAE.
    When declaring the Synchronous Service interfaces we also defined error message types in order to pass system and application exceptions back to the service consumers.
    The behavior we are observing is as follows;
    When an exception is generated on the ABAP proxy, the error message type is correct generated and filled with the corresponding values in the ABAP proxy runtime. However, when the response arrives at the service consumer, it only contains a SOAP fault filled with some kind of generic PI mapping exception information.
    1. Why is the original ABAP proxy exception not mapped/passed into the SOAP response?
    2. What can we do in order to change that situation?
    3. Does it has to do with the use of the AAE - Advanced Adapter Engine or the AXIS framework?
    PS: We have performed a test of the Operation Mapping - OM using the ABAP exception as input and it did work correctly, so the error structure seems to be Ok.
    Many thanks for your replies.
    Edited by: Roberto Viana on Jul 26, 2010 8:30 PM

    Problem was caused by some differences in namespaces between source and target.

  • Problem Mapping to ABAP Proxy

    Hello,
    I Have a very strange error.
    So i send a Message from Java Proxy ->to-> ABAP Proxy.
    The Mapping is a XSLT Mapping.
    The Mapping everthings fine but the ABAP Proxy get and error like:
    Error during XML => ABAP conversion (; error ID: ; ( ))
    ....CREATE_TRANSACTIONS(1)IT_TRANSACTION(1)item(1)OPERATORQUAL(9) Error Text: Data loss occurred when converting 9134408  Kernel ErrorId: CONVT_DATA_LOSS))
    Ok the error is normally not so strange, but in my XML Message the tag OPERATORQUAL is empty. The 9134408 ist the last filled tag for the OPERATORQUAL.
    Why the ABAP Proxy think there is something in ?
    I checked the XML and there is nothing.
    But when the proxy think there is something like 9134408 that the error is normal, because the field has only except only 1 Char Values.
    Any Idea whats going wrong?
    Regards,
    Robin

    Hi Udo whats up ? ,
    Mappings all works fine.
    Problem was that blanks was there in the XML Tag that you can't see in the XML view.
    This blanks came already from Database.
    Know i kill all blanks in XSLT Mapping and it Works !
    see you soon and regard from zagreb,
    Robin

Maybe you are looking for

  • Will appear a new firmware for nokia 5800?

    one question ... will appear a new firmware for nokia 5800 will soon ? Thnx !

  • Itunes wont work after reinstall of osx 10.4.8 tiger

    After doing a reinstall of the os I can no longer open itunes. It says that the application is not available with this version of osx. I've tried to download the latest version and version 6, but neither are compatible. And cannot, for some reason, d

  • A little help re: memory timings.

    Alright guys, I'm a little confused with how the memory timings specified by corsair map to the settings in the BIOS, so if anyone can point me in the right direction, it'd be much appreciated. Corsair state: Cas Latency : 2-3-3-6-T1 Cheers!

  • Some email with attached files can not be received

    email already recieved by my serverhost cannot be downloaded to my computer. It has to do with the attached files. Most of the time large attached files, especially with an Excel file.

  • Role, Page and Application names

    Hi, I have a role name SMS_Sales, pgSales and WD Application SMS_Main. XXX_Sales contains pgSales and pgSales contains SMS_Main. On assigning the role to the user he sees, 1. SMS_Sales 2. pgSales 3. pgSales (again) 4. SMS_Main I would like the user i