Sending idocs for custom field

Hi
I need to send idocs when i save the data in field , the idocs should be  send automatically when the data saved to field, please provide the solution.
Thanks
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Jun 23, 2011 9:17 AM

Hi
In case you have created a structure for your custom fields and added it to the standard table then you would be looking for a user exit so that the data entered in those fields from the MM01 or MM02 screen gets stored into the database.
Over there you can trigger a custom event and start your approval workflow.
If the approval is given then set a parameter say Approval as X in the workflow.
Read the workflow container in your exit for this container element and if its value is X,then move the corresponding data to the desired structure or else clear it.
Lets say you have added fields in CJ01 and it has two exits for storing the data in database.PROJ is the table and custom fields added in CI_PROJ
EXIT_SAPLCJWB_002
move-corresponding sap_proj_imp to proj.
EXIT_SAPLCJWB_003 :
call F.M. swe_event create
wait for say a particular time limit after which it should be considered as auto rejected read workflow container for this approval value
if X
move-corresponding proj to cnci_proj_exp.
else.
fire another event to cancel the workflow.
endif.
I am not sure this would be an appropriate way but could be tried.

Similar Messages

  • How to create IDOC for customer defined table

    hi,
    How to create IDOC for customer defined table Records and how to send this IDOC to target system.
      what message type will be used and on receiving system how to post these records.
      thankx.
      pillac.

    Hi,
    You need to create a custom message type and custom IDOC type for this with whatever fields you want send. You need to create segments (WE30), IDOC type (WE30), Message types (WE81) and assign the message type to the IDOC type (WE82).
    You will have trigger the IDOC using a Report or something after doing the partner profile settings.
    Similary in the target system also, you will have do all the settings.
    Take a look the links to find out what settings needs to be done.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappro.com/downloads/OneClientDistribution.pdf
    Regards,
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

  • Send Idoc For Purchse Order

    Hi Friends,
    I have Configure All  the things require to send idoc for purchse order..........when i m creating purchase order from source system
    it's getting send to traget system....................
    but in target system giving error in idoc.that
    VKORG, VTWEG, SPART cannot be determined for customer S004 , vendor 0006000023
    i m using message type....ORDERS............
    can antbody pls tell me how to maintain  VKORG, VTWEG, SPART
    in oreders message type.......there no fields in this message type.......i have checked it through se19...............

    Hi ,
    I have same problem ,
    How to send IDOC of Purchase Order to URL of our vendor.
    The Idoc is created , but how to send it to the web?
    Anyone knows?
    Thanks
    Edited by: Moshe Stein on Feb 28, 2008 11:08 AM

  • Generate outbound idoc for Customer Master

    Hi Developers,
    I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
    Thanks in advance for helping.
    Regards,
    Gajendra

    Hi,
    If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
    If you want to send the idocs automatically, then you will to configure some program.
    Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
    Transaction SPRO
    SAP Customizing Implementation Guide -->
    SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
    Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
    Take a look at this thread.
    Re: automatic Idoc outbound
    Regards,
    Ravi
    Note : Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • Reg : F4 help for custom fields in ALV report

    hi friends..
    in my internal table i have fields including 1 custom field..
    DATA : BEGIN OF i_final OCCURS 0,
      pernr LIKE p0000-pernr,
      begda LIKE p0000-begda,
      plans LIKE ZPOSITION-plans,  (custom)
      werks LIKE pspar-werks,
      end of i_final.
    i want to display this i_final table in alv. for that i genetrate one fieldcatalog
    PERFORM fcat USING:
                      'I_FINAL' 'PERNR' 'P0000' 'PERNR' '15' 'X' '',
                      'I_FINAL' 'BEGDA' 'P0000' 'BEGDA' '10' 'X' '',
                      'I_FINAL' 'PLANS' 'ZPOSITION' 'PLANS' '8' 'X' '',
                      'I_FINAL' 'WERKS' 'PSPAR' 'WERKS' '14' 'X' ''.
    in custom table zposition, i maintain serch help for custom field "PLANS".
    then i used reuse_alv_grid_display.. for all the std fields along wit custom fields
    i got f4 all std fields but for my custom i am not getting the f4 help
    how can i get the F$ help for this custom fields Zposition-plans..
    plz give some idea

    Hi
    In that Ztable against the field
    PLANS give the check table name as  <b>T528B</b>
    then it will automatically give the search help
    or you can create your own search help(elementary) and add to that field
    Reward if useful
    regards
    Anji

  • Search Help for Custom field in Sourcing Cockpit

    Hi SRM Experts,
    I added custom field "rush order" in the Structures as per requirement. I added code in MODIFY_SCREEN function module. Search help is working for "rush order" in Process Purchase Orders (to search PO) and Check Status (Searching Shopping Cart). But it is not working in sourcing cockpit. Please guide or suggest me is there any additional settings or programming is required to have search help for custom fields in Sourcing Cockpit.
    Thanks a lot in advance.
    Thanks,
    Koyya

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • Sub: How to send idoc for IW31.

    Dear All,
    Content: My requirement is to send the idoc for maintanance order- IW31. I found the message type as IORDER. I am not able to use change pointer  IORDER is not matching, as i am not able to find the message type, when executing BD21 (for change pointer).
    Please let me know the procedure for sending idoc for IW31.

    This is what it worked for me, to create an INBOUND IDOC to transaction IW31:
    I converted BAPI_ALM_ORDER_MAINTAIN to an IDOC
    1) In transaction SWO1 copy model BUS2007A to ZBUS2007A (make sure set the status to implemented Edit->Change Release Status->Object type -> to implemented.
    2)In transaction BDBG, check Object type, Object ZBUS2007A, Method ORDERMAINTAIN
    you can check
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21740f51ce11d189570000e829fbbd/content.htm
    I Put in Message type ZORDERMAIN
    IDoc Type ZORDERMAIN01
    the function name will be: ZIDOC_INPUT_ZORDERMAIN
    3) configure transaction BD51
    4) Configure transaction WE57
    5) Configure transaction WE42
    6) and Finally Transaction WE20
    In my case it worked, still I modified function ZIDOC_INPUT_ZORDERMAIN, and in  the call function to BAPI_ALM_ORDER_MAINTAIN I  commented the releationship tables.(They were giving me some errors)
    Hope this info will help someone.
    Regards

  • Icon for customer field (field group)

    Hello!
    We have a need to follow-up one indicator through a customer field thanks to icon (like severities).
    Do you know if it's possible to manage that with the field groups for customer field (I couldn't achieve that yet), or if we have to develop a dedicated webdynpro application for that?
    Thanks!
    Matthias

    Hi
    You need to use programs provided by SAP  to handle dynamic behaviour.
    The idea is to store your BDC data into a file. (If you are already reading
    from a file, you still may have to write to a file suitable for the
    program).
    The SAP standad program can be called using a SUBMIT.
    Here are two programs that you can try :
    For creation of Customers : RFBIDE00
    For creation of Vendors : RFBIKR00.
    Regards
    Neha

  • Change Log for Custom fields

    Hi All,
    I need the change log for custom fields added in BP transaction codes.
    Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
    As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
    Please let us know if iam missing any other thing?

    Hi Amit Singh,
    Apart from clicking the checkbox in dataelement...
    There are some settings need to be done by BASIS
    and some settings and entries should be made in SCOD t-code
    create entriy for change document here..
    also hv a look on below links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
    Custom Table values in CDPOS and CDHDR
    scdo
    wat do these fields in scdo stand for?
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Strategy for Custom Fields

    Hi Everyone,
    I've a question related to handling of custom fields during upgrade.
    Scenario:
    9.0 delivered record has a custom field added to it.
    After initial pass, following happened.
    1. 9.0 delivered record was replaced by 9.2 delivered record structure
    2. Custom Field was deleted
    3. Data for the custom field was dropped too..
    Q1 What should be the best strategy to get the data and field back... Here is what I understand.
    Keep 9.2 record
    Add custom field to it.
    Import data for custom field from another 9.0 environment.
    Suggestions welcome.

    during initial move don't drop the custom added fields which are needed.
    This way you will not lose the data

  • Changed document for custom fields

    Hi All,
    For business transactions we can see <b>changed documents</b> under <b>Extras</b> menu.
    I have custom tabs & custom fields in business transaction. We need to see the custom field changes by value & user in the above menu. Is it possible? how?
    thanks,
    Bhushan

    Hi Murlidhar,
    My question is related to SAP CRM. The notes you suggested are not for CRM.
    Others, do you have any idea how to add/show records in "Extras-> Change Documents" of business transactions like Sales order, activities for custom fields not using EEWB.
    thanks,
    Bhushan

  • Master Datasource Update for custom fields

    I have a standard master data source for 0customer, I need some custom fields that are enhanced in the same SoURCE TABLE KNA1. please let me know if
    1.  i can create the generic data source Z_DS_CUSTOMER for custom fields only from KNA1
    2. Create transformation 1 to Map the data source Z_DS_CUSTOMER to Ocustomer to load the custom fields only and set no transformation for other standard fields
    3. Create transformation 2 to Map the data source 0customer_attr to same Ocustomer to load the standard fields.set no transformation for other custom fields
    4. Then Load via DTP Standard fields first via transformation 2
    5. Then Load via DTP custom fields first via transformation 1
    Will the above will work fine, and I can avoid any enhancement to master datasource 0customer_attr
    please help me with solution.
    Regards
    Soniya
    null

    Hi all my dear friends,
    I have seen the recommendation by my SAP collegue and Anil
    1. infoobject as Target and
    2. in between Standard DSO
    1 transformations as you mentioned from 1 IS
    3. Common Info source
    2 transformations as you mentioned from 2DS
    4. Datasources (2no's ) as source to splly to data to DSO
    <b>Please tell me what is the need to do all the above why can't I feed directly the Infoobject with the below PLEASE tell me what will be the bad impact on design if I do the below</b>.since my client is asking<b> justification for build of each BI object</b>
    1. infoobject as Target and
    1 transformations as  mentioned from 1 IS
    2. Common Info source
    2 transformations as mentioned from 2DS
    3. Datasources (2no's ) as source to splly to data to DSO
    I am not going for enhancement since it is not populating the datasource in rsa3. if you can correct that it would be great.
    I have the same code for all custom fields none of them is working no records are pulled in RSA3 For custom field ZZSTAT.
    Please help me with this
    Thanks
    Soniya Kapoor
    *data: l_BIW_KNA1_S like BIW_KNA1_S
    *case i_datasource.
    *WHEN ' 0CUSTOMER_ATTR'.
    *loop at C_t_data into l_BIW_KNA1_S
    *l_tabix = sy-tabix.
    *clear  I_KNA1.
    *select single * from KNA1 into i_KNA1 where kunnr = l_BIW_KNA1_S-kunnr.
    *if sy-subrc = 0.
    *l_BIW_KNA1-ZZSTAT = I_KNA1-ZINSTAT.
    *modify C_t_data from l_BIW_KNA1 index l_tabix.
    *endif.
    *endloop.
    *endcase.

  • Negative values for Custom field in SAP coding block !

    Hi All,
    Hope all of you are doing fine.
    I need your valuable suggestion/possible workaround for the following requirement.
    u2022 The project requires me to add a custom new field to SAP coding block, which can take negative numeric values.
    u2022 The standard u201Caddition of custom fieldu201D configuration allows me to have the data type of the newly added custom field as either NUMC or CHAR. NUMC data type does not allow negative values. Standard configuration does not allow me to choose other data types (for custom field addition) like QUAN which can allow negative values (by checking the Sign at domain level in data type).
    u2022 Moreover, once I have added the custom field, itu2019s not possible to change the data type of the newly added field (say from NUMC to QUAN).
    I wanted to know if anyone of you have any project experience/knowledge about possible workaround, where we can add a custom field in SAP coding block, which can accept negative numeric values (through standard configuration or otherwise).

    No experience on that, but I strongly advise you to not trying to do something else than what was designed by SAP. So, you can create a character type field, with for example a field exit (though this technology is obsolete, it's very useful in that case) to validate its content (and reformat it if needed).
    Note that from a functional perspective, I think an amount is strange in the coding block, so maybe ask the functional people to know why they need it...

  • Add additional tab on item level in contract for customer fields

    Hi Guys,
    Does anyone know if the following is possible in SRM 7.0, and if so can you please give a very short description how to accomplish this -
    In addition to the standard tabs available in the contract (general data, notes, conditions etc.), is it possible to add a new customer specific tab on item level, in a central contract and add some customer fields to this tab?
    I know it is possible to add customer fields in SRM, but I am curious if I can create a new tab for these fields, so that I can group all customer fields together in one place.
    Thx.
    Kind Regards,
    Skander

    Yes. it is possible but you have to take care of in the back end too and how these fields comes and sit in ECC. so that you may need to map in the IDOC or XI data . so that these information must be pssed to ECC and available  and accordingly you need to change in purchase order too since all these data will be copied into purchase order too.
    for example :- if you add one field in header level /item level of contract
    and it must be coppied into Backend contract as well as your next consecutive docuemnt like Purchase order must be taken care. hope you understand now.
    Muthu

  • Idoc for customer payment advice

    Hi all,
    We receive Idoc for payment advice from customer. Can some body tell me how can I read this information to match the invoice.I mean how can I map Idoc field to SAP internal tables.
    How do I know which Idoc field will hit which SAP table & which table.
    So please guide me about Idoc mapping & finding appropriate field for inbound idocs.
    Edited by: Nik Wallace on Aug 5, 2008 8:04 AM

    Hello,
    Customer of vendor payment advice is the advice informing the customer that the amount has been paid against which invoices.
    You need to configure the payment advice in FBZP or give them as part of variant in F110.
    When you run the automatic payment program, based on the FBZP settings, a payment advice gets triggered.
    You are able to see your payment advice in SP02. To generate payment advice correctly, please make sure your settings in Variant (F110) are correct. Any invalid entries will result in NO generation of payment advice.
    Hope this is useful to you.
    Regards,
    Ravi

Maybe you are looking for