BOR enhancement

Hi experts,
I need to include some Z fields in Marketing Campaign object (BUS2010020). To do this, I inserted two new Z fields in marketing campaign using EEWB functionality.
I need to execute an action profile depending on the Z fields value. I created a BUS2010020 subtype with my new two fields as attributes (selecting the structure ZCRMS_MKTPL_EEWUIBD01 and ZZSECTOR and ZZCANAL as fields)
Then I know that I have to implement the associated programm in order to get the values. Now, I have the following two codes:
GET_PROPERTY CANALR3 CHANGING CONTAINER.            
  SWC_SET_ELEMENT CONTAINER 'CanalR3' OBJECT-CANALR3.
END_PROPERTY.                                       
GET_PROPERTY SECTORR3 CHANGING CONTAINER.            
  SWC_SET_ELEMENT CONTAINER 'SectorR3' OBJECT-SECTORR3
END_PROPERTY.        
Could anyone help me in order to develop this code please?
Thanks in advance
Regards
Javier Merino

Hi,
  Check the links
http://www.sapgenie.com/abap/bor.htm.
http://www.sap-img.com/workflow/sap-workflow.htm
http://www.sapgenie.com/workflow/index.htm
https://sapneth9.wdf.sap.corp/workflow
http://help.sap.com/saphelp_webas620/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Check this Sample code.
get_property items changing container.
tables vbap.
refresh object-items. clear object-items.
data item type swc_object.
data: begin of vbap_key,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
end of vbap_key.
vbap_key-vbeln = object-key-salesdocument.
select * from vbap where vbeln = object-key-salesdocument.
vbap_key-posnr = vbap-posnr.
swc_create_object item ’VBAP’ vbap_key.
append item to object-items.
endselect.
swc_set_table container ’Items’ object-items.
end_property.

Similar Messages

  • Enhance BOR for Billing document

    Hi ,
       I have a requirement to enhance the BOR with two extra fields. Can you please let me know, how i shud proceed.
    Thank you.

    Hi ,
    If you want to add a import field u need to have a acess key.
    Else
    you need to copy the function module and needs to implement your own Z F/M  fields are to be inserted.
    After insertion go to T-code SWO1 and place BUS2037 then add ur z funtion module in BAPI: Billing Document
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • Enhance standard BOR object BUS2202

    Hi,
    I'd like to enhance the standard object BUS2202, with an additional attribute (Offer total value).
    Can someone help me with the different steps to be done:
    -Specific object creation (how to manage object inheritance? my ZBUS2202 derivates BUS2202 or the contrary ?)
    -Make the standard to use the created specific object ZBUS2202 instead of the standard BUS2202 one
    Thanks in advance for your help.
    Vadim

    Hi Vadim,
    As you know, ia m not a WF expert
    but maybe you will find something interesting in the following document :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a6d6d4bb-0601-0010-5f92-e5b8bdc74f19
    Kind regards,
    Yann

  • Enhancing BOR objects in EHVD transaction

    We are using IS-U 4.72. The IS-U data environment can be displayed in HTML format from interaction center screen. The configuration settings for viewing different objects and attributes are done through transaction code EHVD.
    We are having some requirements which are not available in EHVD structure.
    Please let me know how to enhance the EHVD structure and it's attributes.

    This can be achieved through implementing BAdI:
    ISU_CIC_ENV and ISU_CIC_EWHV
    Thanks and regards,
    Kaushik Das

  • Error while defining BAPI method in the BOR

    Hi all,
    I am following a document and trying to learn BAPIs. Now, after an object type is created through SWO1, from Utilities -> API Methods -> Add Method, I am asked to enter a function module name. Shouldthis FM be already existing one? When I gave some name there and entered, it's giving an error
    BAPI : BAPI function module ZBAPI_GET_BILL_ITEMS has no return parameter
    Diagnosis
    The system checks that the RETURN parameter has been defined in both the BOR and in the function module. The parameter must refer to one of the BAPI return structures (all planned reference structures can be used for BAPIs up to and including Release 4.6B; but from Release 4.6C only BAPIRET2 can be used).
    The BOR parameter must be type EXPORT (one line or multi-line) and the function module parameter must be type EXPORT (if one line) or type TABLE (if multi-line).
    Procedure
    Create a RETURN parameter for the function module. Also define the reference of the BOR parameters to the function module parameter in the BOR ("Name in function module").
    Note that only incompatible changes can be made to BAPIs already released and delivered.
    Find out about enhancing or modifying BAPIs that have already been delivered by calling the BAPI Explorer (Tools -> BusinessFramework -> BAPI Explorer) and reading the project form "Project to change an existing BAPI".
    Can anybody help me out, please?

    Hi ,
    In the export of that fm u have to give this.
    parameter name typing   associated type
    RETURN        TYPE            BAPIRETURN      
    Regards

  • Parameter BP (CRM to R3) for BOR based transaction launcher

    Hi,
    Our requirement is to display R3 sales order(VA03) through IC webclient. The BP no of the confirmed business partner should be shown as default in the Sold to party field of VA03 transactn screen.
    Steps followed -
    1. Created a BOR transaction launcher with 'BUS2032', method - display.
       Selected the Import parameter name - ICWEBCLIENTBORKEYPARAMETER.
       I could not find any Import parameter value corresp to BP number, so left the Import Parameter value as blank.
    2. In the trans launcher generated class, method 'PREPARE_DATA_FLOW' added the following code -
    CALL METHOD __gdc->get_entity_attribute_as_value
        EXPORTING
          path  = '//currentCustomer/BP_NUMBER'
        IMPORTING
          value = lv_bpid.
    PASS PARAMETERS TO THE BOR OBJECT FOR PROCESSING IN THE ECC
      me->set_container_data(
      iv_name = 'RV45S-KUNNR'
      iv_value = lv_bpid ).
    It launches the VA03 screen but the BP no is not passed to the sold to party field.
    Please provide your inputs. Anything helpful would be rewarded.
    Thanks,
    Akanksha

    Hi Jan,
    Thanks for this information.
    I passed the BP no in 'icwebclientborkeyparameter' and then using the below code in prepare_data_flow method-
    me->set_container_object(
       iv_name        = '<MAINOBJ>'
       iv_object_key  = icwebclientborkeyparameter
       iv_object_type = gv_bortype ).
    But it still doesnt work.
    Do i need to create a Z copy of BOR object 'BUS2032' and then do some enhancement in BOR object - display method also?
    Regards,
    Ak

  • Business object /Enhancement/Badi  for Payment proposal (F110S)

    Hello All
    I need to trigger a workflow when payment proposal(F110S) is executed.
    Is there any BO available or is there any Badi/enhancement available where the workflow can be triggered.
    Thanks

    Hello,
    Your best bet would be to search this forum or the web for F110S and hope someone else asked the same question and got an answer. Otherwise, start looking through the list of BORs in SWO1 to look for some likely names.
    It's also possible that you'll have to make your own BOR or Class. It's not that difficult, but it's preferable to go with an existing one.
    Please let this forum know the result of your search for the benfit of future users with the same question.
    regards
    Rick Bakker
    hanabi technology

  • BOR for F-53 AR Module Outgoing Post Payment

    Hi,
    I want to trigger the workflow evertime Outgoing Post Payment has been posted. in transaction F-53. Please advise which BOR that i can use.
    Thank You and Best Regards
    Fernand Lesmana

    Hi FL,
    F-53 is an accounting document. To trigger event for F-53, you will have to use BTE (Business Transaction Events).
    Goto SPRO -> Reference IMG -> Financial Accounting -> Global settings -> Tools -> Customer Enhancements -> Business Transaction Events
    Here, Environment -> Info system (P/S) and execute.
    You can select the event for your scenario.
    Once you select the event, click on the event and select 'Sample function module'. Copy this sample FM to a 'Z' FM and in this FM call the FM 'SWE_EVENT_CREATE'.
    Hope this helps.
    Thanks,
    Ajay

  • BOR events as user-exits?

    Hi!
    Is it possible to use BOR events as enhancements (user-exits) in ABAP?
    For example, the BOR object "BUS1178001 - Material" has event "Material.Created". I suppose this event is raised when an article was created in Material Master.
    Is it possible to "capture" this event by ABAP program (class, function...)? Perhaps by creating a workflow with just one step: background execution of ABAP code?
    Has anyone tried something in this direction?
    Thanks in advance!
    Kind regards,
    Igor

    Hi, Darren,
    Thanks for your hint! Sounds excellent. Before I proceed, could you verify my assumptions?
    I suppose that in my case "Change doc. object" = "MATERIAL", "Object Type" is "BUS1178001" and "Event" is "CHANGED".
    Then I check the "On Change" option. These settings seem redundant to me. Why "On Change" option button and "CHANGED" event? Don't they have the same meaning?
    "Event Container" should hold my function name, like "ZCOPY_SWE_CD_TEMPLATE_CONT", right?
    What about other function fields: "Object Type" and "Event ID"?
    Can I debug this when I create/change Material?
    If you have some example settings or code, I'd appreciate if you posted them.
    Thanks!
    Igor

  • Want to create custom BOR object

    I want to create a  custom BOR object ZMSN in SWO1 so what value should I put in for these filed
    1: super type
    2:object name
    3:name
    4:program
    5: application

    If you are creating the Custom business object ZMSN then.......put the follwoing values in parameters
    1: super type      :---   Leave it blank ...it is used only when we are enhancing( create a deletgate BO)
                                     standard business object
    2:object name     :-- Give any relevant name like ...ZMSN
    3:name               :-- Give any relevant name like ...ZMSN
    4:program           :--  Give any relevant name like ...ZMSN  
    5: application      :--  Select the relevant functional area for which u r creating it....like 'F' --> finance
                                   'H'> Human resource, 'R'-> if Function area is unknown

  • Boris updated for Intel

    This might be old news but I just got a newsletter from TOOLFARM with this link:
    http://borisfx.com/
    Boris FX Qualifies RED, Graffiti and FX for Intel-based Macintosh Systems!
    Boris RED, FX and Graffiti are now some of the few effects/graphics applications to run natively on the new Intel-based Macintosh systems.
    Boris Graffiti 5 now available!
    Delivering advanced image treatment tools and enhanced core processing for professional title creation.
    FX 9 now available!
    Boris FX version 9.0 hits the streets with a fresh new look and 100 plus new effects creation tools.
    Boris RED 4 now available
    Further enhancing integrated 2D/3D compositing and effects creation capabilities for industry standard NLEs.
    bogiesan

    Thanks, bogie...
    Patrick

  • Bapi-bor

    Hi
    all,
    ITs urgent,
    i have created one bapi i.e in se37 one function module has been created and it has been released there,now when i am adding it into tran swo1. its giving error message
    BAPI : Method does not define a RETURN parameter .
    although it has been define,plese help me out,
    earlier reply will be highly appreciated and it can been seen by the point

    Hi,
       Please validate your settings against the recommendations of the long text for message S&(537):
    NA S&537
    Short Text
         BAPI &1: BAPI function module &2 has no return parameter
    Diagnosis
         The system checks that the RETURN parameter has been defined in both the
         BOR and in the function module. The parameter must refer to one of the
         BAPI return structures (all planned reference structures can be used for
         BAPIs up to and including Release 4.6B; but from Release 4.6C only
         BAPIRET2 can be used).
         The BOR parameter must be type EXPORT (one line or multi-line) and the
         function module parameter must be type EXPORT (if one line) or type
         TABLE (if multi-line).
    Procedure
         Create a RETURN parameter for the function module. Also define the
         reference of the BOR parameters to the function module parameter in the
         BOR ("Name in function module").
         Note that only incompatible changes can be made to BAPIs already
         released and delivered.
         Find out about enhancing or modifying BAPIs that have already been
         delivered by calling the BAPI Explorer (Tools -> BusinessFramework ->
         BAPI Explorer) and reading the project form "Project to change an
         existing BAPI".
    Further notes
         For more information see the BAPI Programming Guide in the SAP Library
         under CA-BFA.
    Regards
    Kiran Sure

  • Enhancement to a cube

    Hi Gurus
    I am working on BI 7 and as per a requirement i had to add 2 fields i.e calmonth(0CALMONTH) & a key figure namely document number (0CRM_NUMDOC) to a cube, now in tranformation calmonth is being mapped to a field in the DSO name of the field being, date field(0CRM_CRD_AT) and the key figure is being mapped with field of the same name in the DSO.After adding the fields to the cube and performing the full load i do not see the result for all records of the 2 fields that were loaded in the cube.kindly suggest..points will be hansomely awarded

    Hi Sharma,
    As u said the fields to be added to the cude, in this case the DS is already having this fileds and not mapped at the intal satage of mapping....????
    Can you check in RSA3 whether these fields that you have added does contain the Data for this perticluar Datasource.
    If you have enhanced the data source then u have to chek at the source system level itself.
    Since you are using BI.7 the DTP method then there is only 1 place that you map is in Tranformations.
    In this place it is direct map and 0CALMONTH if you map to any data field it will take the conversion automatically.
    Same way the Key field also if it is a direct field then it has to come.
    Best Regards,
    VNK.

  • Enhance MR11

    Hello Gurus ,
    I am trying to enhance MR11 Transaction (Report : SAPRCKM_MR11) .  Here i am adding GR  and  IR  posting date(BUDAT)  as selection field  .
    Requirement is that MR11 should consider  Gr and IR for that period.. compare and show the difference .
    In the program
    I added posting date(BUDAT)  in the select query to  'v_ckmlgrir' .  and it is picking all the records with in that period , open and cleared both .
    1)   But I want only the open one .....and I dont see any flag for that ....so is there any way i can get only the open items ?
    2) I observed that if i dont specify posting date ...I mean just run the standard MR11 ...then also it picks up open and cleared items ....but during processing it is considering open only don't know why ..i debugged it  its going through every item item but in the end considering open only which is correct ....so not understanding why its not doing the same if i restrict it to posting date .....
    any suggestion is greatly appreciated !!
    PS : GR/IR account   open items I can see from FBL3N .

    If you are using an account assigned PO then possibly the order(PM order, internal order etc) to which your PO refers might have status as CLSD.
    Check and reverse the status.

  • Extractor 0FC_BP_ITEMS - Business Partner Items Enhancement

    I'm looking at using 0FC_BP_ITEMS extractor to extract Open and cleared items. Has anyone worked on the enhancement of this extractor. If so what are the steps involved in enhancing this extractor?  Is it similar to the Full load extractor 0FC_CI_01 and 0FC_OP_01. Any help will be great.

    Hi,
    Please have alook in help.sap.com- Netweaver- BI Content-FICA.
    This is not same as those two datasources which you mentioned. This datasource will give you delta records.
    Regards,
    Asish

Maybe you are looking for

  • Text Messaging Issues between my family members.

    I have one Apple ID that is used between my iPhone, my wife's iPhone, and my son's iPhone.  Without knowing exactly what iCloud was, we all turned it on.  We quickly learned that all of our contacts were merged together, contact names were changes, e

  • Image in header help needed

    The image in the header is previews in design and IE6 properly and looks good. When previewed in IE7 the header and the footer go beyond the box about 1 inch. Can someone help? I'm new to this, and I don't know where else to look. I've changed the bo

  • Template Update on Remote Server - How To?

    When I make a change to my template, I get the popup window that allows me to update the entire site or just files connected to a template. But, that just updates files on my local computer. I'm accessing the template file on the remote server and ha

  • Working on an external drive

    1. What should I look for when looking for an external drive to capture to and edit from? 2. When working with the external drive, do I just need to Set the Scratch Disk, Video Capture, Audio Capture, Video Render, and Audio Render to the root of the

  • NOKIA 5530 need help...

    Hello everyone .. I can somehow fix my Nokia 5530 XpressMusic phone? I am installing software suddenly my phone to power down and when I try to turn on the phone menu button lights up and shuts down! and do not go on .. anyone can help me? which prog