BAPI_OPPORTUNITY_CREATEMULTI - Partners problem

Hello
I am struggling with creation of opportunity with BAPI_OPPORTUNITY_CREATEMULTI.
Can anyone give working example of implementation using input fields, header, opportunity and partner structures?
I cannot create opp where partners would be filled.
Regards
Radek

ok thank you, I used crmd_order_maintain to get right values.
eg. structures for partner:
  ls_partner-ref_guid       = ls_header-guid.
  ls_partner-ref_handle       = '0000000001'.
  ls_partner-ref_kind       = 'A'.
  ls_partner-ref_partner_handle = '0001'.
  ls_partner-partner_no    = '0003000018'. "-> leading zeros
  ls_partner-partner_fct   = '00000021'.
  ls_partner-no_type       = 'BP'.
  ls_partner-display_type  = 'BP'.
  ls_partner-KIND_OF_ENTRY = 'C'.
  APPEND ls_partner to lt_partner.
and for input fields:
ls_input-REF_HANDLE = '0000000001'.
ls_input-REF_GUID = ls_header-guid.
ls_input-REF_KIND = 'A'.
ls_input-OBJECTNAME = 'PARTNER'.
ls_input-LOGICAL_KEY = '0001'.
ls_input-FIELDNAME = 'PARTNER_NO'.
APPEND ls_input to lt_input.
ls_input-FIELDNAME = 'PARTNER_FCT'.
APPEND ls_input to lt_input.
ls_input-FIELDNAME = 'NO_TYPE'.
APPEND ls_input to lt_input.
ls_input-FIELDNAME = 'DISPLAY_TYPE'.
APPEND ls_input to lt_input.
ls_input-FIELDNAME = 'KIND_OF_ENTRY'.
APPEND ls_input to lt_input.
clear ls_input.
Regards

Similar Messages

  • I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct.

    I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct. I have re-set both router and all laptops - no joy. They can all see the network but cannot connect.

    This is extraordinary. I have moved the router and also tried resetting it to its factory strings.  We have had this router for over a year and all our devices have always worked. Now all four laptops will not connect to the internet. Only one oMac and our phones and iPad.
    I have had far more devices running at once before but now all laptops are timing out on connection. Some say this iIP address is already being used but if I manually set to a slightly different IP address it does not help, noir if I manually set to the correct IP address. Why would all our laptops (four) suddenly be unable to connect?

  • Problem in Customizing Search Help for Business Partners in CRMD_ORDER

    Hi All,
    I am absolutely newbie in CRM. I have a problem here.
    We are using SOLMAN for incident management in our project. We use transaction CRMD_ORDER for creating a support message. Now this creen has 4 kinds of partners namely SLA Partner,Reported By,Support Team,Ticket Owner. Now for all these partners there is a common Search Help being used i.e. COM_PARTNER. We have a requirement that for all these fields we want to take user directly to hit list which should have only 2 fields. These hit lists are different for all these 4 fields. I have right now no idea how am I going to achieve this? I have a hint about Search Help exit being used but not sure which one and how? Please guide on this.
    Thanks in advance,
    Saket.

    Hi,
    you are using icident - i guess you are on CRM 7.0?
    Why won´t you use the webclient UI but CRMD_ORDER?
    In Webclient UI component BT_PARTNER you will find the relevant searchhelps and can influence them with methods GET_V*
    Best regards
    Manfred

  • Problem in updating the partners data for sales order

    hi all..
    am using bapi_salesorder_createfromdat2 to create salesorder..
    in the bapi am passing the partners data as follows..
    partner-partn_role = 'ZD'.
    partner-partn_numb  = <cust.no.>
    partner-itm_number = <item no.>
    after that..,the sales order is created succesfully .but now the problem is the partner data as shown above is not updated successfully in the item level details of sales order..
    is there any way to fix it ?
    please help me with the possible alternatives.
    thanks in advance
    suresh

    Hi Suresh,
    *Fill partner
    wa_order_partnr-partn_role = 'AH'.
    wa_order_partnr-partn_numb = '0000100001'.
    "wa_order_partnr-itm_number  = '000010'.
    INSERT wa_order_partnr INTO TABLE tab_order_partnr.
    wa_order_partnr-partn_role = 'WE'.
    wa_order_partnr-partn_numb = '0000100001'.
    "wa_order_partnr-itm_number  = '000010'.
    INSERT wa_order_partnr INTO TABLE tab_order_partnr.
    Is it a standard partner function or custom one.Check with german key words llike AH,WE.
    Regards,
    Madhu.

  • I have a problem with software activation of dedicated channel partners.

    I have a problem with software activation of dedicated channel partners.
    I find in the portal software and serial number for activation, but when I enter the serial (after you log in with the adobe id) tells me that the serial number is not correct.
    Tednto contact Customer Support directly (via chat) but nothing ever done offline.
    my adobe id is: [email protected]

    Error "The serial number is not valid for this product" | Creative Suite
    or contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html
    i know you've tried adobe support, but if they can't help you no one here can help you unless there's some problem support can but won't handle.

  • Three partners interaction, wsdl problem

    Hi…
    I'm doing a three partners (buyer-seller-producer) interaction, but I'm having problems with it.
    This scenario is an extension of 109CorrelationSets.
    The buyer's wsdl defines the customer-buyer relation.
    The seller's wsdl defines the buyer-seller relation.
    The producer's wsdl defined the seller-producer relation.
    And that is working.
    Now I add the relation buyer-producer, and my first try has to put those definitions on the producer.wsdl. But I receive the error that de wsdl don't support four portTypes.
    So a used a second wsdl file BuyerProducer.wsdl with the definitions of that relation. But the server doesn’t recognize more than one wsdl file, as from http://GENETRON2:9700/orabpel/default/Producer/xxx?wsdl the only wsdl file I get is the Producer.wsdl, for any xxx.
    So the buyer don't get the http://.../Producer/BuyerProducer?wsdl, that he needs.
    Am I doing it right??
    Any suggestions will be appreciated
    Teofilo

    Hi Edwin...
    No, I haven’t.
    But, now I have.
    And now I finish an all-connect-to-all global process with 3 partners.
    Thanks for the hint.
    I have one thing that puzzles me:
         Why do we need to put all income operations (from all partners) on the same port type?
    To me it is much more natural to separate the operations, like PortTypeA with PartnerA operations, PortTypeB with PartnerB operations, and so on…
    An operation with a bpel process is characterized by: partnerlink, porttype and operation. Every partnerlink links to a partnerlinktype. So in a bpel process, if we just have one porttype in a role of a partnerlinktype, then the operation is full referenced by partnerlink (as it link to a role in a partnerlinktype) and the operation.
    Thanks again
    Teofilo

  • Create sales order thru BDC but having problem with ZF partners

    I have a problem on the bdc program to create sales order with ZF partners.  When my users create sales order, they choose 'X' when the system pop up the zf partner screen,  the system will not create the ZF partner.  But when I run the bdc program without ZF partner, the system did not pop up the zf partner screen and allow me to run thru the whole creation process. But when I check the sales order it will pick up a default ZF no from customer master.  Is there anyone know how come the on line creation of sales order behave differently in BDC.

    I have a problem on the bdc program to create sales order with ZF partners.  When my users create sales order, they choose 'X' when the system pop up the zf partner screen,  the system will not create the ZF partner.  But when I run the bdc program without ZF partner, the system did not pop up the zf partner screen and allow me to run thru the whole creation process. But when I check the sales order it will pick up a default ZF no from customer master.  Is there anyone know how come the on line creation of sales order behave differently in BDC.

  • Problems with synchronizations items and partners

    Hi,
    I have problems with synchronizations from SAP B1 to SAP E-
    commerce 5.9.6
    When I run Synch. manager, there are some error messages in Synchlog
    and some items and business partners are synchronized and some not
    synchronized.
    Error messages:
    1)
    Completed account list synch with unhandled error:object reference not set to an instance of an object.
    2)
    Completed parts list synch with unhandled error:
    object reference not set to an instance of an object.
    at NetPoint.SynchSBO.SBOObjects.SBOItem.SBOToNetPoint()
    at NetPoint.SynchSBO.SBOObjects.SBOItem.SynchItemList()
    at NetPoint.SynchSBO.Synch.SynchPartList()
    Thanks,
    Milos Vich

    Hi Milos,
    If nothing at all has synchronized, I would first double check your connection settings and passwords.
    If the synch appears to to be connecting correctly, you will need to look at the data that it is failing on.
    The synch queue is the prx_transaction_queue table in the Business One database.  The object_type column refers to a Business One object.  2 for business partner and 4 for items.  The list_of_cols_val_tab_del is the key in the associated table.  For business partners that is OCRD.CardCode and items OITM.ItemCode.
    First determine that there is no bad data in the queue.  Bad data is typically defined as null or empty strings in the list_of_cols_val_tab_del column.
    Try running the following for business partners:
    select *
    from prx_transaction_queue
    where object_type = 2 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    And this for Items.
    select *
    from prx_transaction_queue
    where object_type = 4 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    If there are nulls or empty strings in the list_of_cols_val_tab_del column, delete them.
    If not, take a look at the first records in the queue.
    select top 1 *
    from prx_transaction_queue
    where object_type = 2
    order by tmstmp
    and for items:
    select top 1 *
    from prx_transaction_queue
    where object_type = 4
    order by tmstmp
    Change the transaction_type to "X" (remember what is was, because you will need to change it back).  Changing this value will remove the item from the synch.
    Rerun the synch. 
    If it runs at this point, there is probably data in the records that the synch was not expecting.  The business partner data will need to be examined.  Tics in key values (CardCode, Address Name, contact name, itemcode) may cause problems.
    If this is the case, you might want to contact support to try to track the problem down.
    Another source of problems may be database collation.  We can talk about that if none of the above works.

  • Problem: While creating PO partners differ from vendor

    Hi all,
    There was a problem with two users in our production system. They created several POs for several vendors, and all of them return in PO tab "Partners" different information (different vendors), than the one on Vendors Master Data. All "Partners Functions" configuration is correct. This only happens with these two users. Example:
    Vendor 111 Master Data tab "Partner Functions":
    - Function FO: Vendor 111 (display mode)
    - Function VN: Vendor 111 (display mode)
    - Function PI: Vendor 111 (change mode)
    PO created for Vendor 111, tab "Partners":
    - Function FO: Vendor 222 (display mode)
    - Function VN: Vendor 222 (display mode)
    - Function PI: Vendor 222 (change mode)
    Can anybody please tell me where the problem may be and why this happens??
    Thanks in advance,
    MG

    Go with SE16 to table EKPA and check what this table has for your PO number and partner VN.
    I bet it is 222.
    Maybe someone has changed the vendor of the PO, instead of the partner. and the PO was originally created with vendor 222 and was then changed to vendor 111 (before saving)
    the program fix is in OSS Note 1385935 - Incorrect partner determination
    However,  like always, SAP does not give you a solution how to correct the wrong data in the database

  • When I try to fill out forms on line my I cannot send as it says my email isn't valid. I ve tried with my gmail and my work email and no luck. It will recognise my partners email with no problem. Please advise

    When I try to fill out forms on line my I cannot send as it says my email isn't valid. I ve tried with my gmail and my work email and no luck. It will recognise my partners email with no problem. Please advise

    Assuming that you can send email on the iPad, Maybe something is corrupt in Safari that is causing this. Try clearing Safari and see if the sites will accept your email address.
    Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • BAPI BAPI_OPPORTUNITY_CREATEMULTI - Problem with Quantity and Unit

    Hi,
    I have the requirement for creating multiple line items in Oppurtunity with BAPI BAPI_OPPORTUNITY_CREATEMULTI, I am able to create multiple line items in product tab in Oppurtunity.
    But now those line items are stored Without Quantity and Units.
    I have passed units in product table at fields : volume_unit, process_qty_unit, process_volume_unit_iso.
    I have passed quantity in product table at fields : process_qty_unit, process_qty_num, process_qty_den.
    Same quantity is also passed at schedule line item field : quantity
    Can any1 please suggest?
    I tried with all combinations of above possible fields.
    I am not sure If i have mistaken in Input fields being passed to this bapi?
    Thanks in advance.
    Regards,
    Narendra.

    Quantity is maintained under scheduling, so you must include in 'CRM_ORDER_MAINTAIN' under exporting parameters also...
    EXPORTING
         it_schedlin_i     = lt_schedlin_i
    Coding for lt_schedlin_i is...
    ls_schedlin_i-ref_handle = "counter".
    ls_crmt_schedlin_extd-quantity = "quantity".
    INSERT ls_crmt_schedlin_extd INTO TABLE ls_schedlin_i-
    Coding for input fields is...
    ls_input_field-ref_handle = "counter".
    ls_input_field-ref_kind  = 'B'.
    ls_input_field-objectname  = 'SCHEDLIN'.
    ls_input_names-fieldname  = 'QUANTITY'.
    INSERT ls_input_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_field.
    Regards.

  • BAPI_OPPORTUNITY_CREATEMULTI - Problem with Quantity and Unit

    Hi,
    I have the requirement for creating multiple line items in Oppurtunity with BAPI BAPI_OPPORTUNITY_CREATEMULTI, I am able to create multiple line items in product tab in Oppurtunity.
    But now those line items are stored Without Quantity and Units.
    I have passed units in product table at fields : volume_unit, process_qty_unit, process_volume_unit_iso.
    I have passed quantity in product table at fields : process_qty_unit, process_qty_num, process_qty_den.
    Same quantity is also passed at schedule line item field : quantity
    Can any1 please suggest?
    I tried with all combinations of above possible fields.
    I am not sure If i have mistaken in Input fields being passed to this bapi?
    Thanks in advance.
    Regards,
    Narendra.

    Hi,
    After days, I am however able to get Unit for every Opportunity Item.
    stil Quantity is getting not updated.
    Has any1 written code for adding Line items into Opportunity using CRM_ORDER_MAINTAIN.
    Kindly suggest if any1 has idea or has done the same.
    Regards,
    Narendra.

  • Problem in addin sales opportunity - Partners, Competitor

    HI All,
    I am adding sales opportunity with the help of DI objects. However I am able to add that without partner and competitors info
    But while I am trying to add opportunity with Partner and competitors infornmation I am unable to do that first time when there is no entry in partner and competitor. If there is some entry in partner and competetor then I am able to update new values in partner and competitors sucessfully.
    Please let me know if there is any solution of what I am doing wrong.
    I am adding new info with below mentioned parameters...
    _salesOpportunities.Partners.Add();
    _salesOpportunities.Partners.Partners
    _salesOpportunities.Partners.RelationshipCode
    _salesOpportunities.Partners.Details
    regards:
    Neerav

    Hi Neerav.
    Please use...
    _salesOpportunities.Partners.SetCurrentLine(j);
    _salesOpportunities.Partners.Partners
    _salesOpportunities.Partners.RelationshipCode
    _salesOpportunities.Partners.Details
    salesOpportunities.Partners.Add();
    regards:
    sandy

  • Problem updating business partners - "Bank does not exist in the company"

    Hi
    I have written a small program to update business partners ( SP01 PL 34 ) and I am getting a message saying "Bank does not exist in the company"
    I am only updating simple information such as telephone, fax and email addresses.
    Does anyone know why I am getting that error ?
    Thanks
    Regards Andy

    Paul,
    Other than the code that you have written, are there any other add-ons installed with Business One such as the Payment Engine?
    I have not heard of this issue.  You may want to create a message with SAP Support since you are getting the same error through the DTW which also uses the DI API.
    Also, is there any difference between what you manually key in and what you try to push in?
    Eddy

  • Suddenly a problem phoning from my iPhone 5s to my partners phone (not smart phone)

    I have been using my iPhone 5s without trouble but since my partner has bought a new phone (not smart phone - same number but new moblie provider) I can send text messages but cannot make a call to her. I get a voice telling me her number is not in service. Her brother has same problem form his iPhone. Is this a fault with her mobile provider or is it something in settings on my phone? Any suggestions??

    I would contact your mobile provider. I had a similar problem a number of years ago when attempting to call one number (not from an iPhone) and the provider was able to identify and resolve the problem on their end.

Maybe you are looking for

  • Getting last day of the month

    hi , is there an existing date funtion to get last day of the month ? pls advise else i'll try to add_month + 1 to current month and format to the first day and minus 1 day from that new month tks & rdgs

  • PowerPoint 2013 locksup after installing Windows 8.1 Update

    After installing the update for the Windows OS 8.1, my 2013 Microsoft Office is locking up. Particularly in PowerPoint. It displays the spinning cursor as if saving, but never stops. The only option is powering down the laptop. It recovers the docume

  • Mails with suspicious links are send to contacts in my Outlook 2011 for Mac

    Hi all I have now for two days experienced that emails seems to be sent from my Outlook 2011 for Mac to 4 or 5 people from my contacts with suspicious links - they do not apear in my sent box - but I do get an copy sent to my own inbox ? Does anyone

  • Billing docs are 2x posted to accounting

    Dear all, I am currently struggling with the following problem - would be great if somebody could help me with ideas about the root cause: VBRK-RFBSK -- 'Posting status' Accounting relevance of export billing docs was set to D -- 'not relevant' due t

  • Nivo slider in a flash site..?

    I have a flash website, and an html website. I use Nivo slider on the html site as a slideshow to showcase images and tagline slides, I'm curious if anyone knows if you can put a Nivo slider slideshow in a flash site? Nivo slider uses jquery, with fa