Need to create Customer to multiple sites record in one run.

Hi all,
we have one table called (e.g.) Prospect. To this table we can associate three different sites: one the legal
site, one admin and one for logistic. All the three sites refer to the main Prospect table via the Prospect_id
and related info are all saved into the same Site_all table (the site type is not stored directly into the site_all
table but via a use_site_all table, similarly to what happens with some standard OApps tables).
We need to create the Prospect and associated three sites via an OA Framework page (actually multiple steps).
So to visually resume:
_ Site1 ---- use:legal
Prospect - Site2 -- use:admin
- Site3 --- use:logistic
What's the best approach to achieve the creation of the records in the tables ?
a) to add three EO for the Site table (with related AO) and one big ProspectAllVO view object containing all the fields
from the three EO ?
b) to add just one EO for the site and reference it three times while defiing the ProspectAllVO ?
c) to specify a View Link (but this should be done three times and I'm not sure how to synchronize and manage
the transaction for the creation ?
d) AOB ?
Thanks in advance. Regards.
Giuseppe Naldi

is it really just one IDOC?
I have never seen that SAP just does a part of one IDOC.
the structure of DEBMAS ist like this:
E1KNA1M
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNB1M
which means for your example it should be like this
E1KNA1M
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNB1M
and in this case I am very certain that it would never just process and create the part for one sales area.
Maybe your customer already exists from ealier tests with just one sales area.
Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field

Similar Messages

  • Create customer and more site with credit limit by customer interface

    hi everyone
    I want to create customer with more site with credit limit by interface
    I mean i have one customer but it has a lot of site with different credit limit
    how to do this by interface
    plz

    Thanks

  • Need to Create Customer Master Data under Multiple Sales Areas

    Hi Gurus,
             My requirement is to create a customer under multiple sales areas by processing the Inbound Idoc function module "IDOC_INPUT_DEBITOR"( After generating Outbound Idoc and outbound is processed successfully).
             But, when I am trying to send the multiple sales areas information in segment "E1KNVVM". It is creating the customer under first sales area filled in first E1KNVVM segment and it is giving error that "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1" and it is not creating the customer under other sales areas.
            Following are the details of the Outbound Idoc which I have processed.
            Idoc Basic type : DEBMAS06
            Message          : DEBMAS
            I have filled required fields in E1KNA1M and E1KNVVM segments. But filled E1KNVVM segments  twice with different sales area data.
          Please help in solving this problem?

    is it really just one IDOC?
    I have never seen that SAP just does a part of one IDOC.
    the structure of DEBMAS ist like this:
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    which means for your example it should be like this
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    and in this case I am very certain that it would never just process and create the part for one sales area.
    Maybe your customer already exists from ealier tests with just one sales area.
    Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field

  • Urgent help needed in creating customer ship_to and bill_to site id

    Hi,
    I am using an api to create customer ship_to and bill_to address, in Oracle OM R12 but the api does not return values. I am including the code so any suggestion will be helpful.
    declare
    l_num_billing_site_use NUMBER;
    l_num_cust_site_id NUMBER;
    l_rec_cust_site_use apps.Hz_Cust_Account_Site_V2pub.CUST_SITE_USE_REC_TYPE;
    l_rec_customer_profile apps.Hz_Customer_Profile_V2pub.CUSTOMER_PROFILE_REC_TYPE;
    l_chr_retcode VARCHAR2(20);
    l_chr_errbuf VARCHAR2(200);
    l_num_count NUMBER;
    begin
    -- fnd_global.apps_initialize (1885, 21623, 660); -- user id, --resp_id (OM Super User), appl_id
    -- mo_global.init ('AR');
    -- mo_global.set_policy_context ('S', 511);
    l_rec_cust_site_use.site_use_code := 'BILL_TO';
    l_rec_cust_site_use.cust_acct_site_id := 24919;
    l_rec_cust_site_use.primary_flag := 'N';
    l_rec_cust_site_use.created_by_module := 'CONVERSION'; -- Change
    BEGIN
    apps.Hz_Cust_Account_Site_V2pub.create_cust_site_use( p_init_msg_list => FND_API.G_FALSE
    , p_cust_site_use_rec => l_rec_cust_site_use
    , p_customer_profile_rec => NULL --l_rec_customer_profile
    , p_create_profile => FND_API.G_FALSE
    , p_create_profile_amt => FND_API.G_FALSE
    , x_site_use_id => l_num_billing_site_use
    , x_return_status => l_chr_retcode
    , x_msg_count => l_num_count
    , x_msg_data => l_chr_errbuf);
    EXCEPTION
    WHEN OTHERS THEN
    FND_FILE.PUT_LINE(FND_FILE.LOG,' Unexpected error creating customer site for Cust Site Id ' || l_num_cust_site_id || ' due to: ' || SQLERRM);
    END;
    dbms_output.put_line('cust_site_use:'||l_num_billing_site_use);
    end;
    Thanks,
    Srinivas
    Edited by: user2138419 on Feb 14, 2010 4:46 PM

    It might be a crossdomain.xml problem.
    Please make sure that the server hosting the xml allows the domain where the swf is hosted.
    You can start with:
    <?xml version="1.0" encoding="utf-8" ?>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • Unable to Create Customer Profile at Site Level

    Hello All,
    I am working on R12 Customer Conversions.
    As part of this, i am trying to load the customer profile amounts at levels. 1. Account Level 2. Site Level
    At Account Level, When ever i create a new account defaultly a new record is creating in hz_customer_profiles for the account_id. And i am passing 'cust_account_profile_id' to the hz_customer_profile_v2pub.create_cust_profile_amt. And able to do create customer profile amounts successfully.
    But
    At the Site level, when ever i create a new site, its NOT creating a record in HZ_CUSTOMER_PROFILES. If it creates i can have this 'CUST_ACCOUNT_PROFILE_ID' and pass it to the API
    but its not doing so.
    Could you please tell is there any setup for Creating HZ_CUSTOMER_PROFILES while creating SITE Use.
    Please help me in this.
    Thank you,
    Aush

    Hi Aush,
    There is not specific setup for the same. You might not using the APIs correctly. Did you use hz_cust_account_site_v2pub.create_cust_acct_site API to create site? Once you create the site, you need to defined the site use using api, hz_cust_account_site_v2pub.create_cust_site_use. This Site use api will insert the record into HZ_CUSTOMER_PROFILES for the site record.
    Once you create the site use, then you can define the profile amount using hz_customer_profile_v2pub.create_cust_profile_am API. Hope this is helps you.
    - Kiran

  • RE: Need to create custom fileds in sourcing in SRM

    Hi All,
    I am working on SRM 4.0. I had a requirement where in Sourcing I need to add a custom field in the standard SRM shopping cart. The best approach is BADI as far as my know ledge is concerned.
    Can anybody help me out the procedure, which BADI to use or any other suggestion so that my issue will get resolved.
    Await your response.
    vishal

    Hi Vishal,
    To bring customer fields to the sourcing cockpit , you need to add those custom fields to shopping cart first and these fields will automatically show up in the sourcing cockpit.
    To add fields in the shopping cart you need to follow the steps given in the following blog:
    How to create custom fields in SRM
    To find out in which structures the field is to be included you can go through the following notes:
    Note 672960 - User-defined fields 2
    Note 458591 - User-defined fields: Preparation and use
    And after adding the fields in shopping cart you need to regenarate the sourcing screens so that the custom fields are dispalyed in the sourcing cockpit. For doing that the below given note:
    Note 632982 - Generation of the screens for the sourcing.
    Thanks,
    Pradeep

  • I need to create  custom groups

    In order to minic the income statement, I need to create a custom group of account numbers, often out of sequence of a simple list of accounts. Thus, for accounts 1 thru 7, my goal would look like this:
    Income Accounts
    1
    2
    4
    7
    Subtotal Income
    Expense Accounts
    3
    5
    6
    Subtotal Expense
    Total Net Income/Loss
    Is there a way I can do this in Crystal?
    Thanks!

    Try to insert a group on account field and in group option select specified order and add new item with name "Income Accounts" and the condition is like 1,2,4,7. Add another item with name "Expense Accounts" and the condition is like 3,5,6. If you have any other accounts then it will be grouped with name "Others". If you don't want the "Others" group then go to options and check the option discard all others.
    Hope this helps!
    Raghavendra

  • Do I need to create custom FM

    Hi,
    I have created a new z-segment to the standard idoc type.
    I even done the outbound processing and IDOC is reached to the destination server box.
    Do I need to create a new inbound function module to get the extra fields of the z-segment or else does  the standard inbound function module itself works.
    If I need to create new INBOUND FM how to do it?
    Should I copy the std. FM and modify it
    OR
    write my own FM for it.
    Please suggest.
    Regards
    Mac

    Edgar:
    Can you provide me any more detail reagrding how to utlize the Error Pages tab?  If I had to guess it apears I want to use Explicit Response Page Header and Explicit Response Page Body under the Appl. Erros tab.  Also, from what I have seen I need to build some kind of page using HTML tags.  Once this is complete do I need to make any changes in my templates to utilize the error pages?
    Thanks,
    Lee

  • Multiple audit records per one report refresh

    We use BO XI R3 on Windows with CMS on DB2.
    I need to create audit reports on BO report usage with following data:
    username, timestamp, duration, report name for DeskI and WebI reports.
    I use auditing on DesktopIntelligenceCacheServer and WebIntelligenceProcessingServer.
    The problem is that I'm getting multiple records in AUDIT_EVENT table with different event_ids and timestamps per one refreshed report.
    Following SQL brings 2 records from WebI server all the time (first with duration=0) and from 1 to 5 records from DeskI server, all of them with real report duration.
    SELECT
    start_timestamp,
    ae.EVENT_ID,
    user_name,
    duration,
    object_type,
    detail_id,
    detail_text
    FROM BO_XI_R3.AUDIT_EVENT ae,
    bo_xi_r3.AUDIT_DETAIL ad,
    bo_xi_r3.EVENT_TYPE et
    where ae.EVENT_TYPE_ID=et.EVENT_TYPE_ID
    and ae.EVENT_ID=ad.EVENT_ID
    and ad.DETAIL_TYPE_ID=8
    and ae.EVENT_TYPE_ID=19
    order by 1;
    How to separate unique refresh info?
    Edited by: Valentin Volk on Oct 3, 2008 9:03 PM

    Valentin,
    The "duplicate" records that you are seeing, is it always consistent or just sometimes.  I ran you query against my Auditor database and sometimes (like maybe less than 50%) I am seeing "duplicate" records.  I say "duplicate" because the Event_ID is different in each case, but by sorty by start_timestamp, I can see a duration 0 record, and if the query takes like 5 seconds, then five seconds later I see the entry again (with a new Event_ID) and the second record has a duration of 5.  What does all this mean?  I don't know exactly, other than BO sees the act of submitting a report (sometimes) as an activity (and records an "enter" record with a duration of zero, zero for obvious reasons), then when the report ends another entry to the journal used to record the duration.  And at other times I don't see the "enter" record, just the entry with the duration.  In my practice we run a similiar query as you've provided but we do not record where duration is zero.
    thanks,
    John

  • Update Multiple DB records in one table with one form

    I am developing an onine proofing system that will display a
    number of images, and then allow the customer to approve each
    image, as well as provide comments.
    I currently have a table setup with the various elements (an
    image that dynamically gets its name, details about the image, and
    the neccessary form fields).
    See This
    Image for the layout
    I would then apply a repeat region (the number of signs would
    vary), and like to update all the records with the customer's
    comments and approval with one form. How is this done? I have
    downloaded a trial of the developers toolkit, but the documentation
    is horrible. I would be willing to buy an extension that will allow
    this, if one exists.

    I found an extension that did this in about two minutes:
    http://www.webassist.com/professional/products/productdetails.asp?PID=117
    Excellent software, highly recommended. Easy to figure out,
    and got this "problem" resolved fast.

  • Need to Create Search Help Based on Condtions from one table to another tab

    Hi All,
    I have a table like ZGROUP Which contains the data below
    Filed name Filed Name Filed Name
    ZGROUP ZTYPE ZTEXT
    Entries
    ABC P TEXT FOR
    C P SDFNSDFKLN
    DDDD PSG TEPRTPERERTWERT
    DEF P TEST
    FFFFF PSG
    SEF PS SDFSDFLASLDFNASDLFN
    XYZ PS TESTING
    Whree P is Product , PS- Point of Sales, PSG-Sales Group
    Now i am going to crate another ZPROUDCT TABLE
    FIELDNAME FIELDDESCRITPON
    PRODUCT PROD_DESC
    Entry
    abc pRELATED ENTRY
    My Questions
    1) ZGROUPS table has 3 kinds of data P, PSG, PS type records,
    1) In Table ZPROUDCT , I want to create search help only P records for Table Zproduct of the field Product FROM zGROUPS table
    2) In Table Zsales , I want to create search help only PS records from ZGROUPS table
    3) In Table ZPSG, I want to create search help only PSG records from table ZGROUPS
    is it possible to create search help from One Master Table(ZGROUPS) table to other tables based on conditions.
    Please help me.
    very urgent
    Regards,
    Raju

    if  <condition>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
    SELECT <field>
             FROM <table>
             INTO TABLE i_tab
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'                  "function module to provide f4 help to sold-to-party
        EXPORTING
          retfield        = "XXXX"
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = '<field name>'
          value_org       = 'S'
        TABLES
          value_tab       = i_tab
    endif.
    lkike this u can check the condition and selec the data from table and assign it into one internal table and then call the FM it will give the f4 help to particular field
    reward if helpful
    regards,
    Khan.

  • Re: Need Help With Helpdesk w/ Multiple Sites

    We thought about this, but we want one central website for all the end-users to go to. Is there any way to then (depending on what location the user sets on their ticket) to send to one of these Spiceworks sub-sites?
    I was thinking about make a rule to CC# the distribution list of that IT department so they are notified that there is a new unassigned ticket. For example end user selects Florida location for their ticket on our portal, then the Florida IT distribution list is CC'd to notify them. 
    Or am I thinking wrongly here.

    Hello,
    Getting ready to move our helpdesk into primetime. We have a central server where all of our admins from around the world will be working on our tickets and we have a public facing (remote site) helpdesk where all end-users will be submitting their tickets to.
    Since we have multiple locations each with their own IT staff, I would like to have end-user select their site (I already created a custom ticket attribute list for this that shows up on our public portal). Once this is done, somehow alert that IT staff that their is a ticket (maybe by sending an email to that IT's distribution list) and organize the tickets on the central helpdesk server by site.
    Any help in this would benefit our company utilizing our Spiceworks helpdesk.
    This topic first appeared in the Spiceworks Community

  • Problem creating custom tags for site that has no outside internet connecti

    I've created a set of custom tags that work fine until we install our app at the customer site. The customer site has no outside Internet access, and so the DOCTYPE is failing since it references the web-jsptaglibrary_1_1.dtd located on Sun's site.
    I tried copying the dtd locally and got it to work, but the solution sucks because this web-jsptaglibrary_1_1.dtd file is referenced in both my taglib.tld file AND the web-jsptaglibrary_1_1.dtd itself. Soooo....I can put in a URL that references it on the local machine, e.g.,
    In the taglib.tld file:
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.// DTD JSP Tag Library 1.1//EN"
    "http://ClientAAA/web-jsptaglibrary_1_1.dtd">
    In the web-jsptaglibrary_1_1.dtd file:
    <!ATTLIST taglib id ID #IMPLIED
    xmlns CDATA #FIXED
    "http://ClientAAA/AdProduction/web-jsptaglibrary_1_1.dtd"
    >
    but that means for every client that uses this app (and we have several) I have to change that URL inside both these files.
    I tried simply changing it to the relative "web-jsptaglibrary_1_1.dtd", e.g.,
    taglib.tld:
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.// DTD JSP Tag Library 1.1//EN"
    "web-jsptaglibrary_1_1.dtd">
    web-jsptaglibrary_1_1.dtd:
    <!ATTLIST taglib id ID #IMPLIED
    xmlns CDATA #FIXED
    "web-jsptaglibrary_1_1.dtd"
    >
    but then it is requiring me to put the dtd in both my web app root directory AND my jakarta/bin directory. I get the following error:
    XML parsing error on file ../vtaglib.tld: java.io.FileNotFoundException: D:\jakarta\jakarta-tomcat-4.1.29\bin\web-jsptaglibrary_1_1.dtd (The system cannot find the file specified)
    It seems like I must be missing something here. This shouldn't be this hard. And it seems funny that to use custom tags, you have to have Internet access in the first place.
    Help!!! :)
    Thanks.

    Yeah, I think it's a bit ridiculous that in order to make all the tag library examples and instructions work, you have to have access to the Internet. I haven't seen a single example on how to make it work if there is no Internet access. That's very limiting. And I've tried all sorts of other ways of doing it, such as
    <!DOCTYPE taglib SYSTEM "web-jsptaglibrary_1_1.dtd">
    but even then it won't work because I get an error message saying:
    XML parsing error on file /assets/../vtaglib.tld: java.io.FileNotFoundException: D:\jakarta\jakarta-tomcat-4.1.29\bin\web-jsptaglibrary_1_1.dtd (The system cannot find the file specified)
    I just don't think I should have to place this file in the bin directory. There has to be another way. Do I need to modify the dtd somehow? Cuz the dtd has the following line...is this messing it up??
    <!ATTLIST taglib id ID #IMPLIED xmlns CDATA #FIXED "web-jsptaglibrary_1_1.dtd">
    I sure could use some help.

  • Need to create custom home page for iProcurment.

    Hi,
    I have an issue in iProcurment.
    i have modified the Menu name from "Requisitions" to "My Requisitions" in custom responsibility "XX iProcurment" its a replica of standard iProcurment responsibility.
    then i clear the Cache and bounce the middle tire even though the changes are not reflecting. But when i do the same changes in the standard iProcurment responsibility then i am able to see the changes.
    Create a main menu XX_ICX_POR_SSP_HOME its a replica of ICX_POR_SSP_HOME then attached to XX iProcurment
    Menu:                XX_ICX_POR_SSP_HOME
    User Menu Name: XX Internet Procurement Home
    Menu Type:          Standard
    Description:     Internet Procurement Home
    seq          Prompt                         Submenu                                        Function                              Description     
    1          iProcurement Home Page                                                       POR SSP HOME                         Internet Procurement Home Page
    3                                        XX iProcurement: Homepage menu
    4                                                                                     EAM Function To Launch IP
    5                                        iProcurement: Function Security
    6                                        iProcurement Preferences Menu Container                                             iProcurement Preferences Menu Container
    Sub menu:
    XX_ICX_POR_HOMEPAGE_MENU its a replica of ICX_POR_HOMEPAGE_MENU
    Menu:               XX_ICX_POR_HOMEPAGE_MENU
    User Menu Name:     XX iProcurement: Homepage menu
    Menu Type:          Home Page
    Description:     iProcurement Homepage menu
    seq          Prompt               Submenu                                                  Function                              Description     
    5          Shop                    XX iProcurement: Shop                                                                      Shop tab
    10          My Requisitions          iProcurement: Requisition Status                                                       Requisition Status tab
    15          Receiving          iProcurement: Receiving Home Page Menu                                             Receiving tab
    20          Contractors               iProcurement: Contractor                                                                 Contractor tab
    25                                   iProcurement: Common Functions                                                            Common iProcurement Functions
    30                                   iProcurement: Global Menu                                                                 iProcurement Global Menu
    35                                   ICX_STANDARD_GLOBAL_MENU                                                                 ICX Standard Global Menu
    40                                                                                          iProcurement                         iP Product Branding
    Hear i am changing the prompt of "Requisitions" to "My Requisitions"
    i have modified the function XX_POR_SSP_HOME its a replica of POR_SSP_HOME
    x_object=AppsServlet&x_source=menu&x_menuFunction=displayHomePage
    OA.jsp?OAFunc=ICX_POR_LAUNCH_IP&OAHP=XX_ICX_POR_HOMEPAGE_MENU&OASF=ICX_POR_LAUNCH_IP&porMode=accessHomePage&OAPB=ICX_POR_IP_BRAND

    Do you have much experience working with HTML & CSS code?
    Does this project need to work well in all devices; not just tablets?
    If the answer to both question sis Yes, I recommend Dreamweaver.
    If the answer to both question is No, use Muse.
    Nancy O.

  • Need to create user up-dateable site

    I'm going to do a site for a friend who sells Chameleons. He
    needs to be able to update the pages on his own once I'm done. He
    doesn't have DW or know anything about web design. I've had clients
    ask this before and it involved me hiring a coder to create a
    backend which was expensive.
    Is there anyway it can be done on the cheap and easy?

    Like Patty says, WordPress is open source and widely
    supported by many
    hosts. If your server has cPanel and Fantastico, you can
    install it in a
    few clicks. Requires PHP & MySql database. ++ Learning
    curve for first
    time theme builders. But easy for most clients to use.
    http://www.becomeablogger.com/
    Watch videos.
    Cushy CMS - Very simple. No programming or database required.
    Editing is
    done on their servers. Watch the video to see how it works.
    http://www.cushycms.com/
    NanoCMS - Resides on your server. Simple to use. Requires
    PHP, uses
    flatfiles - no database
    needed.
    http://nanocms.kalyanchakravarthy.net/
    Content Seed - Resides on your server. Available in ASP, PHP,
    or ASP.net
    versions - uses flatfiles, no database needed.
    http://contentseed.com/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "phrarod" <[email protected]> wrote in
    message
    news:g84oo1$56s$[email protected]..
    > I'm going to do a site for a friend who sells
    Chameleons. He needs to be
    able
    > to update the pages on his own once I'm done. He doesn't
    have DW or know
    > anything about web design. I've had clients ask this
    before and it
    involved me
    > hiring a coder to create a backend which was expensive.
    >
    > Is there anyway it can be done on the cheap and easy?
    >

Maybe you are looking for