Delete partner role via IDOC ORDERS05

Hi,
Is it possible to delete a partner using IDOC type ORDERS05 (FM: IDOC_INPUT_ORDCHG)?
kind regards
Maarten

Hi,
as far as I know it's not possible. Do you mean vendor? If yes check CREMAS IDoc.
Regards,
Kai

Similar Messages

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Extraction of unloading point field from R/3 to SUS via IDOC ORDERS05

    I am extracting unloading point field from R/3 to SUS via ORDERS05.
    R/3 filed is EKKN - ABLAD
    IDOC Field is E1EDKA1 - ABLAD
    But E1EDKA1 is partner function dependent, as it has different values for different partner functions like E1EDKA1 AG, E1EDKA1 LF, E1EDKA1 WE.
    While EKKN - ABLAD is not partner dependent.
    Please guide as to how to map these two fields.
    Regards,
    Parag
    9881240969.

    Hello, partner functions are :
    AG : Requester
    LF: Vendor
    WE: Delivery address
    field ABLAD is for the unloading point so it should be mapped on E1EDKA1 with partner function WE.
    Regards, Luciano.

  • Idoc ORDERS05 and EKPO - IDNLF

    Hi all,
    Is there anybody that knows if it is possible to send EKPO-IDNLF via IDOC ORDERS05?
    Regards
       Federico

    Hi,
    Try entering the value to be populated in  E1EDP01 --> E1EDP05
    In segement E1EDP05 populate E1EDP19-MFRPN with the IDNLF value and QUALF (identification) = 002
    Pavan

  • Suppress partner role with orders05

    Hi,
    In customer masterdata it is indicated that a certain partner roles are valid for a customer. In the partner determination procedure it is indicated what roles are relevant for specific sales order type.
    However, when I create a sales order manually I it possible to delete the partner roles.
    Is something like this possible when creating a sales order using an IDOC?
    So, I don't want to have a specific partner role in the sales order, regardless it is maintained in the masterdata and customizing, when a sales order is created by IDOC.
    Regards
    Ron

    Hi...
    Call area menu BUPT
    Business Partner->Control->Events
    Check the BDT Events...DSAVC...inside this you can call your own function module and put a check here...You can see the import and export parametrs for your FM from any of the above standard FMs....
    Try it
    Mithlesh

  • CRMXIF_ORDER_SAVE for deletion of partner-role

    Hello there,
    I need to delete a partner-role from an order so I'm using BAPI CRMXIF_ORDER_SAVE. However, the partner is not being deleted. Please have a look at the content of the CRMXIF_BUSTRANS_T structure:
    OBJECT_TASK          U
    OBJECT_GUID          46986070E6C6005702000000C0A8974B
    OBJECT_ID                                                                               
    PROCESS_TYPE          0
    OBJECT_TYPE          BUS2000126
    POSTING_DATE          20070730
    DESCRIPTION          Systemtechnik S1
    DESCR_LANGUAGE          D
    DESCR_LANGUAGE_ISO                                                                               
    LOGICAL_SYSTEM                                                                               
    CRM_RELEASE                                                                               
    CLIENT                                                                               
    CREATED_AT          0
    CREATED_BY                                                                               
    CHANGED_AT          0
    CHANGED_BY                                                                               
    LOCAL_TIMEZONE                                                                               
    ARCHIVING_FLAG                                                                               
    OBJECT_ID_OK                                                                               
    HIGHEST_ITEM_NO          0
    CRM_CHANGED_AT          0
    DESCRIPTION_UC                                                                               
    EARLY_ORDER_NO                                                                               
    CALC_SCHEMA                                                                               
    SCENARIO                                                                               
    TEMPLATE_TYPE                                                                               
    VALID_FROM_EXT          0
    VERIFY_DATE          0
    ACTIVITY                                                                               
    LEAD                                                                               
    OPPORTUNITY                                                                               
    PARTNER                                                                               
    PARTNER_NO     260485
         PARTNER_GUID                                                                               
    ALT_PARTNER_NO                                                                               
    ALT_PARTNER_NO_TYPE                                                                               
    IDENT_NUMBERS     Table[initial]
         PARTNER_FCT     15
         PARTNER_PFT                                                                               
    PFT_SUBTYPE                                                                               
    MAINPARTNER                                                                               
    RELATION_PARTNER_NO                                                                               
    RELATION_PARTNER_GUID                                                                               
    CALENDAR                                                                               
    DISABLED                                                                               
    KIND_OF_ENTRY                                                                               
    ADDR_ORIGIN                                                                               
    STD_BP_ADDRESS                                                                               
    ADDR_OPERATION                                                                               
    ADDR_NR                                                                               
    ADDR_NP                                                                               
    ADDR_TYPE                                                                               
    DISPLAY_TYPE                                                                               
    ERROR_FLAG                                                                               
    DOC_ADDRESS                                                                               
    TERRITORY     Table[initial]
         OBJECT_TASK     D
         INPUT_FIELDS                                                                               
    ORGDATA                                                                               
    PRICING_PARAMS                                                                               
    BILLPLAN                                                                               
    BILLING                                                                               
    CANCELATION                                                                               
    SUBJECT                                                                               
    REF_OBJECT                                                                               
    SALES                                                                               
    SHIPPING                                                                               
    PAYPLAN                                                                               
    DATES                                                                               
    CUMULATION_HEAD                                                                               
    CONDENSED_STATUS                                                                               
    STATUS                                                                               
    DOC_FLOW                                                                               
    ATTACHMENT_LINK          Table[initial]
    TEXT                                                                               
    CUSTOMER_H                                                                               
    IPM_RCHAR                                                                               
    ITEM          Table[initial]
    CONTROL_SWITCHES                                                                               
    INPUT_FIELDS
    Adding new partners to the order is working fine though.
    Is there anything I got wrong?
    Regards,
    Anja

    I still could use a little help here. For better testing I extracted the relevant coding into an evaluation-report:
    DATA data TYPE crmxif_bustrans_t.
    DATA is_data TYPE crmxif_bustrans.
    data is_data_f type CRMXIF_BUSTRANS_F.
    DATA is_actx TYPE crmxif_activity_x.
    DATA is_act TYPE crmxif_activity.
    DATA is_datesx TYPE crmxif_appointment_xt.
    DATA it_dates TYPE crmxif_appointment_t.
    DATA is_dates TYPE crmxif_appointment.
    DATA is_statusx TYPE crmxif_status_xt.
    DATA it_status TYPE crmxif_status_t.
    DATA is_status TYPE crmxif_status.
    DATA it_partnerx TYPE crmxif_partner_xt.
    DATA it_partner TYPE crmxif_partner_t.
    DATA is_partner TYPE crmxif_partner.
    DATA is_partner_f TYPE crmxif_partner_f.
    DATA lv_return TYPE  bapiretm.
    * HEADER
    is_data-object_task = 'U'.
    is_data-object_guid = '46AE8865377D005900000000C0A8974B'.
    is_data-process_type = '0000'.                   
    is_data-object_type = 'BUS2000126'.               
    is_data-posting_date = '20070731'.
    is_data-description = 'Systemtechnik S1'.                
    is_data-descr_language = 'D'.
    * ACTIVITY
    is_act-category = 'Z99'.                        
    is_act-extern_act_id = '420006760000124133'.              
    MOVE is_act TO is_actx-data.
    is_actx-datax = 'X'.
    MOVE is_actx TO is_data-activity.
    * DATES
    is_dates-appt_type = 'ORDERACTUAL'.              
    is_dates-timestamp_from = '20070801070000'.     
    is_dates-timestamp_to = '20070802130000'.                        
    APPEND is_dates TO it_dates.
    MOVE it_dates TO is_datesx-data.
    is_datesx-datax = 'X'.
    MOVE is_datesx TO is_data-dates.
    *STATUS
    is_status-status = 'E0003'.          
    is_status-user_stat_proc = 'CRMACTIV'.
    is_status-active = 'X'.
    is_status-language = 'D'.
    append is_status to it_status.
    move it_status to is_statusx-data.
    is_statusx-datax = 'X'.
    move is_statusx to is_data-status.
    * PARTNER
    is_partner-partner_guid = '42004B723E57004300000000C0A89748'.
    is_partner-partner_fct = '00000015'.
    is_partner-object_task = 'D'.
    is_partner_f-partner_guid = 'X'.
    is_partner_f-partner_fct = 'X'.
    move is_partner_f to is_partner-INPUT_FIELDS.
    APPEND is_partner TO it_partner.
    MOVE it_partner TO it_partnerx-data.
    it_partnerx-datax = 'X'.
    MOVE it_partnerx TO is_data-partner.
    APPEND is_data TO data.
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
      EXPORTING
        data   = data
      IMPORTING
        return = lv_return.
    COMMIT WORK.
    Does s.o. see anything conspicuous?
    Regards,
    Anja

  • PO vendor partner role through ALE/IDOCs

    We have ALE/IDOC interface with vendor. The requirement is PO will be sent to the ordering vendor and invoice should be received with PI vendor. We are using stardard message types for purchase order (outbound) and INVOIC (inbound).
    Could you please guide me on how to set up partner profile in WE20? Do I need to define both the vendors as partner? and what partner function should I select in inbound and outbound for both the vendor? Any other settings is required?
    Thanks in Advance
    Sagar

    Hi,
    The earlier answer was to your this question
    Could you please guide me on how to set up partner profile in WE20?
    Now to set up the partner function follow as below
    In Spro>Purchasing>partner determination >first define the partner roles , role VN for vendor,role PI for invoicing party and OA ordering address are standard available then
    Define permissible roles per Vendor A/C group ..based on account group of vendor you need to define a perticular partner role is permitted
    Go to define partner schmeas for vendor master >select L1 vendor>partner functions in procedure>here you check your roles are available there 2 check boxes if you wnat a perticular role mandatory in vendor master you can check mandatory and if you want an option of changing the partner you can make it changable , better to make these two roles mandatory and OA changable
    Go to assign partner schemas for vendor master assign L1 for your vendor a/c group
    Then go to partner settings in purchasing document define partner schema select std.po >function in procedure>check roles VN,PI,OA
    Select no change mandatory and higher level for all three
    Go to assign schemas for docuemt>assign 0002 for document type in question
    Thanks
    Diwakar
    Edited by: diwakarnd deshpande on May 13, 2011 8:24 PM

  • Partner role delete

    Hi guy,
    I have the need that a partner role is not allowed in a special sales order.
    My first idea was to solve it with a partner schema.
    But that is not possible, 'cause of the following problem;
    If the sales order type XX, was created without a reference, the partner role is allowed.
    If the sales order type XX, was created with a reference to a sales order type XY it is also allowed.
    But it is not allowed, if the sales order type XX was created with a reference to a sales order type YY oder with a reference to sales order type XY, which was created with reference to type YY.
    =>As the role is allowed generally, but not if there is any reference to a special type, the schema don't work.
    So I would like to delete the partnerrole in a USEREXIT and send a mail or message to the user.
    Does someone know a suitable exit or badi ?
    Greatings Manuel

    Hi Rasheed,
    I tried USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ (because the MOVE_FIELD_TO_VBAK AND MOVE_FIELD_TO_VBAP isn't processed after a change of partners).
    My coding:
    ...(check if partnerrole is forbidden)
    delete xvbpa with where parvw = 'ZZ'.
    When I debug the behaviour it is deleting the entry in xvbpa, but after saving the partnerrole does still exist.
    Where is my failure ??
    Greatings
    Manuel

  • How do I save an email address via the ORDERS05 IDoc?

    I am creating sales orders via the ORDERS05 Idoc.  I am using the E1EDKA1 structure to add the "WE" Ship-To address to the order.  There is no field in E1EDKA1 named SMTP_ADDR.  I could put it in the Telebox (TELBX) field, which we're not using, but ultimately would like the email address to show up correctly in the ADR6 table in SAP.

    Thank you, that helped me a lot.  In my case, we are using the AFS version of SAP 46C.  The fm  J_4A_IDOC_INPUT_ORDERS  that we use is very similar to IDOC_INPUT_ORDERS.   Instead of CUSTOMER-FUNCTION '004',  I used CUSTOMER-FUNCTION '010'.   Since the telebox field in E1EDKA1 may be too short for an email address, I used the 70 char ILNNR field in E1EDKA1.   I used FM ADDR_SAVE_INTERN per your suggestion and it worked great!  If you'd like to see my code, send me an email: [email protected]

  • IDOC ORDERS05 partner mail

    Hi all,
    I'm using idoc orders05 in inound to get sales orders in r/3.
    I filled E1EDKA1 structure for customers data.
    I need to fill and use customer e-mail address.
    Where can I find this field?
    Thanks in advance.
    Stefano

    Hello,
             For meeting your requirement, you can also use the Enhancement (SMOD) VEDA0001 in which you'll find a Customer Exit EXIT_SAPLVEDA_001. Here you can write the Code to fetch the E-Mail Address and populate it in an Internal Table or Work Area and Export it to Memory ID.
            Next Comes the Population of the E-Mail Address in the Sales Order. For this, you need to find an Appropriate Enhancement Spot in the Main Program of the Sales Order which is SAPMV45A since it uses BDC method to Create Sales Order.  In that Enhancement Implementation, you can Import the Variable that you've exported in Step 1 and append it to the BDC_DATA Table so that it gets inserted into the BDC Table and gets updated in the Transaction as well as in SAP.
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • BAPI_PO_CREATE1 is not defaulting all the partner role in the PO

    Hi All,
    I am facing a problem while Purchase Uploads using  BAPI_PO_CREATE1 in the LSMW via Idoc .
    The BAPI is not behaving same as Txn ME21n .
    In the Txn ME21n when we enter the Vendor the partner tab is automatically filled with  all the  Partner roles .
    While when we use BAPI it is only filing the Partner role with a single partner  role VN.
    We are sending the sturcture partner role  as blank because we wanted it to be defaulted as it is in Txn ME21N.
    During the program analysis we found the following :
    BAPI is calling the Function Module MM_PARTNER_SELECT which try to fill the Partner function
    using WYT3 table . The table  Wyt3 has the plant field as empty for that particular Vendor.
    The BAPI is  using the plant to determine the partner roles .
    While in Txn ME21n the plant field is not used for determining the partner role .
    In txn Me21n once we change the vendor entered initially & then again re enter the  initial vendor  number
    then it behaves like BAPI & only display the single partner role .
    Kindly advice .
    Regards,
    Anurag Goel

    Hi All ,
    FYI
    We found the solution for  defaulting  partner role using   BAPI_PO_CREATE1,It is a customization issue .
    We have check the  Higher level indicator ( Search at higher level )  in the customization Txn OLME  Under Partner Determination -
    > Partner setting in Purchasing document -
    >Define partner schemas
    If this indicator is not set, the system only  transfer partner roles  that are maintained at plant level .
    Best regards,
    Anurag Goel .

  • ORDCHG - IDOC - ORDERS05  Issue IMP

    Hello,
    we have configured ORDERS- IDOC - ORDERS05 for ouput type ZSPO. User is going to trigger output manuallly in every case.
    If PO is changed still same output will trigger. Till this everything works fine.
    Now suppose one item is marked for deletion and output is triggered manually this item does not come in IDOC itself. And i want to send this with deletion indicator.
    How can I configure this? I tried adding ORDCHG - IDOC - ORDERS05  with same output type but still ORDERS IDoc gets triggred.
    Please suggets.......!!
    Thanks

    For orders change there is a different process code - ME11 for 'ORDCHG' and ME10 for 'ORDERS'.
    In case of changes make sure that in your partner profile setup (WE20) also the correct process code is assigned.
    Regards,
    Dominik Modrzejewski

  • ME23N Error when trying to send PO via IDOCS to another system?

    Hello Experts,
    I am getting wired message what I ma trying to send PO via IDocs to other SAP system (XI)
    I went to all partner , port configurations on WE20 and everything there seems to be fine but once I go to ME23N, then GO TO -> MESSAGES , than opens another windows when you key in MESSAGE CONTROL DATA that have been mantained
    in the outbound parameters in the PARTNER PROFILE configurations.Then I am getting the message :
    'No communication data has been defined for transmission medium 6'-----
    The LED on "PO:output screen' is YELLOW and never gets green.
    Can someone tell me how to overcome this and send my  PO Idocs?Please some more details will be appreciate it!
    Thank you much  eveyone!
    Boby<b></b>

    I just got the same problem. Everything worked fine when i was using message type ORDERS01, but when i changed it to ORDERS05 this problem started happening.
    This might solve your problem. If you have it solved out can you tell us the solution you found??
    regards,
    Diogo

  • Inbound IDoc ORDERS05 : PO Rejection Indicator Issue

    Hello,
    We are receiving idoc ORDERS05 with message type ORDRSP from vendor(PO Confirmation) with 003 as ACTION in field E1EDP01-Action.
    but still rejection indicator for PO item is not getting Set.Hence we see PO item is not marked deleted.
    Could you please suggest what we are missing ?

    Hi,
    check the step by step config setting for purchase order..
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDERS
    Idoc type: ORDERS05
    Outbound process code for purchase order: me10
    The steps that are to be followed are:
    Check for the message type in the transaction in we81.
    check for the idoc type in the transaction we30.
    check we82 in which the link between message type and idoc type is there.
    create the port in we21.
    Configure the partner profiles in we20.
    Click on the + button outbound parameters and give the message type, receiver port,Idoc type.
    Now press on the message control tab, this is the place where u give the outbound process code. The message type in the message control is the output type that is used in the nace transaction.
    Create a distribution model in bd64.
    Go to purchase order transaction (me22n).and press the messages tab
    In the messages tab give the output type and the distribution medium as distribution-ale and then save it.
    Reward if helpful.
    Regards,
    Nagaraj

  • Business Partner Role Specific Field View in WebClient

    Hello to everyone,
    I have a question that really needs a answer.  We are upgrading from SAP CRM v4 to SAP CRM v7.0 and as such we have a number of custom Business Partner Roles within the Person BP Type.  Against these custom roles we have developed custom field and tabs in order to separate the content within the BP Role further.
    After rolling off an implementation of SAP CRM v6.0 [2007], the following seems apparent:
    - Assignment of Roles is done via an assignment block in the Customer Maintenance view.
    - You can create Business Partners in different roles initially.
    - You cannot maintain Business Partner details in specific roles
    However, you cannot display the role specific fields as you can in the WinClient.  As an example, a Citizen Role BP will have different fields to that of a Teacher, but these roles could be assigned to one Business Partner.
    There does not seem to be any guidance as to how this is managed in the WebClient and as it seems a fundamental part fo the SAP CRM offering, you would have thought that this questions has been asked, but I have found no answers.
    I really hope anyone can help and appreciate any time and effort put into solving my question.
    Many Thanks,
    MatFlat.

    Hi MatFlat,
    Yes, your observation is right - in the Web UI, fiel grouping is not implemented for roles. This is because the role concept is quite different between SAP Gui and Web UI.
    In SAP gui, (CRM 4.0) roles had a functional meaning as well as a UI control. However, the concept was changed with Web UI. Now, roles have only a functional meaning, and no effect on the UI at all.
    If you want to implement role based field grouping in Web UI, you need to define your own methods in the implementation class.
    E.g : you can write code to influence the field properties based on the roles. I guess you can redefine the DO_PREPARE_OUTPUT  methods of the impl class.
    In order to get info about which roles the BP is maintained , you can use FM BUPA_ROLES_GET_2.
    Hope this helps you.
    Cheers,
    Rishu.

Maybe you are looking for

  • 3rd gen ipod touch unresponsive to touch

    My Ipod touch recently has stopped responding to touch, all the other buttons work on it. What could it be?

  • Ipod Nano, power will come off and on but otherwise is completely frozen,

    Please help!! I have an ipod nano that is only 3 months old. It has been acting strange. When it first started the clicker wheel wouldn't work and I could reset the nano and it would be good for a single use only. After 2 weeks of that now the only t

  • Query Chinese display

    Hi all~ It's impossible to display the text correct in Chinese when query executed in Analyzer. For BI, it's no problem in display the text of Chinese although no Lanaguage package for Chinese installed. Please let me know how to deal with it if any

  • PowerMac G5 upgrades

    I was just at an auction this past evening, and stumbled upon a PowerMac G5 7,3 for $110, and I had to have it so I purchased it. It has a 1.8Ghz Dual G5, 1.25GBs RAM, 150GB SATA drive, and 64MB Nvidia with the new and old Apple DVI port. So my quest

  • WLAN connection remains active after receiving ema...

    I have N95 with software release v 20.0.015 13-11-07 rm-159 Nokia N95 (83.01) When I use Messaging to check my E-mail and connect to my mailbox over WLAN (any type opened, WEP or WPA and different HotSpots and at home), the application keeps WLAN act