DEBMAS IDOC for CREATE and UPDATE

How do i use DEBMAS IDOC dynamically for create and update customer information.
I have a file as source which would have combination of information for new and change customer information. and there is a field in the file with t code xd01(create) and xd02(update).
Please advise.
-Vasu

Hi,
The field MSGFN is the one which decide the operation.
Please pass the values accordingly to indicate the Create/Update.
In inbound IDOC case ,process code will check MSGFN and do the action.
Regards,
Akshay.

Similar Messages

  • How to use a single page for create and update mode.

    Hi,
    I need to develop a single page to be used for both create and update modes.
    I am going to use a variable MODE
    and i will set this in the emp summary page.
    Based on the button clicked by the user i have to render the JSF page.
    For tis if the user selects a perticular and cliks on update thn i will pass the empno to the next.
    so there in the next i will appy a ViewCreiteria on my View Obj to fetch only that row so that only that emp will be displayed ion update mode.
    This is working fione for me.
    So now the issue is
    when the user clicks on CreatEmp button.
    i need to enable my VO for insert operations.
    for this i wrote the code like this in the beforePhase event
    FacesContext ctx = FacesContext.getCurrentInstance();
    ValueBinding valBinding = ctx.getApplication().createValueBinding("#{data}");
    BindingContext bContext = (BindingContext) valBinding.getValue(ctx);
    DCDataControl dcControl = bContext.findDataControl("DataControl");
    Application app = ctx.getApplication();
    ApplicationModule am = (ApplicationModule) dcControl.getDataProvider();
    System.out.println("After Appmodule initiation");
    // get the VO reference and initiate the query
    System.out.println("Before Page VO initiation");
    PrismDmPageSectionViewImpl vo = (ViewImpl)am.findViewObject("View");
    //ViewRowImpl row = (ViewRowImpl) vo.createRow();
    /* TO CREATE AN EMPTY ROW*/
    Row row=vo.createRow();
    System.out.println("New Row is created");
    //vo.createKey(row);
    vo.insertRow(row);
    vo.setCurrentRow(row);
    By doing this a new empty page is rendered.
    But when i fill up the values and click on ok.. i am getting the error like this..
    JBO-27023: Failed to validate all rows in a transaction.
    JBO-27027: Missing mandatory attributes for a row with key null of type View3
    JBO-27014: Attribute Id in View3 is required
    JBO-27014: Attribute PageeId in View3 is required
    Please point me out where i am missing.
    Thanks

    Hi,
    In my opinion you are over complicating things.
    This is what I do for using the sme page as both create and update without all this code.
    1) Create a browse page containing a an adf table with a select one component bound to your view object.
    2) Create an additional edit page containing only an edit form containing fields of your view object that your users must enter in order to add or edit rows.
    3) Link the pages in the JSF diagram with an "edit" navigation case from browse to edit page and a "return" navigation case from edit to browse (make sure that redirect option is NOT set on both cases)
    4) Remove the submit button from the edit page and add two application module bindings for the commit and rollback operations as command buttons in the form footer facet. Make sure that both buttons has an action of return and that their disabled property is set to false. You will probably change their labels to ok and cancel respectively.
    5) Drop a create action for your view object from the data control palette inside your page as a command button and set the action property to edit also.
    3) Set the action property of the view button to edit
    This should basically work without any code from your part. -- at least it does so for me -- if you like to make it a bit more funcy you may add am action listener inside your buttons and set a requeScope variable for example #{requestScope.editing} to true or false depending on the button clicked. Then add a title to your page with a value like #{requestScope.editing == true ? 'Editing record' : 'Adding a new record'}..
    Hope that helps.
    Thanassis

  • Default value in LOV field in Create and Update page in OAF

    Hi All,
    I am unable to default LOV field in Create and Update page in OAF.
    I tried in below way :
    OAMessageLovInputBean lovBean1 = (OAMessageLovInputBean)webBean.findChildRecursive("AAA");
    But I am getting developer mode exception, so please guide me how i can set the default value for create and update page instead of using code in process request method in controller.
    Thanks

    Hi,
    1) In case of create, you can default the value either in EOImpl or in AM while initializing the row:
    //in EOImpl
    public void create(AttributeList attributeList)
    super.create(attributeList);
    setXXAttribute(<value>);
    //in AM, VO new row initialization :-
    VOImpl VO = getVO1();
    VO.setMaxFetchSize(0);
    VORowImpl row = (VORowImpl)VO.createRow();
    row.setXXAttribute(<value>);
    VO.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    2) In case of update, execute the VO (also set the where clause if required) in PR method of update page.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • BAPI for COSS and COSP Table to Create and Update

    Hi,
    Is there a BAPI for COSS and COSP for creating and/or updating these tables?
    Thanks

    hi ,
    u dont have any bapis for updatign specific tables
    bapis are generally used for updating a transaction i mean number of tables
    where is the use of the tables u can search bapis in transaction bapi
    and where are the tables used i guess in fi/co so u can search under them
    regards
    afzal

  • I want IDOC for Vendor master updation ( XK01 &XK02 )

    Hi
    I want to do LSMW in IDOC method for this vendor updation.
    So I want IDOC for Vendor master updation ( XK01 & XK02 ).
    I want to do both create vendor and change also.
    Regards,
    Ravi
    Edited by: kandukuri ravi on Dec 1, 2008 2:56 PM

    Hi,
        For Vendor Master using IDoc's for LSMW,Use Message Type = CREMAS and Basic Type = CREMAS05.
    For Basic type 01,02,03...05 are versions which includes more fields in basic type so better use latest version.
    Hope it will help you.
    Regards,
    Sudhakar Reddy.A

  • IDocs for Invioce and Delivery

    Hi all,
    I have to send the customer the Invoice and Delivery confirmation for that order placed by him through an IDoc in background job.
    We are going for a standard IDoc for invoice and Delivery also but how to fill the data into that standard IDoc.
    1.Do we have standard report like (BD12, BD14, BD10 etc.)
    2.Should we develop a report to fill the data into that Idoc.
    Please help me to find standard report or please help me to write code for that standard IDoc.
    Thank you all in advance,
    Regards,
    Shalem.

    Hi Shalem,
    You need to do the following activities.
    - Setup condition record (t/code <b>NACE</b>) for shipping (V2) and billing (V3).
    - Setup output type (t/code <b>NACT</b>) for shipping (V2) and billing (V3) with transmission medium <b>A</b> (ALE).
    - Setup procedures (t/code <b>NACZ</b>) for shipping (V2) and billing (V3) if required.
    - Once the above setup are done, for any creation of billing and shipping will create entries into table <b>NAST</b> (Message Status).
    - Then you can create IDoc using this standard program <b>RSNAST00</b>. Please ensure your ALE and IDoc configuration have been done such as BD64, WE20, WE21 and etc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • HT1918 My husband's iPhone4 uses one apple id for purchases and updates, but another is listed in the App Store. How do I reconfigure his phone to only use the apple I'd and password that is used in the the "featured" section of the App Store?

    My husband's iphone4 seems to have 2 apple ids. The one listed in the featured section of the App Store is the correct one. The one that asks to be signed into for purchase and updates is also mine, and the incorrect one. Hence, our devices are linked. How can I remove my apple Id from his phone so that there is no connection between the two?

    I think it may be because he got his phone first and not seeing a future issue, I set his phone up to my already existing apple Id used for my iPod. If I connect his iPhone to our pc, can I create his own apple id account?

  • BAPI to create and update scheduling agreement (type LZM) in ECC

    Hi,
    We have a requirement to create and update scheduling agreement of type LZM in ECC from an external system.
    Is there a BAPI available for this in ECC 6.0 which can be used?
    The integration is using PI.
    Regards,
    Srivatsan

    Hello,
    Please use the T-code "SE93" and then click on Display option after entering the T-code. After entering into the detail screen of the T-code, you shall find option to click on OBJECT LIST and then enter into the Function Group. Now enter the T-code and then click on function module and a list of function module will be displayed in referrence to the T-code. 
    For your easy reference i have also mentioned the flow.
    SE93 --> Use tcode (eg. VA01) > display> Object list ---> Function Groups --> Tcode ---> Function module.
    Regards,
    Sarthak

  • Problem in creating and updating of  material by the use of bapi and bdc

    Hello All,
    I am using bapi (BAPI_MATERIAL_SAVEDATA ) and than bdc to create and update classification data of material.
    I am facing a problem.
    1) firstly I am creating material by the use of bapi and than after creation i want to update classification data for taht perticular material .
    2) To update classification data i am using bdc . while at the time of updating material through bdc system showing me error that material is currently locked by user (my login name ).
    Please suggest what to do.
    Tkank you
    With Regards
    Shantanu Modi

    When u update/create data it takes sometime to commit. So after using BAPI
    give 10 minutes wait in ur program before updating classification data.
    you can write like
    wait up to 20 seconds.
    and update the classification.

  • Creating and updating cross-references in a book

    Hello everybody,
    I created a book of several files. Now I would like to create and update cross-references from one chapter to another. What do I have to do? (I use Framemaker 8).
    Thank you for your help.
    Bye
    Vreni

    For creating cross-references between chapters, open the chapter documents and insert cross-references as is done for any normal document using menu command "Special->Cross-Reference".
    For updating all cross-references throughout the book, you can use the menu command "Edit->Update Book".
    Regards,
    Tarun Garg
    Adobe Certified Expert, FrameMaker
    http://blogs.adobe.com/techcomm/framemaker/

  • TCA API's to create and update employee vendors

    Hi All,
    We are doing an upgrade from 11.5.9 to R12 and I am looking for the Trading Community Architecture API's to create and update employee vendors for the HR Interface.
    We also need to change to use the Cash Management API's to create and Update Bank Accounts.
    Please help.
    Thanks in advance
    Regards,
    Sonia

    Hi Srini,
    Can you help me with the API's under Financials Receivables suite -> Trading Community in the Intergration Repository responsibilty? I am looking for the API's to create and update employee vendors
    Thanks so much
    --Sonia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • LDAPSYNC Reconn Job: LDAP User Create and Update Reconciliation

    OIM 11.1.1.5.4 (BP4) libOVD, trusted data source oid 11.1.1.5.0
    I have the reconn job working " LDAP User Create and Update FULL Reconciliation"
    But the incremental job not working "LDAP User Create and Update Reconciliation"
    No errors found in the oim server logs
    the msg found with the indication of the execution of the job.
    Has anyone been successful with the job "LDAP User Create and Update Reconciliation"
    [2012-10-21T08:09:03.922-04:00] [oim_server1] [NOTIFICATION] [IAM-1020005] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-2] [userId: oiminternal] [ecid: 0000Je3Cacy3n3WjLxuHOA1GWyFa000002,0] [APP: oim#11.1.1.3.0] Job Listener, Job was executed QuartzJobListener.jobWasExecuted Description null FullName DEFAULT.LDAP User Create and Update Reconciliation Name LDAP User Create and Update Reconciliation
    TIA
    gadba

    has any one had that worked, for the incremental job of ldapsync recon ?

  • My Verizon Cloud says "Content is pending for backup" and (Update pending), but it's been doing this for over a day now.  The number of photos hasn't changed and I have 26GB of space.  What's going on?

    My Verizon Cloud says "Content is pending for backup" and (Update pending), but it's been doing this for over a day now.  The number of photos hasn't changed and I have 26GB of space.  What's going on?

        Tinigal2112,
    We want to make sure your photos are backed up successfully! Have you tried to stop the process and start it again? You can stop the process by stopping the Cloud and backup process completely in Settings>Applications>All>Verizon Cloud>Force stop. One it has stopped make sure you care connected to WiFi and try the backup again.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • After an update to firefox I keep getting a warning from my Firewall (McAfee) "Program wants internet access". I have permission set at outgoing for firefox and updates checking off, to check that request is valid so what does it need access for

    After an update to firefox I keep getting a warning from my Firewall (McAfee) "Program wants internet access". I have permission set at outgoing for firefox and updates checking off, to check that request is valid so what does it need access for

    This was not a Firefox update, but a piece of malicious software you have inadvertently downloaded from a site called http://ffftp.co.cc/ which is impersonating Firefox. I discovered this as soon as my Zonealarm requested permission for "Golds" to access the internet. Golds??!! However I couldn't find a file with this name installed on my computer.
    You should delete the file you downloaded and certainly do not allow internet access to any suspicious program. If you have already given permission, scan your PC immediately for any virus, malware, etc. Best of luck.

Maybe you are looking for