Update of BP General Data during creation of BP

Hi,
I am currently using BADI ADDRESS_CHECK to perform an external check in a 3rd party application using XI to check if the customer name/address is flagged as a "denied party".
This works fine and returns the correct response if the check finds a denied party.
However, if this is the case ie. a denied party I want this to set some BP data accordingly during the same BP maintenance.
The data I need to set is as follows:
1. BP central block (general data)
2. BP status needs to be set
I have located function module BUP_MEMORY_BUT000_FILL that I am calling with a BP structure with the necessary block set to 'X' but it does not seem to do anything.
Can anyone provide details on how to call this function module to set BP general data during a create or a change of a BP as I must be missing something.
Also, can anyone tell me what the equivalent function module is for BP status data ?
Any help is greatly appreciated.
Cheers
Colin.

HI
You cud use the following BAPI's for BP general data
BUPA_CENTRAL_CHANGE
Have a look at the function group:BUBA_4 in package :BUPA
For status you could use the following
CRM_BUPA_FRG0050_CHANGE
CRM_BUPA_FRG0050_Create
CRM_BUPA_FRG0050_GET_DETAIL
CRM_BUPA_FRG0050_SAVE_COMMIT
Regards
Jay.

Similar Messages

  • Update of BP general data during creation of BP in transaction BP

    Hi,
    I wish to update some flags on a BP record based upon a call to an external system via XI in BADI ADDRESS_CHECK.
    This must happend during the creation of the BP record in transaction BP so do not suggest using any BAPIs as these will only work on existing BP records.
    However there is not a lot of documentation on how to achieve this.
    Any pointers greatly received.
    Cheers
    Colin.

    Hello,
    in this bapi the paramaters type is: RAW, so file of byte. How do you used it to modify data ?
    Tks.

  • Unable to select Quantitative data during creation of MIC while using  Clas

    *Unable to select Quantitative data during creation of MIC while using  Class characterstics*
    Dear All,
    I want to transfer MIC Result recording to Batch class.
    For that, i am trying to create MIC & giving class characteristic name in QS21, and then under control data,     I am unable to select, Quantitative. By default system is selecting Qualitative. But I want to create that MIC as Quantitative.
    Is there any setting for this?
    Please help...
    Thanks in advance
    Edited by: Sitarami Reddy  Kummeta on Nov 30, 2009 6:44 PM

    Hi
    to have master inspection characteristic quantitative ,the  class characteristic must be of  format "NUM":
    Regards
    Sujit

  • Sending BP data during creation from BADI

    hi experts,
    i want to send a business partner's data during business partner creation in CRM through a BADI. do you know any of the BADI's for this purpose where i can get all the BP data entered by the user and i can send it wherever i want?

    Hi Sager,
    So here we go....
    You can change the general flow in this fashion: Create/ Change any BP ,Activate the debugging and save it. Put the breakpoint for Method "__OUTBOUND_HANDLER" for class "CL_SMW_MFLOW". Press F8. You debugger should stop here.
    You will see the peace of code mentioned below:-
    Determine processing depending on debug processing, update processing 
    or synchronous processing                                             
      IF in_updatetask EQ c_false.                                          
        IF NOT ch_header-qname IS INITIAL OR NOT lt_queues IS INITIAL.      
        Check for debug mode. In debug mode, don't create qRFC entry      
    Delete the value of fields "in_updatetask" & "ch_header-qname" , and then press F8 now with this it should stop to your BADI givne the condition that you have breakpoint set for the BADI.
    Hope this will help.
    Best regards,
    Vikash

  • Customer master-general data-attribute-creation

    Hi,
    I would like to use the attribute 1 to 10 fields in customer master general data to fill up relavant to customer . i have seen some SCN postings regarding activation of those fields technically.
    i want to create some data in the attribute same like customer group 1 , while creation of customer master , i shall select the drop down and save it
    what is the menu path/transaction code for that please
    Thanks and regards,
    Pratheep

    Hi
    Check this menu path and also check below document in which Suhaib Bin Aziz has explained how to find SPRO path from front end screen.
    How to find SPRO Path from any Particular Screen
    Thank$

  • Update VBUP-FKSTA (billing relevancy) during creation of invoice

    Hi,
    We pack items in a delivery. Due to this an extra item is added to the delivery with a ZPAC item category. This item category is set as billing relevancy.
    We have created a requirement in copy control that we only want these items in the intercompany invoice, and not in a regular invoice F2. The invoice is created for the customer without the packaging materials and the intercompany invoice has all the items. This requirement is only in a specific scenario for only one shipping point. The customer does not need to pay for the packaging materials, but the intercompany sales organization does.
    Now the delivery is still open because the billing relevancy is 'A' (vbuk-fksta), but we actually do not copy it to the invoice. The billing relevancy for the intercompany (vbuk-fkivp) is set to 'C'. We would like to set the vbuk-fksta automatically (if possible) during creation of the F2 invoice to 'C'.
    We know transaction VL_COMPLETE we can do this manually.
    I tried some user exits but at the moment I can not find the routine where it actually updates this status. And whether there is a user exit (or enhancement) possible to influence this ourselves, so we do not need to update this by hand.

    Hi
    KIndly check the oss note  445763 it may help you
    or
    write the code with the help of ABAPER  by selecting  and updating the below tables
    VBFA, VBUP & VBUK
    Regards
    Damu

  • Validation of vendor data during creation

    Dear all,
    I can create same vendor with two different addresses but same PAN no, by two different vendor codes. The system does not validate the PAN no. when creating a vendor ie. it does not check whether some one else has already been registered with same PAN number?
    How can we validate the PAN no of the vendor, during the creation of vendor master data?
    Regards.
    Milind

    Hi,
    This field can not be validated in Vendor Master because this is not stored in Vendor Master Tables (LFA1. LFB1, etc...). This is stored in Excise Table J_1IMOVEND-J_1IPANNO
    Table Name is J_1IMOVEND - Vendor Master Excise Additional Data

  • Retrieve item level dates during service order creation before saving

    I have a requirement where I need to retrieve item level date (First Response i.e. APPT_TYPE as SRV_RFIRST) and modify the date and put it back to the same screen field when ever a line item is entered.
    To do this we found a BADI CRM_SERVICE_I_BADI which triggers when ever we enter line item. We tried many FM which retrieves item level dates from buffer CRM_DATES_READ_MULTIPLE_OB; CRM_DATES_READ_SINGLE_OB;
    CRM_DATES_READ_SINGLE_OW;
    Most of them are returning all the dates except first response. No configuration issues. Can anyone help me how to get the first response date during creation.
    Thanks
    Vamsee

    Hi Vamsee,
    Do you happen to know the solution? We have similar issue too as we can not retrieve the new entered dates and process it in BADI CRM_SERVICE_I_BADI.
    I would appreciate your reply if you have a solution.
    Thanks,
    Bin

  • Update the "remark" field in general data of a BP (using IDOC in LSMW)

    Hi,
    I have to create and udpate BP with comments in the general data. I have no problem to manage this field in creation mode. I only use the segment "E101BAPIAD_REM" from the "CRMXIF_PARTNER_SAVE_M02" Idoc basic type. I fill the following fields: "LANGU, LANGU_ISO, ADR_NOTES".
    However in update mode I don't success to update the value for the field "REMARK". I use the second segment "E101BAPIAD_REX" and i fill only field "ADR_NOTES" with value "X" and "UPDATEFLAG" with value "U".
    I tried several value and several cases but i failed each time. If anybody has already managed this data with IDOC I would be very interesting...
    regards,
    Fabrice Mouyebe.

    Hi Thirumala,
    thank you for your answer but you speak about the field "AddressGUID" of E101BUS_EI_ADDRESSREMARK but I haven't this field at this level. This field is linked to the segment "E101BUS_EI_BUPA_ADDRESS_KEY", isnt'it ?
    Effectively i have certainly a problem with the Address GUID. I have to test it because it doesn't work with only UPDATEFLAG at 'X' and CURRENT_TASK too.
    Thanks,
    fabrice.

  • Update real time account general data into a custom table

    Hi,
    I have created a z table for storing account general data for some business requirement. I have created a program and executing batch job to update this z table on periodic basis. Can anyone suggest some other alternative solution to update this z table whenever an account gets created/modified in CRM system? Instead of running a batch job periodically, I need a real time replication of the account data in this custom table.
    Thanks and Regards,
    Sneha.

    Hi,
    Thanks for your reply.
    But, Can you elaborate the solution, Can we use Business Transaction Events(BTEs) for updating Partner data? Will these be triggered for Account Creation/Modification. If so, Can u suggest any BTE which can be used for my requirement?
    Thanks and Regards,
    Sneha.

  • How to update line items if it exceeds 17 during creation of SO in va01.

    Hi,
    I have implemented one logic in mv45afzz for updating IO (internal order) with respect to line items during creation of SO through VA01.
    It is working fine.
    My problem is: For first 17th line items it is working fine , but those line items which come after 17th not working.
    Please suggest.
    Thanks,
    Sakti

    Hi,
    Pls find the below code for your reference.
    LOOP AT xvbap INTO wa_xvbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = wa_xvbap-matnr
          IMPORTING
            output = wa_xvbap-matnr.
        IF ( wa_xvbap-matnr = c_matno_1 OR
           wa_xvbap-matnr = c_matno_2 ) AND
           wa_xvbap-updkz <> 'D'.
    *Before changing container number first check first check the IO attached to
    *this container number fully settled or not.
          IF NOT yvbap[] IS INITIAL.
            SORT yvbap[] BY vbeln posnr.
            READ TABLE yvbap INTO wa_yvbap WITH KEY vbeln = xvbak-vbeln
                                                    posnr = wa_xvbap-posnr
                                                    BINARY SEARCH.
            IF sy-subrc = 0 AND
              ( wa_yvbap-arktx <> wa_xvbap-arktx OR
               wa_yvbap-z_container_no <> wa_xvbap-z_container_no.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output1.
              CONCATENATE 'ORX'
                          wa_yvbap-z_container_no
                          INTO g_objnr1.
              SELECT SINGLE *
                          INTO wa_cobrb_sdi
                          FROM cobrb
                          WHERE objnr = g_objnr1 AND
                                konty = l_output1.
              IF sy-subrc <> 0.
                CONCATENATE 'ORY'
                              wa_yvbap-z_container_no
                              INTO g_objnr1.
                SELECT SINGLE *
                            INTO wa_cobrb_sdi
                            FROM cobrb
                            WHERE objnr = g_objnr1 AND
                                  konty = l_output1.
              ENDIF.
            ENDIF.
          ENDIF.
    *If the Io is fully settled, then can not change container number.
          IF wa_cobrb_sdi-ersja IS NOT INITIAL.
            MESSAGE s303(me) WITH 'Container can not be changed as IO already settled for' wa_yvbap-posnr.
            CLEAR:wa_yvbap,
                  wa_cobrb_sdi,
                  g_objnr1.
            PERFORM folge_gleichsetzen(saplv00f).
            fcode = 'ENT1'.
            SET SCREEN syst-dynnr.
            LEAVE SCREEN.
          ELSE.
    *Check container number is initial or not
            IF wa_xvbap-z_container_no IS NOT INITIAL AND tcode = c_va01.
              CONDENSE wa_xvbap-z_container_no.
    *Add 'X' to container number and serch for IO exist or not
              CONCATENATE c_x
                          wa_xvbap-z_container_no
                          INTO l_aufnr.
              SELECT SINGLE aufnr objnr
                         FROM aufk
                         INTO (g_aufnr,g_objnr)
                         WHERE aufnr = l_aufnr.
              IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                l_flag = 'X'.
              ELSE.
    *Add 'Y' to container number and search for IO
                CONCATENATE c_y
                            wa_xvbap-z_container_no
                            INTO l_aufnr.
                SELECT SINGLE aufnr objnr
                          FROM aufk
                          INTO (g_aufnr,g_objnr)
                          WHERE aufnr = l_aufnr.
                IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                  l_flag = 'X'.
                ELSE.
    *Display error message if Io was not found or forgot to enter IO in description field
                  MESSAGE s083(me) WITH 'IO was not found for' wa_xvbap-posnr.
                  PERFORM folge_gleichsetzen(saplv00f).
                  fcode = 'ENT1'.
                  SET SCREEN syst-dynnr.
                  LEAVE SCREEN.
                ENDIF.
              ENDIF.
           ELSE.
            ELSEIF tcode = c_va01.
    *Display error message if user forget to enter container number
              MESSAGE s083(me) WITH 'container number for' wa_xvbap-posnr.
              PERFORM folge_gleichsetzen(saplv00f).
              fcode = 'ENT1'.
              SET SCREEN syst-dynnr.
              LEAVE SCREEN.
            ENDIF.
            IF l_flag EQ 'X'.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output.
              CALL FUNCTION 'CONVERSION_EXIT_PERBZ_INPUT'
                EXPORTING
                  input  = c_ful
                IMPORTING
                  output = l_ful.
    *Fetch 1st line of settlement rule
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_gl
                IMPORTING
                  output = l_gl.
              SELECT SINGLE *
                    INTO wa_cobrb_gl
                    FROM cobrb
                    WHERE objnr = g_objnr AND
                          konty = l_gl.
              IF sy-subrc EQ 0.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ELSE.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no_1.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ENDIF.
              IF wa_cobrb_gl IS NOT INITIAL.
                wa_cobrb_gl-gbisp = wa_cobrb-gabpe - 1.
                wa_cobrb_gl-gbisj = wa_cobrb-gabja.
                APPEND wa_cobrb_gl TO gt_cobrb_gl.
              ENDIF.
         ELSEIF wa_cobrb-ersja IS NOT INITIAL.
           MESSAGE 'Container number can not be reassign' TYPE 'E'.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR:wa_cobrb,
              g_objnr,
             wa_aufk,
              wa_cobrb_gl,
              wa_cobrb_sdi.
      ENDLOOP.
      IF l_flag EQ 'X'.
    *Create 2nd line for settlement rule.
        SORT gt_cobrb[].
        DELETE ADJACENT DUPLICATES FROM gt_cobrb[].
        IF NOT xvbak-vbeln IS INITIAL AND tcode = c_va01.
          IF NOT gt_cobrb[] IS INITIAL.
            CALL FUNCTION 'K_SRULE_SAVE_UTASK'   "IN UPDATE TASK
              TABLES
                t_cobrb_insert    = gt_cobrb[]
              EXCEPTIONS
                srule_utask_error = 1
                OTHERS            = 2.
    Thanks,
    Sakti

  • Enhancement during creation of outbound delivery to update serial number

    Dear ABAPers,
    Is there any Enhancement during creation of outbound delivery to update the serial number.
    My Requirement is In the VL10B transaction Outbound delivery will be created for the Purchase Order. During this time i want to update the serial number in the Outbound Delivery.
    Any Replies.....
    Thanks & Regards,
    Ashok kumar.
    Edited by: M Ashok kumar on Jul 22, 2010 6:41 AM

    hi
    check INVOICE_UPDATE
    Thanks
    Edited by: saurabhmani on Jul 22, 2010 3:00 PM

  • How To... Update Master Data during upload of transaction data

    Can anybody let me know how this can be achieved.
    I have datasource (Legacy not R3) where I am getting both master data and text for number of infoobjects.
    I dont want separate datasources.
    The datasource is actually transactional datasource.
    I dont need text in the cubes or DSO I need the text tables of the infoobjects to be updated.
    I could find this on SDN but do anyone have document based on the below link.I was not able to find it.
    How To... Update Master Data during upload of transaction data
    Thanks.

    Dear Praveen
    I guess yr req is demanding the knowledge of Data Unification and Synchronization whose scope is a bit outer the area of BW.( its MDM actually )
    In BW we could very well fetch data out of different data sources (even across the different system) with no issues so why not u trying that. if there is any issue implementing that then please specify what kind of trouble you are interfacing...
    I got the below link which may be helpful
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bd6389-0a01-0010-eb95-d45835d446a8

  • Massive Update of Return Vendor flag and creation of Customer Data

    Dear.
    For many vendors I need to run a massive update of return vendor flag of purchasing data and creation of  the linked customer.
    I have tried to create a batch input recording using LSMW but the system send an error message WY164  It is not possible to copy data from field 'Returns with shipping proc.'
    How can I solve this problem ?
    Or do you know another solution to run a massive update of return vendor flag of purchasing data and  creation of  the linked customer ?
    Thanks

    hi,
    Pls go through the SAP note 447070...
    This may solve the problem...
    check it once..
    Regards
    Priyanka.P

  • MSS 1.41 - General Data iView - Content not updated

    Hi Gurus,
    This is the first time I have this clue and i'm not able to find anything in the forum concerning this topic.
    A manager login the portal and selects an employee through Employee Search iView.
    General data iview displays his organizational information but not updated.
    This employee changed position on 01.01.2014, data are up-to-date in IT1 but still the oldest data are displayed.
    Nothing can be customizing in SPRO neither in PCD.
    Maybe a parameter to add in the iview config...
    Iview used : mss.generalinfo_generaldata
    Thank you in advance for your advices.
    Matthieu

    Did you check the org.unit and his positions relations ships dates are valid as per IT0001 record.
    can you place the screen shots for more clear on this issue ...

Maybe you are looking for

  • How to set tabstops in MS Word using the LabVIEW Report Generation Toolkit

    Using the Report Generation Toolkit of LabVIEW, I need to set multiple tabstops that very in distance in MS Word.  I also have different sets of tabstops that I use and re-use at different times in the same report.  Is there a way to set the tabstops

  • How to Stop confirmation popup arising for datepicker control in IE

    Hello All, I m using a confirmation popup to notify user when they try to navigate away from the page with out saving the changes made. I executed it through the javascript and it even works properly for most of the items and buttons except Datepicke

  • How to use the FBean package?

    I really haven't a clue what i am doing but using the online help i constructed the following code in my forms "when-new-form-instance" trigger. I then created a bean item in my control block called 'MyBeanArea'. I ran the form and nothing happened,

  • RDBMS adding a device

    If I want to add a new IOS router and have it authenticate using Radius (CiscoIOS/Pix6)? I will be using Action Code 220 and in V3, I will be using the VENDOR_ID_CISCO_RADIUS. Would this be the same value? Thanks Dwane

  • Time machine not backing up after Mavericks installation

    Just upgraded to Mavericks and now Time Machine seems really buggy. I can manually get it to "back up now" but its not doing automatic backups anymore. I also get the "preparing backup" message which lasts for a long time, maybe because its not backi