BAPI/FM to create idoc based from another(Just like WE19)...

Hello Experts,
Are there any BAPI to create a new idoc based on an existing one just like the functionality of WE19?
Thank you guys!

But looks like this function module is opening CO07 in SAPGUI...i actually need to call the function module from web application and create the add-on order. Please advise.
Besides..i can pass the KTEXT value during the function module call itself right? can you pls tell me the reason why i need to force this in the enhancement spot?
Regards,
Kumar.
Edited by: Kumar Kasavaraju on Aug 28, 2009 11:02 PM

Similar Messages

  • Creating  idocs based on invoice number ocurrences

    Hi ,
    I want  to create idocs based on invoice numbers .
    Lets say i have a file coming in from sender system
    Invoice1 material customer value
    Invoice1 materail1 ..........
    imvoice2 material2.....
    invoice2 material1.....
    invoice1 material3..
    Invoice3. material4....
    So for Invoice1 only one Idoc should be created  similarly for invoice 2 which is ocurring twice in the file
    only 1 idoc  should be created
    Let me know how to achieve this ..  by UDF , or by split by value
    please help
    thnx
    Chirdip

    Hi,
      Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
    Map Like below:
    invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
    other fields you need to map like below.
    invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
    source field----removecontext------
    Regards,
    Prakasu.M

  • HOW TO CREATE PROMPT BASED ON ANOTHER PROMPT IN OBIEE

    HOW TO CREATE PROMPT BASED ON ANOTHER PROMPT IN OBIEE.
    Requiremenst is as follows.
    Year ,Qtr columns in first prompt.Based on selection on these prompts second prompt should display corresponding prompts
    Second prompt will have Month ,Week and Day columns.Second prompt should be hidden and based on first prompt selection second prompt should display with constraint based on first prompt.
    Any help would be highly appriciated!!!

    hi,
    Using Guided navigation it is possible,
    Please refer the below links.
    http://gerardnico.com/wiki/dat/obiee/dashboard_prompt_1_eq_0
    http://businessdecisionsystems.com/blog/?p=448
    Hope this help's
    Thanks,
    Satya

  • Creating IDoc Type from Change Pointers using RBDMIDOC

    Hi All,
    we are executing program RBDMIDOC(Creating IDoc Type from Change Pointers) evrey 15 minuts in background.
    Issue : if some jobs are taking more than 15 minuts then next jobs are failed,
    is next job will pick up any idocs that were missed?
    there is no extesion's and ther is no Z-fields are used in that message type , we are used OILMAT as mesage type.
    Regards,
    DSK
    Edited by: suresh dameruppula on Aug 5, 2008 2:04 PM

    Hi,
    Include a step in your job and have a program which checks if a job is already running. If yes do not start the next instance of the same job.
    in the custom program just call function module
       CALL FUNCTION 'ZBC_JOB_ALREADY_RUNNING'
          EXPORTING
             JOBNAME           = p_job
          IMPORTING
             JOB_RUNNING       = w_count
          EXCEPTIONS
             JOB_NOT_SPECIFIED = 1
             OTHERS            = 2.
    Code within FM ->
       select count(*)
       into   job_running
       from   tbtco
       where  jobname = jobname
       and    status  = 'R'.
    where p_job is the job name.
    w_count is current running job count. If its greater than 1, then stop the 2nd with an error message.
    Rgds,
    Hema

  • Create a table from another table

    I have Windows XP with 10g 10.2.0.1.0
    I need to create a table from another table to re-arrange the table column order and add the following statement at the end of creation.
    PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TAB_DATA"
    Below iis my SQL statement, but it doesn't work. Please help.
    create table my_table as (select t1, t5, t2, t3, t4 from orig_table
    PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TAB_DATA"
    *);*

    Kee Kee wrote:
    I have Windows XP with 10g 10.2.0.1.0
    I need to create a table from another table to re-arrange the table column order Why? Column order has no meaning. The individual SELECT statement specifies the column order that particular statement wants, which may be different from the needs of some other SELECT statement.
    and add the following statement at the end of creation.
    PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TAB_DATA"
    Below iis my SQL statement, but it doesn't work. Please help.
    create table my_table as (select t1, t5, t2, t3, t4 from orig_table
    PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE "TAB_DATA"

  • Can I update a blog created in iWeb from another computer?

    Hello Forum,
    While I am away from my office base, I would like to update my blog (created using iWeb) from another computer. I have a dotmac account.
    I thought doing this should pose no problems, but I simply can't figure it out.....
    Hope someone can help me out on this one.
    Many thanks in advance,
    Greg

    When you go to .mac and log in, you should see stories there regarding the features of .mac. One of the recent ones (should still be on the front page) is Tech note: Using iWeb on more than one Mac
    Underneath this header, you'll find
    "All you need to do is quit iWeb (if it’s open), locate the domain.sites file (Users/<username>/Library/Application Support/iWeb/domain.sites), and move it to wherever you’re going to use it. Then double-click the file in its new location. iWeb will launch, and you’re done. From then on, iWeb will automatically save your work in the new location, and you’ll be able to publish your site from any Mac that has access to it.
    So, if your domain.sites is small enough to fit on your iDisk, you could keep a copy there and use it from any computer that has iWeb 1.1 or later installed to update your blog.

  • Create Idocs based on Company Code change & Line Items less than 950

    Dear all,
    I am trying to create the Idocs based on the flat file in the following way.
    1) Create the Idoc per company code
    2) If company code exceeds 950 lines then create another Idoc
    I am trying to follow this BLOG and could not be able to achieve it because in the Blog explained with flat structure and my case is Idoc structure.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    I changed the Idoc Occurrence and imported to External definition.
    I am able to do the both check individually but not able to put them in combining.
    Please advice..
    Regards

    Company Codes -> sort -> SplitbyVlaue(Valuechange) -> CollapseContexts -> remove contexts
    AND
    Contact(CompanyCodes, Lines) both in header context - removeContexts - SortbyKey(CompanyCodes) -
    formatbyExample(Company Codes -> sort -> SplitbyVlaue(Valuechange)) - count - greater(>950)
    Srikanth Srinivasan

  • Not able to create Service Contract from another svc.contract as followup

    Hi,
    I am trying to create a service contract from another service contract as folllow up document as a part of contract renewal process. However, when I click on follow up button, in the popup, not able to the option Service Contract. Hence I am unable to create.
    Could you please let me know, what needs to be done such that Service Contract also will be shown in the popup.
    Thanks for all the replies.
    Thanks,
    Sandeep

    Hello Sandeep,
    It is not possible to create a follow up service contract (BUS2000112) for another service contract (BUS2000112).
    I do not know your business scenario, you can debug method GET_FOLLOWUP_CUST of class CL_CRM_UIU_BT_GET_PROCTYPES and see where the follow-up transaction types are filtered out.
    I met similar case before, the solution provided at that time was
    - modify FM CRM_UBB_FILTER_SUC_PROC_TYPE in line 49. You can comment out the following line:
    delete ct_suc_proc_type where process_type = ls_suc_proc_type-process_type.
    Hope this could be helpful.
    Best regards,
    Maggie

  • How to create an image from another one with midp1.0 as in midp 2.0

    hi:
    we can create an image from part of another one in midp2.0 width the following method
    createImage(Image image, int x,int y,int width,int height,int transform)
    but have to work with midp1.0, then how?
    regards

    but i have six icons in one picture, (tow row ,three column, each size 14*14)
    it's ok to get the top-left icon with the following code
    Image image = Image.createImage("/myicon.png");
    Image tmp = Image.createImage(14, 14);
    Graphics g = tmp.getGraphics();
    g.drawImage(image, 0, 0, Graphics.TOP|Graphics.LEFT);
    but how to get other icon?
    regards

  • Using execute immediate creating a table from another

    hi friend i wanted to create a table from a select statement in a pl sql procedure. i am using execute immediate but getting problems with it pls can anyone help me.
    here is the query i am using
    EXECUTE IMMEDIATE 'CREATE TABLE table_name AS  (SELECT * FROM  a_view   WHERE column_name LIKE '%some_string%');
    i need to know if this can be done and if yes how. pls help me its bit urgent too. the schema name is same and the privileges are available to create tables too.

    Your syntax is wrong.
    If you would use a syntax higlighted editor, it would show.
    Yout try to execute a string where another string is embedded. Please use two times single quote or use the 'q' function:
    This one is correct:
    EXECUTE IMMEDIATE 'CREATE TABLE table_name AS (SELECT * FROM  a_view WHERE column_name LIKE ''%some_string%'')';
    or this one:
    EXECUTE IMMEDIATE q'|CREATE TABLE table_name AS (SELECT * FROM  a_view WHERE column_name LIKE '%some_string%')|';
    good luck

  • How can i create proxy service from another proxy on different domain

    i have a demo webservice. it has many operations on proxy service's message flow. How can i create proxy service from demo's wsdl on different domain
    Edited by: fresh man on Jul 1, 2012 11:17 PM

    You can either export the WSDL in a sbconfig.jar and then import this sbconfig.jar in the new domain. Then you can create a new Proxy in new domain based on the WSDL you imported.
    Alternatively, you can open the WSDL in the old domain, copy the text content of WSDL, then open new domain sbconsole and create a new WSDL type resource and paste the content you copied from old domain WSDL here. Then you can create a new Proxy Service based on this WSDL resource you created.
    Although, may I ask why do you need to create this new Proxy Service on a different domain? If you want to create a service similar to existing Proxy Service on different domain, then you can export the existing proxy service along with any dependencies to a sbconfig.jar and them import them in any other domain.
    If you want your new Proxy Service to invoke the existing Proxy on different domain, then you need to create a Business Service in the new domain (calling domain) which can invoke your existing Proxy service in other domain.

  • Duplicate contacts when created from another application like Mail

    When adding a contact to Address Book from another application (from an email signature for example) two of the same contact are always created.  This does not happen when creating a contact from within Address Book.  Anyone have this problem and correct it?

    known bug, please send feedback to apple about your situation. http://www.apple.com/feedback/macosx.html
    Address book has a feature "look for duplicates" under Card in the menu bar. This will merge duplicate entries into on. But now I have some weird double names (but they're one contact/one card).

  • Create a transport from another

    how to create a transport request no from another one

    Hi,
      I am not sure how to create a transport request no from another one.. But follow the steps to create a new Transport..
      GO to SE09.
    Press create button (F7)..
    Choose the work bench request if you are going to modify/create any programs.
    Choose the customizing request if you are going to modify/create any table entries..
    Press enter..
    Give the description..
    Press enter..
    Thanks,
    Naren
    Thanks,
    Naren

  • Create z_70_255 based from the x_65_255 print format

    hi to all,
    Just want to ask re. my issue about creating a print format using SPAD.
    My question is that I already created a print format z_70_255 based from z_65_255 but when I used it as a print format in one of our ABAP program, its output seems like the size of x_65_255 format. Considering that I adjusted its size of rows from 65 to 70. Please note that I just only copied the codes written in the printer initialization in the x_65_255. The printer that we'll be using is an HP LJ printer.
    Hoping for your comments and replies. Thanks a lot.
    Sabrina

    Hi Satish,
    See this Sample Program, it will be of some help 4 u.
    DATA: PARAMS LIKE PRI_PARAMS,
    DAYS(1) TYPE N VALUE 2,
    COUNT(3) TYPE N VALUE 1,
    VALID TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING DESTINATION = 'LT50'
    COPIES = COUNT
    LIST_NAME = 'TEST'
    LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'
    IMMEDIATELY = 'X'
    RELEASE = 'X'
    NEW_LIST_ID = 'X'
    EXPIRATION = DAYS
    LINE_SIZE = 79
    LINE_COUNT = 23
    LAYOUT = 'X_PAPER'
    SAP_COVER_PAGE = 'X'
    COVER_PAGE = 'X'
    RECEIVER = 'SAP*'
    DEPARTMENT = 'System'
    NO_DIALOG = ' '
    IMPORTING OUT_PARAMETERS = PARAMS
    VALID = VALID.
    IF VALID SPACE.
    SUBMIT RSTEST00 TO SAP-SPOOL
    SPOOL PARAMETERS PARAMS
    WITHOUT SPOOL DYNPRO.
    ENDIF.
    cheers,
    Hema.

  • How to call Oracle form .from another application like VB 6.0

    Dear ALL,
    I want to call oracle(Developer) form ,from another application (VB 6.0).I want to call the form in such
    a way that user dont need to enter login and password.I will hard code the username and password
    in my VB 6.0 application.User only press a button on Visual Basic 6.0 form and and that button will
    open required Orcale form.How can I DO this.PLEASE HELP............
    Regards

    You have the command in VB 6.0 to run any exe files right (I think it is the system command). Next to that command place the following code to run your forms application
    ifrun60.EXE <forms.fmx with complete path> userid=<username>/<password>@<connection string>.
    Regards,
    Senthil .A. Perumal.

Maybe you are looking for

  • Is it possible to print a pdf file served to the browser?

    I have a servlet that will send a pdf file to the browser (IE), (i set the content type to "applicaction/pdf"). Now I need a way to create a print button to allow user that option, seems the browser print button is not satisfactory. Can a pdf be embe

  • A/R Invoice - Create two outgoing payments

    Hi, We have issue here regading A/R Invoice Payment. The A/R Invoice is $100, the payment is $200 with Interact card (Direct account payment) with $100 cash return. The present does not work in B1; but will be developed in future release. The present

  • HT3529 how do I sent a group message to non-smartphones?

    how do I send a group message from my iPhone 4S to non-smartphone users?

  • Export Sound to MP3?

    Is there a way to Export Sound to MP3 in QuickTime Pro? Is there some sort of plugin that you download or buy to add this feature? I know iTunes can create MP3 files, but I'd love to be able to do it in QuickTime Pro.

  • Can't get rid of text on screen

    My tv says "size wide 2" on the screen in the upper right quadrant. It's only on fios cable, andIt won't go away. I tried a power off restart. How do I remove the text?