Modify BP in CRM using Idoc type BUPA_INBOUND_MAIN_SAVE_M03

Hi,
I want to modify(add) a new role to an existing BP in CRM.
I am using the Idoc type BUPA_INBOUND_MAIN_SAVE_M03 for the same.
The problem that I am facing is that even though I am wanting to modify the BP, whenever this IDoc is posted the existing roles (seen in table BUT100) for the BP get deleted and the  new role is added through the interface.
Please can anyone assist me as what is going missing in the filling the segments.
Regards,
Taher
the segment structure is as below.
BUPA_INBOUND_MAIN_SAVE_M03
E101BUS_EI_EXTERN             
  E101BUS_EI_HEADER
        E101BUS_EI_INSTANCE
    E101BUS_EI_CENTRAL_DATA
        E101BUS_EI_ROLES
            E101BUS_EI_BUPA_ROLES
                E101BUS_EI_ROLE_DATA
                E101BUS_EI_ROLE_DATA_X

Hi,
I figured out the solution to this.
Get the existing roles for the BP using the FM BAPI_BUPA_ROLES_GET.
Append the existing roles along with the new role that is required to be added.
the task type should be I (Insert).
When the Idoc is posted the existing roles do not get overwritten and the new role is added.
Regards,
taher

Similar Messages

  • PO Delivery date change using IDOC type "PORDCR101"

    Hi All,
    I am trying to create a PO using idoc type "PORDCR101". Everything is fine, PO is getting created. But the problem is that, even if I pass delivery date at item level system is automatically changing delivery date to future date (some of the PO's have delivery date in past and they need to be created as it is).
    I am populating all the required fields (PO_ITEM, SCHED_LINE, DEL_DATCAT_EXT, DELIVERY_DATE, QUANTITY, STAT_DATE) in both the segements "E1BPMEPOSCHEDULE" and "E1BPMEPOSCHEDULEX" (in this segement with X). It's updating the quantity exactly with what I am passing, but it's not considering delivery date. But when I am creating PO manually using ME21N I am able to set delivery date to past date.
    E1BPMEPOSCHEDULE
    PO_ITEM=20
    SCHED_LINE=0001
    DEL_DATCAT_EXT=1
    DELIVERY_DATE=20060509
    QUANTITY=101584
    STAT_DATE=20060509
    E1BPMEPOSCHEDULEX
    PO_ITEM=20
    SCHED_LINE=0001
    PO_ITEMX     =X
    SCHED_LINEX=X
    DEL_DATCAT_EXT=X
    DELIVERY_DATE=X
    QUANTITY=X
    The funny part is IDOC is not even thowing a warning message for this...
    Any idea what I am missing???
    Thanks for your time.
    Paul
    null

    Ok, I got the answer. For delivery date category (DEL_DATCAT_EXT) we should not be passing 1, but we have to convert it into 'D' (And relevant format for others).

  • Error while creating an outbound idoc using idoc type delvry02

    hi,
         i getting the following error while creating an outbound idoc(outbound shipping notification) using message type " DESADV" and IDOC TYPE " DELVRY02"
    ERROR:
                " SPECIFY EITHER ADDRESS NO OR ADDRESS HANDLE"
    MESSAGE NO: AM053
    Help would be appreciated.
    regards
    leo

    The message is kind of self-explanatory. It seems that some address (delivery address ?) is required but is missing from the IDoc. If it's a syntax error, then the segment with error will appear in red in WE05 transaction.
    It is also possible that you have filled some field that you should have left blank and now SAP is trying to find an address based on that field.
    Check your IDoc contents. It's really hard to tell from the distance since the requirements and configuration could be very different in different systems. Sometimes the OSS note search by message ID and number is also helpful.

  • ERROR IN CREATING SALES ORDER,USING IDOC TYPE ORDERS05

    I am using exit to write my code for creating sales order of IDOC Type ORDERS05 and order type ZDRX.
    IF I proceess the Idoc in background each time error message comes
    FIELD kuwev-kunnr(ship to party)is not an input field.
    but if i run in foreground in debugging mode,sales order is getting created..
    please suggest something.

    If thats not working..
    try BAPI_SALESORDER_CREATEFROMDAT2
    If BAPI is not working. try creating a bdc for the same if there's not error on trying from VA01

  • Cross-company code functionality using Idoc type FIDCCP02

    Hello,
    I have a problem I need to use an IDoc to create incoming invoices from a legacy system, but there are 2 functionalities that need to exist.
    1.-  Extended withholding taxes. 
    2.-  Cross-company code. 
    I have been using the basic type FIDCCP02, because it was easy to use extended withholding taxes.
    But now the functional team requested us to implement the functionality “Cross-company code”. 
    I did some test using ACC_INVOICE_RECEIPT03, where just specifying 2 different company codes at item level, SAP will create 2 different invoices one for each company code) , 
    The problem here is that I need both functionality, but only use 1 Idoc type.  Do you know how can I solve this problem??

    Imelda ,
    I am also trying to use FIDCCP02  Idoc for Cross-Company code functionality , and we are not able to do it ..
    I saw this message in SDN  posted by you last year but it was not answered , hence was  wondering if you were at some point of time able to get any answer on this one OR did you find any solution by yourself on this issue.
    I would also like to use Cross-company code functionality using FIDCCP02 , so please let me know if you have anything on this one .
    Would appreciate your reply .
    Thanks,
    Ashutosh Chitrao

  • Picking not done for a serialized material using Idoc type SHPCON/DELVRY03

    Hi All,
    I am using Idoc of type SHPCON/DELVRY03 to do the picking for an outbound delivery.
    The value 'PIC' is populated in the qualifier of segment E1EDL18 . In order to update the batch number of the material in a delivery the qualifier of segment E1EDL19 is populated with value 'BAS' .
    To update the serial numbers for a serialized material in an outbound deliverfy , BDC for transaction vl02n is used. Also the segment E1EDL24 is populated with material no. POSNR and other details , then segment E1EDL11 is having the value of serial no.  Similarly for other serial number there is one more segement E1EDL24 with same material no. but  E1EDL11 with other serial number.
    The issue is that after the Idoc is successfully processed , picking quantity is updated only for one serial number for a serialized material of the outbound delivery. The picking quantity for other serial number is not updated . Initially the delivered quantity for the serialized material was 2  but after processing the Idoc the picking qunatity updated is 1 ( for one serial number only ).
    Please provide any pointers on this.
    Thanks & Regards,
    Tanushri.

    The firs thing I would do is verify the config.  Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model.  If everything looks ok, place break-points at the following locations:
    In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP.  This subroutine reads the filters from the distribution model.  Verify the values in internal table RECEIVERS_AND_FILTERS are correct.
    In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES.  This function should return the filtered results.  IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.
    When you run BD21, you should hit these break-points.

  • How to Modify Search for Leads using Date types in the Assgmnt Block Date

    Hello Experts,
    I have a requirement to modify the search for Leads using Dates in the Assignment Block Dates and using the Posting Date of the transaction.
    Any ideas?
    Thank you in advance,
    Justin

    If you look at the grants, you'll see that there are over 170 objects from the FLOWS_030000 granted to PUBLIC:
    SQL> select count(*) from dba_tab_privs where owner= 'FLOWS_030000' and grantee = 'PUBLIC';
    173
    If we were go grant these privileges to a role, called APEX_APP_RU, and grant this role to APEX_PUBLIC_USER and any schemas an application is linked to (Workspace to Schema), would that be a workable solution?
    The only problem I see right off hand that this might not work is that PUBLIC has synonyms created for the FLOWS_030000 objects. If we revoke the underlying privileges, because of the synonyms, this might not work.
    SQL> select COUNT(*) from dba_synonyms where table_owner = 'FLOWS_030000' and owner = 'PUBLIC';
    176
    Does anyone else have any ideas?

  • IDOC type CRMXIF_ORDER_SAVE_M in CRM thru LSMW to create Service Contracts.

    Hi All,
    I am trying to create Service contracts using IDOC type CRMXIF_ORDER_SAVE_M in CRM thru LSMW.
    I have a mapping issue of the file fields to the segment fields;
    I have 5 files, Contract Header, Items, Dates, Partners, Objects(Serial numbers);
    I Appreciate if you send me the mapping details for me if some one has already done this please;
    or any otherhelp on the notes/documents are highly appreciated
    Thanks
    Iver

    hi, do you mean the problem is in the file resource file, and you want to use it in LSMW?
    If so, I have meet the similar problem,  two source file inbound into LSMW. one header , one item
    And I solve it in this way,
    combine the 2 file before lsmw read it, like this
    Header data 1 /   item1
    header data 1 /   item2
    header data 2 /   item1
    header data 3 /   item1
    header data 3 /   item2
    for each line, the header data is exist, if item is mutiple, the header line can be repeat.
    Then the 2 file combine to one file, lsmw read the combined file
    You need to do some additional logic in data mapping,  mapping the different item  in each loop, but header data once if they are same.

  • CRM-XI integration using Idoc

    Hi all,
    I search document that describes, how to connect XI from CRM using Idoc.
    I`ve found an Description, but using BC.
    which RFC destination type should be use (TCP/IP-Connection Destination type ? or logical Destination type? or ..)
    Which setting I'd like on CRM site ?
    Which Connection parameter I'd Llike ...
    Thanks in Advence.
    Regards.
    Lemin

    Hi
    Go to https://websmp102.sap-ag.de/instguides->mySAP Business Suite Solutions->mySAP CRM
    CRM Learning-
    https://websmp203.sap-ag.de/rkt
    Check here-
    SRM/CRM/XI
    CRM Middleware & XI
    Go to https://websmp102.sap-ag.de/instguides->mySAP Business Suite Solutions->mySAP CRM
    also check
    http://www.sapgenie.com/mysap/crm/index.htm
    http://www.sapgenie.com/mysap/crm/middleware.htm
    http://eai.ittoolbox.com/groups/technical-functional/webmethods-l/sap-exchange-connector-xi-364858#
    http://help.sap.com/saphelp_crm40/helpdata/en/c3/95fc381478ab6fe10000000a11402f/frameset.htm
    For XI
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    BW WITH CRM:
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    Check threads for possible 'error' handling:
    CRM Data source issue with Delta Load( For BW Gurus only)
    Re: Activities : 0CRM_SALES_ACT_1
    Re: CRM Service Contracts : no records with 0CRM_SRV_CONTRACT_H
    Thanks !!
    Questions are welcome here!!
    Also mark helpful answers by rewarding points
    Regards
    Abhishek Agrahari

  • About using FIDCCP02 IDoc type for FB50

    Hi Friends,
           I'm trying to design an Inbound interface using Idoc type FIDCCP02 with MSG type FIDCC1. During testing this IDoc with Tcode WE19 it got processed very well but in tcode WE05 it is showing status as 51 i.e. Accounting transaction not permitted for posting in FI/CO.
          Please Help me out to resolve this problem. Thanks in advance.
    Thanks and Regards,
    Vivek K.

    There are two things that needs to be done to achive this
    1. Maintain Cross Company code information through transaction 'SALE'>>Modelling and Implementation Business Process>>Cross Application settings >> Global Organizational Units >>Cross-System Company Codes
    2. Maintain suitable value for GLVOR in segment E1FIKPF. For eg: RFBU. You can take FI functional consultant help.
    This problem gets resolved. Though I am giving you this reply late and I know that I may not get points but whenever anybody searches for this thread they get the answer.
    Regards,
    Suraj Kumar P

  • Which IDoc Type and Message Type to use for Credit Memo?

    Could you guys please tell me which IDoc type and Message Type to use for Credit Memo? Also if possible tell me the process code/ function module.
    Will certainly give points for right answer. Thank you for reading.

    Hi,
    You can use IDoc type FIDCCP02 with message type FIDCC1/FIDCC2 for Credit Memo.
    Also you can use this FM FI_IDOC_CREATE_FIDCC1/
    FI_IDOC_CREATE_FIDCC2 to generate the IDoc.
    Regards,
    Ferry Lianto

  • Test Outbound Idoc type DELVRY01

    Hi all,
    We've a client who is presently using idoc type DESADV/DELVRY01 for sending Orders outbound.  They want to modify the existing output data, which I've deduced I can do by using an existing user exit (. 
    But when I use WE19 to test the outbound process, ALE is not stopping at my break-point.   Can any tell if I'm doing anything wrong with my testing process?  How can I get the outbound idoc to stop?
    Points rewarded for useful answers.
    Cheers,
    Steve

    Hello Stephen,
    WE19 is for testing for Inbound IDOC..
    If you want to test Outbound IDOC ,you need to create delivery or change the delivery in VL01N or VL02N Transaction.
    Here you need to give correct output type like Delivery transaction output would be LD00 -> you can find out Delivery Output type in NACE Transaction.
    GOTO NACE -> select V2 Application -> Click on output type -> here you are able to see all output types
    if you don't find output type then contact Functional guy.
    once you create delivery it will create IDOC ,you can IDOC Status in WE02 Transaction.
    if you want to debug IDOC then follow below Steps :
    goto delivery transaction -> when you create delivery ,please modify output type -> extras -> header -> output type
    here see the further data -> select peridocally scheduling.
    now come to RSNAST00 Program
    enter delivery number as object number
    Application -> V2
    Output type -> enter delivery output type
    Medium - A (ALE)  ,6(EDI)
    Now you are able to work on debugging
    Thanks
    Seshu

  • Add new Item in VL02n using idocs - delivery returns

    Hello Experts,
    I am using idoc type DELVRY03. I need to add a new line item while changing the outbound delivery (vl02n) "USING the IDOCs only"  and not by adding it manually in the outbound delivery change (vl02n).This item does not prexist in sales order. Instead, after triggering the idoc type DELVRY03, i need to see this new item in vl02n.
    I am unable to get proper qualifier to "ADD" new item in any segments of DELVRY03.
    Any help would be appreciated by rewarding points.
    thanks
    Harikumar Ganti

    Hi.
    Could u solve this problem?
    Im trying the same with idoc DELVRY03 message type WHSCON and I can't add a new item in the delivery.
    Thanks a lot!!!
    Regards

  • Vendor confirmation tab update using idoc ORDERS02

    Hi all,
    This is the first time i am working on idocs.
    I have a requirement where i have to update the vendor confirmation tab in ME22n(Purchase order), I am using IDOC type ORDERS02. and i am using segment E1EDP20 to update quantity,date and reference no. This is working fine.
    Now i need to update 2 more fields in the tab i.e confirmation category(EKES-EBTYP) and Date category of delivery date in vendor confirmation(EKES-LPEIN).But i dint find these fields in segment E1EDP20.
    My question is whether these 2 fields are available in any other segment?
    or should i extend the segment  E1EDP20 ?is it the correct segment to be extended...
    Please provide the inputs....<removed by moderator>
    Regards,
    Greeshma.
    Edited by: Thomas Zloch on Feb 22, 2012

    Hi,
    I have a questions for you and that will help me provide better solution .
    a) Is vendor providing you the Confirmation category or are you expecting to get this information from Vendor ?
    There are many points at which this information can be entered in ME22N.
    1. When the Vendor Acknowledege your PO(If the Acknowledgment required is selected) .
    2. When the Vendor request a change in schedule due to his own priorities .
    3. When the Vendor actually does a goods issue and you are ready to do a Goods receipt.
    In all these cases you update the system with confirmation category .In most cases this is the last phase of PO processing where you do the goods receipt and simultaneoulsy update the confirmation category. You are geting the quantity and the date updated from your schedule lines currently and since Schedules lines does not contain the confirmation category you are not getting it in E1EDP20.Confirmation category in most business scenarios is a mere stastical data rather than concrete data like schedule lines.
    Depending on 1/2/3 you should be approching the solution. 1.If you want to update the confirmation category during the Order acknowledgment Use BAPI_PO_CHANGE and call it from the PI or middleware  or(3) if during the Goods receipt then call the Exit of MIGO to get the PO populated if not exit then write a custom program to see all the Goods receipt and update the PO confirmation category accordingly (Remember this is a statstical data ). Although i highly doubt that the confirmation category will be provided by vendor it is the Buyer who will be determining it and that is why it is not there in the Standard Idoc.I shall not prefer the IDOC extension.
    You can have a discussion with your Functional/Customer to figure out the best approcah. Word of Caution : Analyze before you extend an Idoc .
    Thanks,
    Anjaneya .
    Edited by: Anjaneya Bhardwaj on Feb 24, 2012 7:33 AM

  • IDOC type CREMAS01 and address validation for Germany [Error message R5520]

    Hi guys
    We are using idoc type CREMAS01 to create vendor master via an interface. We have a proble creating vendors via the interface when the vendor's country is Germany.
    In table T005, field XREGS (address check with city file) is activated for country DE, and when any value in the address data is not valid, the idoc gets status 51, given invalid address message.
    When creating vendors via XK01 or FK01 with the same address, the system gives option to accept the invalid street name (for example), and that was how many vendors were created.
    We dont want to deactivate the address check for DE, just beacause of one interface.
    Please what can we do so that the interface can bypass the address check, without we deactivating in table T005? My tech team thiinks there are not much enhancements to handle this for the idoc scenario since it uses a BDC.
    Regards
    Fis.

    Guys,
    Anyone got any idea to help?

Maybe you are looking for