ECN number creation

Dear all,
I am trying to create a change number using the BAPI CCAP_ECN_CREATE for my development to interact with legacy system using SAP XI.
While i am creating the change number, I need to specify some profile which can is maintained in SAP to specify the action related to its object types. While doing so I am not sure what are the necessary fields that needs to be populated in BAPI other than status profile and authorization group.
Because I am using providing these details a ECN Number is generated but it not have any related object types that are enabled, the same when i m doing via TCODE CC01, it populates the related objects.
Please provide inputs.......
Regards,
Nithiyanandam

Hi,
We also tried this FM
We were not able to achieve, so we went for BDC
See this following code
  CONCATENATE p_date4(2) p_date6(2) p_date+0(4) INTO v_date."CCT51576
  PERFORM f_bdc_dynpro      USING 'SAPMC29C'                '0100'.
  PERFORM f_bdc_field       USING 'BDC_CURSOR'              'RC29A-AEPRO'.
  PERFORM f_bdc_field       USING 'BDC_OKCODE'              '/00'.
  PERFORM f_bdc_field       USING 'RAD_BUT_ECNTYP-NORM'     'X'.
  PERFORM f_bdc_field       USING 'RC29A-AEPRO'             'Z1'.
  PERFORM f_bdc_dynpro      USING 'SAPMC29C'                '0010'.
  PERFORM f_bdc_field       USING 'BDC_OKCODE'              'UEOB'.
  PERFORM f_bdc_field       USING 'RC29A-AETXT'             wa_mapl_result-plnnr.
  PERFORM f_bdc_field       USING 'BDC_CURSOR'              'RC29A-AENST'.
  PERFORM f_bdc_field       USING 'RC29A-DATUV'             v_date.
  PERFORM f_bdc_field       USING 'RC29A-AEGRU'             'Routing Change'.
  PERFORM f_bdc_field       USING 'RC29A-AENST'             '1'.
  PERFORM f_bdc_dynpro      USING 'SAPMC29C'                '2000'.
  PERFORM f_bdc_field       USING 'BDC_OKCODE'              '=FCBU'.
  PERFORM f_bdc_field       USING 'BDC_CURSOR'              'RC29A-OITXT(01)'.
  PERFORM f_bdc_field       USING 'RC29A-PLNTY(01)'         'N'.
  PERFORM f_bdc_field       USING 'RC29A-PLNNR(01)'         wa_mapl_result-plnnr.
  PERFORM f_bdc_field       USING 'RC29A-OITXT(01)'         'Routing Change'.
  CALL TRANSACTION c_cc01 USING it_bdctab                        "perform bdc_transaction using 'CC01'.
                          MODE   c_mode
                          UPDATE c_update
                          MESSAGES INTO it_messtab.

Similar Messages

  • Serial number creation at the time of GI

    Dear Experts,
                   I want to create sreial number and equipment number simultaneously at the time of GI
    please hel m out with customization settings.
    Thanks
    Warm regards
    Rahul

    Using existing serial number is not giving me perfect solution.....
    there is no validation of matching serial number which has been created before for that material
    e.g.
    if i am having one line item with quatity:10
    At GR 10 serial numbers will be generated.
    at GI he can assign any serial number to any material which is not desirable in my case.
    Please let me know can we stop serial number creation at the time of GR?????
    I want it should create only at the time of GI
    Thanks
    Rahul

  • Account number creation

    Hi SAP Gur's Can you explain elaborately 1.Will the location or cost center be required in the account number creation? If not required in the account number, how will we differentiate the same expenses at various locations?

    Hi
    Accoung group is created at TCode OBD4 and selected fields are applicable to to whole account group.  In addition to above  fields we may need some more fields for GL accounts within the same account group.  In such case we use/create  FSG by using  TCode OBC4 and thereby selected additional fields are assigned to specific GL accounts. 
    Usually we assign these FSG in GL account at page create/ bank/interest
    Use these additional fields (at TCode OBC4) for GL accounts to get post the document in various business areas, cost cnetres.,
    Cheers
    Srinivas

  • Serial Number Creation Speed Issue

    Hi all,
    I have GRPO that constantly (Weekly) need to be entered into SBO with Serial Number Items with Qty of, sometimes, over 100000 Numbers.  The posting of this GRPO takes a very long time, hours, but what is worse, no one can do any work in SBO since the entire system is "Locked" or is very very very slow.
    Does anyone have any suggestion or solution that they can offer?
    Thanks

    Hi Peter,
    Yes, we are using the Automatically generated Serial Numbers and they are Sequential.
    Currently...
    1.  Create the Purchase Order (without Serial Numbers)
    2.  Create GRPO when Stock is Recieved.  The Serial Number Creation Screen opens.  We generate the Serial Numbers with the Automatic Function.  This does not take a very loooooong time (+- 10mins).  We Save it as a Draft.
    3.  At the end of the day when everyone is of the system, 5pm, we open the Draft and Post the GRPO.  This can take a loooooonnng time, HOURS!  This runs overnight on a Quad Dual Core (8 processors) but only one processes this as per Task Manager -> Performance Monitor.
    We need a better solution.
    Edited by: Rui Pereira on Apr 28, 2009 2:05 PM

  • Serial Number Creation Time

    Hi,
    In Which table and what field is the serial number creation date and creation time stored?
    Pls help

    Hi Donna.
    I would like to suggest,
    Tables SER01 - Document Header for Serial Numbers for Delivery
    Similarly, SER02 to SER07 contains the Serial Number Information for specific module like PO, Delivery,etc.
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Automatic Batch Number Creation

    Dear All,
      is it possible to create automatic batch number creation through DI API..? tell the me the solution to create Automatic batch number..
    Thanks in Advance

    Shankar,
    If you have SDK samples, you will be able to find the 04.SerialAndBatch sample that explains what you want.(usually located at \Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\)
    still have doubts, post back.
    Binita

  • Service number creation

    Hi experts,
    While creating service po it is asking service master na,in that we have to give service number. That service number creation how to do? plz help me guys.
    Naren

    Hi,
    Service number is you have to create in transation AC01.
    This also one type of master data for service.
    AC01 --> enter all service categore & Currency.
    while saving it will show the Service number.
    this you can use in ME21N for service PO.
    SAM
    Edited by: Saminathan Gopalan on Jun 25, 2010 12:20 PM

  • Partner Address NUmber Creation..

    Hi Guru's,
       I have a little problem on creating the partner address number..
    My requirment is to create address number for any partner number like 'ship to party'.i am using a custom bapi for sales order creation creation which is working fine....
    My problem is i need to give partner address number'ADRNR' in 'partners' ( table parameter).
    currently if i will give all the address informations.the bapi itself creating the address number internally....and it is reflecting in 'order_keys' parameter
    i want to give the address number externally.as i need to pass  only address number 'ADRNR'to the bapi.,so that it will retrive all the address informations what i have created for address number creation.
    Its urjent...help..
    Commited with Full reward points ...
    Sakti
    [email protected]

    Hi,
      Thanks for ur help.
    But ..i require to create externally...because..i need to create single delivery for dwo diffrent line items.those line items have all the inputs same...but it is creating different deliveries.as bapi is considering the same ship to party address for both the line items as different...for that issue..i have tried with putting previously created address number manually....in the partners parameter of bapi...ex:..if i am putting same address number for two different..line items of same values ( same address)...it is creating one delivery which is my requirment....but for the next line item with different shipping address i need to pass different address number....
    for this only i need to create externally address number which will populate address information from that 'partners' parameter before entering into the 'sd_sales_document_create'...and i can pass only the partner address number into it...means both of the two line items.....
    Do you have any idea...regarding thia..
    i am giving you  * points.
    now..for your hepl..
    try for this if you can...
    more points waiting for ...
    Thanks
    SAKTI

  • Batch Number creation through DIAPI

    Dear all,
         i tried batch number creation through DIAPI.. but its shows error message [WTR1.Whscode][Line:1],'No matching Records found(ODBC-2028)' any body helpme  in this regard..
    thanks in advance.. here i have attached my coding..
    Dim objLines As SAPbobsCOM.StockTransfer_Lines
            objForm = objAddOn.objApplication.Forms.Item(FormUID)
            Dim objStockTransfer As SAPbobsCOM.StockTransfer
            objStockTransfer =    objAddOn.objCompany.GetBusinessObjectSAPbobsCOM.BoObjectTypes.oStockTransfer)    
            objStockTransfer.DocDate = System.DateTime.Today
            objStockTransfer.TaxDate = System.DateTime.Today
            objStockTransfer.FromWarehouse = "01"
            objStockTransfer.PriceList = 1
            objStockTransfer.Lines.ItemCode = "B000001"
            objStockTransfer.Lines.Quantity = "1"
            objStockTransfer.Lines.WarehouseCode = "BAP"
            objStockTransfer.Lines.BatchNumbers.BatchNumber = "B10"
            objStockTransfer.Lines.BatchNumbers.Quantity = "1"
                  objStockTransfer.Lines.BatchNumbers.Add()
                If objStockTransfer.Add <> 0 Then
                objAddOn.objApplication.SetStatusBarMessage(objAddOn.objCompany.GetLastErrorDescription, SAPbouiCOM.BoMessageTime.bmt_Short, True)
                objAddOn.objApplication.MessageBox(objAddOn.objCompany.GetLastErrorDescription)
            Else
                objAddOn.objApplication.SetStatusBarMessage("Inventory Transfered Successfully", SAPbouiCOM.BoMessageTime.bmt_Short, False)
            End If
    With Regards
    G.shankar Ganesh

    Shankar,
    your code looks fine. just ensure that the warehouse code and batch you are specifying , do exist in owhs and oibt tables respectively, with the specified quantity. ( and the best way to check it is, try stock transfer from UI with the same parameters.)
    also, may be off topic, but, before specifying batch lines, you need to ensure that items are managed by batch or not )
    regards,
    Binita

  • ECN  number range

    Hi all,
    We use 2 types of BOM, with different BOM usege, with ECN active. one is to be used by engineering deptt. and other is when engg. dept. finalize BOM after testing,  production department copy that  BOM.
    is it possible to have different ECN number ranges for different stages of the ECN process i.e for BOM usage for engineering and production.
    Regards

    Hi Sarvan,
    if i create different ECN for thr depts, is it possible later to separate them to trace which no is for R&D and which used by prod.
    Is there any exit or enhancement possible to restrict ECN range for R&D which use particulal BOM usage and for prod. dept which use another BOM usage
    regards,

  • What is ECN number?

    Hi,
    What is ECN number? how to validate it?
    I am working with a report ( MM module) the intial screen contains material, Plant cost of rework, and disposition..
    I want to display a valid ECN number in header.
    Please help me

    Hi Sri,
    Engineering Change Number.
    TABLE   - AENR
    FIELD    - AENNR
    <b>
    DOCUMENTS_TO_CHANGE_NUMBER</b> - This Function module returns internal table within materials and documents for the <b>engineering change number</b> AENR-AENNR (just select * from the DRAW table).
    check the links below for further information,
    http://www.sap-img.com/pp007.htm
    <b>http://help.sap.com/bp_blv1500/BL_US/HTML/Scenarios/V8P_Scen_EN_US.htm
    Click Business Process Procedure and Process Flow Diagram
    and download the document available in above link.
    </b>

  • Change ECN number ?

    Hi Everyone,
    We used LSMW to load enginneering documents (tcode cv02/01) into SAP . Used the object DRAW.
    Now , somehow they have figured out that the ECN number used to create the Document Info Record was wrong and so we need to change it for all the records loaded .
    I want to know is it possible and if yes then how ?
    I tried to change it via the tcode cv02n but it doesnt let u change the ECN number ..the ECN number comes in deactivated mode.
    Thanks
    <i></i>

    Hi,
    Have you looked FM <b>CCAP_ECN_MAINTAIN</b>?
    Regards,
    Ferry Lianto

  • Serial Number creation in SD

    Hi all,
    I am facing the issues in SAP SD regarding the serial number.
    The scenario is my client wants the serial number to be created at the time of sales order itself.
    I assigned the serial number profile into the material master.
    In sales order i selected the material and created the serial number automatically.When i am saving the sales order it throws an error like "Number range does not exist for Equipment"..**
    I checked in the t.code OIS2 - ser.profile- 0002, i selected and given the priority of serial number to SDCC (03) rest all are 02 only.Equipment requirement is "01" without Eq Re selected.
    Suggest me if you have idea on settings related to serial number creation in sales order. My project also involves PP and PM module but they are not creating Serial number.
    I checked in the t.code OIEN  for number ranges groups, it shows the it show number range groups and equipment. I am not familiar with this equipment so i left it.
    regards
    Harish

    Thanks SAP Student, As per ur suggestion changed the serial number profile (SDAU) and eq.usage(01),
    After creating the serial number automatically in sales order, at the time of saving the sales order it asking again the same error "Number range doesnot exits for Equipment".
    My Plant maintanence consultant says he was using the external number range for the equipment. He has not done anything for internal number range.
    Can anyone suggest me how it is related with equipment and how to go ahead.
    Regards
    Harish

  • No New Batch number creation at the time of Material Transfer Movement(309)

    We are upgarding from 4.6C to ECC6.0. We have an issue in regards with the material movement type 309. At the time of creating the material tranfer using the same material as issuer and receiver, the same plant and storage location ( this process is used by the business to diferentiate batches).
    In 4.6C a new batch number is created automatically when 309 movement is posted; stock and characteristics transfered are allocated at the new batch created automatically.
    The same case in ECC6.0 does not create a new batch as done in 4.6C. We have looked for any SAP note or forum discussion without success.
    If anybody has an answer for this issue, let us know.

    As a matter of fact these configuration has been checked before, additionally we compare configuration at 4.6C and ECC6.0 and it is the same but the new batch creation (for this specific case) is working at 4.6C, not at ECC6.0.

  • Duplicate Batch number creation during MIGO wrt PO

    Dear al SAP
    We have activated batch management at material level and set external number range. During MIGO say for the first line item, I have entered external batch number as 123. If I give the same batch number for the second line item of the same material code, system should throw an error message.
    Pls explain in detail SPRO setting required for this.

    In Logistics General -> Batch Management -> Creation of New Batches -> Define Batch Creation for Goods Movements select the option "E" Manual and check against external number range

Maybe you are looking for

  • Photoshop Crashes after GPU Upgrade

    I just recently upgraded my GPU from an nVidia GTX 460 to an AMD Radeon R9 290, and since then I've been experiencing problems with Photoshop. Just after I upgraded my GPU, I did a clean uninstall of my old drivers, installed my new drivers (which I

  • Using Create PDF from Web Page; Resulting PDF is missing text

    Trying to create pdf's from various web pages.  Generally process works very well but some pages have missing text and bad formatting.   Specifically; http://www.robinhood.ca/Recipes/Occasions/Spring/Apricot-Tartlets When I create the PDF; I am missi

  • Add counter only when duplicate segments are present in mapping

    Hi Gurus, I have a FILE to FILE scenario, and the source file is as this: aaa aaa aaa bbb bbb bbb ccc ccc ccc ccc ccc ccc ddd ddd ddd and the structure will be as: <Row> field1> aaa field2> aaa field3> aaa </Row> <Row> field1> bbb field2> bbb field3>

  • Achieving iPhone Native Look-and-Feel

    Im currently doing an Iphone tutorial for my final year project. Here's the link for the tutorial that I am doing http://www.oracle.com/technology/pub/articles/huang-iphone.html I have no idea how to start doing the second part of the tutorial; Achie

  • X6 bluetooth and USB issue

    My old 5310 had no problems connecting through bluetooth or cable to my pc. Now I updated to a X6 and nothing but issues connecting. The bluetooth works sometimes, when it feels like it, when it doesn't work and I disable bluetooth on the phone, I ca