Query regarding Business Partner

Dear all,
I want to update the text under the Long Text Tab in a Business Partner . As per all your guidances I achieved the updating the long text through the code by using the Function module. But the Long text gets overwritten when we run the code . Can anyone please tell how to insert the text in the Long Text tab of a Business Partner. I am used the Function Module 'SAVE_TEXT'.
Regards,
Vijay

Hi Bala,
Try this code to save the Long Text
REFRESH: it_tline,
           it_ltext.
  CLEAR: wa_tline,
         wa_ltext.
  CALL METHOD t_editor->get_text_as_r3table
        IMPORTING
        table = it_ltext[].
  CHECK NOT it_ltext[] IS INITIAL.
  LOOP AT it_ltext INTO wa_ltext.
    wa_tline-tdformat = '*'.
    wa_tline-tdline = wa_ltext-ltext.
    APPEND wa_tline TO it_tline.
    CLEAR: wa_tline,
           wa_ltext.
  ENDLOOP.
  wa_header-tdobject = 'TEXT'.
  wa_header-tdname = ' '.
  wa_header-tdid   = ' '.
  wa_header-tdspras = sy-langu.
  wa_header-tdtitle = 'Long text'.
  wa_header-tdfuser = sy-uname.
  CALL FUNCTION 'SAVE_TEXT'
       EXPORTING
            client   = sy-mandt
            header   = wa_header
       TABLES
            lines    = it_tline[]
       EXCEPTIONS
            id       = 1
            language = 2
            name     = 3
            object   = 4
            OTHERS   = 5.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Similar Messages

  • Query regarding Business Partner Address in SAP B1?

    Hi Friends,
    WHile i extract SAP datas for my ETL Product,I found some issues..Hereby i m telling the steps to reproduce that in Demo database of OEC Computers..
    1.Open SAP B1 Business Partner data
    2.Open C40001 Business partner data..
    3.Open Addresses tab of that Business partner
    4.Click Bill to Address..And u can c no datas is present for that BP 'C40001'.
    5.And Open OCRD in Sql Server.. And u can c Address as      '208 Hollywood Av'and ZipCode as '28989'.And it's present in XML of that Business Partner data but not shown in UI in Address tab..
    6.Where these datas are present in Business Partner UI..How can i view those in UI?
        Please give me a clear information for that..
    Thanks in Advance
    regards
    Sooriyakala.P

    Hi Sooriya,
    I was able to reproduce the issue in our demo database.
    This is most likely just an anomaly in that specific database, maybe created by manipulating the database directly.
    The actual data of the BP Addresses grid comes from CRD1. The third shipping address for BP 'C40001' actually seems to have the same information as in OCRD.Address.
    The Address field in OCRD is just a convenience shortcut that should duplicate whatever is written to the single billto address for that customer. You're right that the field should be empty as there are no billto address rows in CRD1 for that customer.
    I'm pretty sure you will not be able to reproduce this in a real live database. However, there are other issues to watch out for with BP addresses. For instance with SBO 2004, there is a issue regarding updating the name of a billto address. If you do it with DI API (or with DTW), you will end up with two billing addresses. This cannot be done in the client, as it is against the validation rules. The nasty part is that DI API does not currently support removal of BP addresses. It's no fun doing it manually for 4000 customers
    Henry

  • Query for Business Partner  Master data

    Respected Sir/Madam,
                           I want a Query in Bp Master Data----> "Name" Should Allow Only Capital Letters.Can anyone please helpme out from this.

    Hi,
    Apply FMS to BP Name field.
    Set below query in FMS and tick auto refresh with "When Exiting Altered Column" and select field Quantity and select "Refresh Regularly" .
    Select UCASE($[OCRD.CardName)
    Regards,
    Clint

  • Regarding Business Partner Roles in PCUI for CRM 4.0

    Hi all,
    We could not find an option to create a bp in a specific role using PCUI.
    We are using CRM 4.0 with EP 7.0 nw 2004s. Also , our CRM has an ABAP component of version ABA 6.20.
    I saw in a forum post that BP role functionality is not available with ABA 6.20. Is this true?
    Using CRM best practices 3.40, can we get the role functionality into PCUI?
    Can anyone advice us on this?
    Thanks alot
    Shobin

    Shobin,
    Unless you want to develop a custom Z-mac class to take care of this, you basically need to be at the next release of CRM in order for this to be possible, from what I remember.
    In 4.0 this is not possible without custom development.
    Take care,
    Stephen

  • How to get the old shopping cart detail if I change the Business partner.

    Hi all ,
    Can any one help me in below describe query?
    Scenario:
    User was getting the error regarding business partner while shopping.
    So I repair the user from BBP_CHECK_USERS.
    Now definitly its business partner has changed.User can also shop.
    But the problem lies is he has lost his all the old shopping cart which was related to old business partner.
    Can any one tell me how to get those detail of the old shopping cart which was related to old business partner?

    Hi
    <b>Which SRM version are you using ?</b>
    <u>Please check out the links/pointers -></u>
    Moving workitems between SRM inboxes
    Re: How to re-instate the deleted Position of the user into Org structure.
    Re: Position Deleted for an User, created a new userid; Confirmation Issues
    Re: Need help to "access" deleted users's inbox & reassign work items
    Re: How to delete a user in the Organizational structure
    Re: Transfer of open POs or SCs?
    <b>Hope this will definitely help.</b>
    Do let me know.
    Regards
    - Atul

  • Multiple contact persons for Business Partner

    Hi,
    I'm searching for an extractor which can extract all contact persons beloging to a Business Partner. The customer would like to make a query on business partner and their contact persons related to a marketing campaign. Any suggestions?
    Regards,
    CB

    Using the DTWQ to update the new additional contact person. No need to use add option. It is because you just only add the additional contact persons and no new BP
    jimM

  • Updating Template Details During the Creation of Business Partner

    Dear ABAPers,
           I am working in SAP CRM 5.0.I am creating the Business partner Using the Transaction code
    'BUP1'.My Requirement is at the time of saving the Business Partner i want  to update the
    Template Details.I tried with the BAdI  'BUPA_TEMPL_UPDATE' .But this BAdI does not contain the Template Parameters.How to do this it is very Urgent Requirement.Please help me to solve this problem.
    Thanks & Regards,
    Ashok.

    Hello Ashok,
    In CRM5.0 IC webclient, I used FM 'BUPA_TEMPLATE_SAVE_TABS' to save information regarding Business Partner Template.
    It worked for me. Check if can help you too.
    Kind regards,
    Bruno

  • To assign business partner no. to central person

    Hi
    We are pulling org. structure form HR to SRM system. We are mainating the same central person as well as positon from HR system. But one of the central perosn in SRM is missing the business paterner due to which when I run BBP_BP_OM_INTEGRATE we get an error business partner no unique, I repaired the user I did not work. How to assign business partner to CP.
    We are SRM5.0 ECS
    with regards
    Manjuanth
    Message was edited by:
            Manjunath Somashekara

    Hi
    <b><u>Please try this -></u></b>
    1.
    Go to Web Transaction "Manage Business Partner". (BBPMAININT)
    There are several options - go for "Employee for Business Partner" and enter in the field the supplier number or search for the supplier you want to create an employee for. Hit create and fill out the screen. The upper part of the screen creates the employee, in the lower part the user id (with which you logon) is maintained. The structure of the screen is asking all relevant elements needed to create a full SRM users and integrates the account into the Org Model.
    For the central Org Unit for Bidders enter the Node Number for the Vendor Root.
    How to assign contact person user id to Vendor uploaded from ECC?
    OR
    2. You need to go into Transaction BP, select the BP for whom you want to change their roles. Click on the change button and then you can select from the drop down field "Change in BP Role" the role that you need for that BP.
    Business Partner
    <b>Other releated helpful links -></b>
    Re: Central Person already exists
    Re: regarding business partner, central person and organizational unit relation
    Central Person and BP ID
    How to delete Central Person?
    Regards
    - Atul

  • Relation ship to prodcut and business partner

    hi,
    i have to find out the FM module to get the relationhip type of a product with business partner in service.
    for example : in commpr01 there is tab called 'Relationships' under that partner sub tab is there.
    there you can give BP number and relation type.
    internally there should be FM to assign the product to a particular Business partner.
    i need to find that particular FM which is updating these details.
    so please help on this if any one aware of this.
    thanks in advance.
    thank you,
    anil

    Hi
    Please go through the links ->
    COMM_PRODUCT -> Product table
    CRMD_PARTNER -> Partner data table
    Linking vendor to product category
    How to link a plant to a business partner?
    regarding business partner, central person and organizational unit relation
    What is the table name SRM which has the relation with Product_id and Plant
    Regards
    - Atul

  • Business Partner in Service Notification/Order

    Hi all,
    I want to be able to select the IS-U Business partner during notification and order creation.
    currently, I can select the sold to party and this only brings back SD customers.
    I want to be able to select BPs created using FPP1

    Tefo:
    If you look at one of the other recent threads regarding business partner - SD customer linkage, you will understand that this linkage is required for your purposes.  The BP creation in ISU/CRM generates a shadow SD customer (using the value in Reference Customer field of bus part) which can then be used in service order and sales order.  The linkage defines that the data is maintained via ISU/CRM and is replicated into the SD customer data.  Only SD specific data would be maintained via the customer maintenance transactions.
    regards,
    bill.

  • Query regarding finding Business Partner from the External Number

    Hi Group,
    I have a requirement to update Address of the Business Partner from the External Number and then using that Business Partner I have to update the Address.
    Now the question is that, <b>how I can get the value of the Business Partner by using the External Number</b>( i.e., PAN Number).[PAN No is used to get the
    differentiate the Organizations].
    So please kindly let me know how I can achieve this requirement.
    Thanks in advance.
    Regards,
    Vishnu.

    Vishnu,
    Depending on where it is stored, your first option would be use the function module BUPA_NUMBERS_GET.
    The other option is to read table BUT0ID if it is stored in the identification details of the business partner.
    Good luck,
    Stephen

  • Employee business partner ID showing up in "Service Team" column of query

    Hey everyone,
    We have a strange problem appearing in our Solution Manager. In workcenter, when we build a query that shows the "Service Team" column we find that while the "Support Team" shows up for most of the results (which is correct) a few of the results displays employee business partner IDs instead (despite the message having Support Teams assigned to them).
    Through investigation we've found out that all of these business partners are assigned to roles in the message (reported by, message processor, functional analyst etc etc.) Interesting to note that the business partner ID showing up in the "Service Team" column is always the LAST business partner record on the "Business Partner" tab of the message.
    So if the business partner tab looks like this:
    Partner Function       Partners
    Reported by              A1
    Support Team           B1
    Message Processor C1
    Functional Analyst    D1
    D1 would show up in the Service Team column despite there being a Support Team assigned. If a new partner is assigned and a new record appears below the Functional Analyst D1 record, that new partner's ID appears in the "Service Team" column instead.
    Does anyone have an idea of why this could be happening to these few recordcs and how to ensure the "Support Team" is the value showing up in the "Service Team" column?
    Thanks,
    Laurence

    Hi,
    You can go to the infoobject setting RSD1 and check the help f4 attributes and select only those which you want. this afect for infoobject 0COSTCENTER not for any specific query.
    regards
    Gopal

  • Regarding chossing the Business Partner Master Data

    Dear All,
                 I have one query regarding chossing the Business Partner Master Data. Let take an exapmle 
    suppose 2 sales person are making the sales Quotation and every sales Persons only making the quotaion
    for the specified leads or customers.Suppose Sales Person 'A' makes the quotaiton for 5 Leads and Sales
    Person 'B' makes the quotation for the different 5 persons.Now i want when  i Login into sales person 'A' Login
    and choose the Business Partner by pressing tab in sales quotation window , then that Sales Person 'A' can
    see only the Specified BP list which are belonging to his region.
    Thanks All.

    The access to Item Master and BP Master cannot be restricted to Users through Authorization. This is a known limitation of SBO.
    You can try this by using SDK.
    You can use Data Ownership Authorization, which means the marketing documents created by Sales Person 'A' will not be viewed by Sales Person 'B'
    Refer this thread for details
    [Customer master restriction in Marketing document.........;

  • Query in CRM to get data from Business Partner and Opportunity

    Need to develop a new query based on Business Partner and Opportunities in CRM. Not finding any link how to relate these two .

    Hi Vishal,
    BP is the Master Data, so load the master data first and then load the Transaction data for Opportunity Item and Header and then Create the quesry on the Opportunity Cube. Your problem is solved.
    Assign points if useful.
    Regards
    Vishwanath

  • Can I build a query to show monthly sales by item by business partner?

    Hi all
    Is it possible to build a query to show monthly sales (quantity not value) by item by business partner?
    So the table would look something like this.
                   Jan     Feb     Mar     Apr
    Item 1      10       4         8         7
    Item 2      4         3         5         6
    Item 3      4        12        9         3
    Item 4      1         0         1         2
    Etc...
    As you can see, the monthly figure needs to be quantity of the item and not sales value.
    Would be grateful for any help.
    Many thanks.
    Wendy

    Hi,
    Try this:
    declare @code as varchar(15)
    set @code = ( select max(ta.cardcode) from OINV ta where ta.cardcode = [%0])
    Select [a] as Cardcode, [B] as Cardname, [c] as Item#, [D] as Descr,[1] as Jan,[2] as Feb,[3]as Mar,[4] as April,[5] as May,[6] as June,[7] as July ,[8] as Aug,[9] as Sept,[10] as Oct ,[11]as Nov,[12] as Dec
    from(
    SELECT T0.[CardCode] as  A , T0.[CardName] as  B, T1.[ItemCode] as C, T1.[Dscription] as D, sum(T1.[Quantity]) as t,month(T0.[DocDate]) as month FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE year( T0.[DocDate]) = 2014 and t0.cardcode = @code GROUP BY T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription],T0.[DocDate] ) S
    pivot
    (sum(t) for month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Connecting to an old version 7.3.4

    Hi all is it still possible to connect to an old version of oracle database 7.3.4 using sqlplus that comes in bundle with the Oracle10g? I want to transfer data from the old db to the new one using database link ... below are the error message i got

  • Cross compiling apps on solaris 8 for solaris 10 x86 and x64

    Hi All, We have a few applications built on Solaris 8. and we want to build the same apps on Solaris 10 x86 and x64 but the problem is clearcase does not support Solaris 10 yet. Can we cross compile the apps on Solaris 8 for Solaris 10 x86 and x64 ?

  • Looking for an advice in changing to archive mode my DB

    Hello buddies! I'm going to change a DB from no archive mode to archive mode. It's a RAc with ASM, 2 nodes. What I need that somebody verify these steps and give me suggestions. 1. Login to one of the nodes (i.e. linux1) and disable the cluster insta

  • Eclipse instead of JDeveloper

    Hi, For developing portals in Webcenter can i use Eclipse instead of JDeveloper? Is there any plugins needed for Eclipse to use Webcenter? Regards, Venu--

  • Adding another web service

    How could I add another web service (like the ones hosted) to the main index page that link to another computer hosting a filemaker pro database? I would love for it to have the same look as the way the current page is. Thanks in advance. mark