Problem while generating Update progam for a Change Document Object

Hi,
I'm trying to deal with Change Document concept in a R/3 4.6C environment and to establish new Change Document object for my (Z)-table. I haven't using any namespace and created object with name ZTEST. Following the online documentation I came to the point, where I have to generate include program. I made all the nessesary inputs (using Z prefix) but faced
"Function module name is reserved for SAP"
Creating everything similarily using some of our registered namespaces (/somenamespace/) I succeed to generate the Update program and to integrate it in my Z-programs as well.
My question is: is it possible to use Change Document Object-names without predefined namespace - being a regular customer developer, but not an SAP developer - means, if I am allowed to manage programs in the customer namespace (Z,Y, X) only. If yes, how to do this?
Further (I decided not to open a new thread) - generated Update program uses
CALL FUNCTION 'xxxxx' IN UPDATE TASK
for creation of Change Numbers for generated Change Document Object. This CALL doesn't work when I implemented it in my Z-program, but when changed  (IN UPDATE TASK was commented) - everything goes well and the system creates records in CDHDR/CDPOS tables for my object class and table.
Why is that? According to the documentation I shoud only fill appropriate variables for the Change Document Object (class, tr.code, etc.) and call generated FM, nothing is pointed out about any possible problems? Am I doing something wrong?
Well, to be precise, I think I have to give a sample:
1. I have a sample Z-table with few fields (their data elements are marked as Change-Document relevant).
2. Using own z-progam I created a new record for this z-table. Also fill all the nessesary variables included in the interface of generated FM for Change Document Object (for example - FM-mane CD_CALL_my_object).
3. I call the CDO FM.
4. Check what is happening (directly in both tables CDHDR/CDPOS or using FM CHANGEDOCUMENT_READ).
Further, I perfom the steps from 1 to 4 updating the created in previous loop record in my Z-table.
In both cases if the FM 'CD_CALL_my_object' is called IN UPDATE TASK nothing happens, but in case of direct call (without addition IN UPDATE TASK) the system behaves as expected. Well, obliously I can change the generated code for our production needs, but it doesn't seems to be the correct decision - in case of next possible modification of the Change Document Object definition, respectively in need of re-generation of the code.
Any hints are wellcome.
Thanks in advance.
Ivaylo Mutafchiev
Edited by: Ivaylo Mutafchiev on Jan 24, 2008 10:24 AM

"IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
Regards,
Ivo

Similar Messages

  • CS3:Problem in generating .ps file for an indesign document.

    Hello,
    I have ported a plug-in built for InDesign server CS2 to CS3.
    Generating ".ps" file is one of the functionality of my plug-in.
    But for the given document InDesign CS3 server Debug generated the following asserts in the server log.
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 2 (Class kRIDXBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 216 (Class kAssignmentBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 5 (Class kContentMgrBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 187 (Class kAssignmentBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 218 (Class kAssignedStoryBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 1 (Class kDocBoss).
    I have debugged the code and found that the following API is causing these asserts.
    IPrintSetupProvider::StartPrintPub( bool16 & bReturn,
    IDocument * iDoc,
    UIDRef & styleUIDRef,
    IPrintCmdData::PrintUIOptions & printPubUIOpt,
    IInkList * iInkList,
    ITrapStyleListMgr * iTrapListMgr
    when i shutdown the InDesign server got crashed.
    Can any one of you describe in detail the functionality of this API.
    I will be thankful if any one you can give some idea on how to resolve this issue.
    Thanks,
    sambolus.

    Lee,
    Sorry I think I didn't use the right terminology, somehow I want to include/link the file (not with menu item 'place') programmatically in my current open Indesign document, then I expect to see the filename in Link palette. I can do this with linking to a page item in doc but I don't want to assign it to a particular page item, rather I want to assign it to doc. Is any approach to do it?
    Thanks again,
    Mor

  • Problem while generating an entry for a keystore on SCA-6000

    Hi everybody,
    this is my first message.....
    i need to develop a sw to adding entry on a keystore that is on a SCA-6000
    when i try to add an entry witn method KeyStore.setKeyEntry i have this error:
    java.security.KeyStoreException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_TEMPLATE_INCONSISTENT
    at sun.security.pkcs11.P11KeyStore.engineSetEntry(P11KeyStore.java:1067)
    at sun.security.pkcs11.P11KeyStore.engineSetKeyEntry(P11KeyStore.java:443)
    at java.security.KeyStore.setKeyEntry(KeyStore.java:848)
    at TestProvider.main(TestProvider.java:160)
    Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_TEMPLATE_INCONSISTENT
    at sun.security.pkcs11.wrapper.PKCS11.C_CopyObject(Native Method)
    at sun.security.pkcs11.P11KeyStore.updateP11Pkey(P11KeyStore.java:1518)
    at sun.security.pkcs11.P11KeyStore.storePkey(P11KeyStore.java:1678)
    at sun.security.pkcs11.P11KeyStore.engineSetEntry(P11KeyStore.java:1063)
    i don't find anything on documentation.....
    this is my code:
    Provider pkcs11Provider = new sun.security.pkcs11.SunPKCS11(fis);
    Security.addProvider(pkcs11Provider);
    char [] pin = args[1].toCharArray();
    KeyStore smartCardKeyStore;          
    smartCardKeyStore = KeyStore.getInstance("PKCS11");
    smartCardKeyStore.load(null, pin); //ALL OK
    KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", pkcs11Provider);
    kpg.initialize(1024);
    KeyPair kp = kpg.generateKeyPair();
    Certificate[] cc = {cer};
    smartCardKeyStore.setKeyEntry("[email protected]", kp.getPrivate(), "dlozzi".toCharArray(), cc);PS fis is an FileInputStream that is the file for configuring SunPKCS11 and this is
    name = SunCryptoAccelerator6000
    library = /usr/lib/libpkcs11.so
    thanks for your help
    Ad Maiora,
    Daniele Lozzi

    "IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
    Regards,
    Ivo

  • Problem while Generating client code for webservice

    hi,
    my environnement is weblogic 8.1, and i folow the tutorial to generate stub and client code for invoking a webservice hosted by another weblogicserver, here is a portion of the wsdl file :
    <wsdl:definitions targetNamespace=" .......
    xmlns:tns2="http://exception.toto.fr"......>
    <wsdl:types>
    <schema targetNamespace="http://exception.toto.fr" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ChainedException">
    - <sequence>
    <element name="cause" nillable="true" type="xsd:anyType" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    <wsdl:message ....../>after that, as desribed in the weblogic doc, i create a build.xml, and run the ant command (wich call the clientgen weblo ant task, i end up with the following error :
    [clientgen] weblogic.xml.schema.model.XSDException: Unable to resolve definition for ['http://exception.toto.fr']:tns2:ChainedException perhaps due to the lack of an import statement for namespace http://exception.toto.fr
    [clientgen] at weblogic.xml.schema.model.XSDSchema.getSchemaForName(XSDSchema.java:1062)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupTopLevelObjectImpl(XSDSchema.java:893)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupTypeImpl(XSDSchema.java:881)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupType(XSDSchema.java:872)
    [clientgen] at weblogic.xml.schema.model.XSDObject.lookupType(XSDObject.java:324)
    [clientgen] at weblogic.xml.schema.model.XSDAnyType.getBaseTypeObject(XSDAnyType.java:56)
    [clientgen] at weblogic.xml.schema.binding.internal.codegen.SchemaInspector.realBaseType(SchemaInspe
    .....thanks a lot for your help

    I am facing the same problem.Did any one able to find the solution

  • Change Document Object - SCDO

    I have created a new Change Document Object for a Z table(say ZXXX). When Generating Update program for this change document, a new structure is generated VZXXX that has ZXXX as include. This structure does not have a Package assigned to it and therefore can not be transported.
    Does anyone has encountered this problem? Any urgent help is appreciated.
    Thanks
    Amit.

    Hi,
    try report RSWBO052 to change device class
    A.

  • Error Code 8024200D while installing update KB3000850 for Windows 8.1

    Error Code 8024200D while installing update KB3000850 for Windows 8.1
    I have been prompted for the last 10 days to install the important update KB3000850 in my laptop, but the installation fails every time.
    Two days ago, on March the 12<sup>th</sup>, I installed 31 updates without any problem. What is wrong with this particular update?
    You will find below my dialogue with Microsoft Support Engineer, Mr Niranjan Manjhi, who referred me to you:
    Hi Michelle,
    Thank you for posting your query in Microsoft Community.
    I understand that you are unable to install the a specific update KB3000850. I will be happy to assist you with your query. Let me ask you;
    Is your computer connected to domain?
    Which security software is installed in the      computer?
    Do you remember making any specific change in the      computer prior to the issue?
    This November update rollup also includes all previous updates since the previous image update in April 2014 and this includes performance and reliability
    improvements.
    Cause:
    This issue occurs because a process keeps a file in the component store open. Therefore, the file cannot be deleted or overwritten. Let's try the methods below and
    check the status.
    Method 1: Depending on the architecture of your
    Windows 8.1 operating system, I would suggest you to install the following package first and then try installing the KB3000850.
    All supported x86-based versions of Windows 8.1: [link] Download the package now.
    All supported x64-based versions of Windows 8.1:
    [link] Download the package now. 
    Restart is required.
    Method 2:
    If the issue still persists, run the Windows Update Troubleshooter and check the status.
    Click to run
    [link] Windows Update Troubleshooter
    Also refer to:
    [link] Troubleshoot problems with installing updates
    Hope this information is helpful. Please feel free to reply in case you face any other issues with Windows in future.
    Regards,
    Niranjan Manjhi
    Dear Niranjan,
    Thank you for your answer.
    To answer your questions:
    1) Yes, my laptop is connected to the domain,
    2) My security software is McAfee Total Protection, the same I use for my PC running Windows 7 XP,
    3) I did not make any specific change to the laptop. It is true though that I run regularly McAfee´s QuickClean.
    In your answer, you suggested 2 methods for resolving the problem.
    I chose to apply first the second one, i.e. I ran once again the Windows Update Troubleshooter, which revealed again the following status:
    Potential Windows Update Database error detected Ox800F08F: Not fixed
    Windows Update components must be repaired: Fixed
    And a last information: Yesterday, McAfee´s Vulnerability Scanner was automatically activated, showing as "critical" the update in question ("important" according to Windows)!
    As for applying the first method you suggested, I will need the services of a professional, someone more IT literate than myself.
    Michelle
    Hi Michelle,
    Thank you for keeping us updated on the issue.
    Since the computer is connected to domain, I would request you to post your query in the TechNet forums as your question is beyond the scope of what
    is typically answered in this consumer forum and would be better suited for the IT Pro audience on TechNet.
    Please post your question in the link TechNet Forums.
    Regards,
    Niranjan Manjhi

    Hi there @Achintya-only
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I see that you are getting an error code, when you try to install Windows 8.1 from USB or DVD. I am happy to assist.
    Just to clarify, you are using a standalone Windows installation disk, you are not using a factory recovery image. Is that correct?
    Have you run the hardware diagnostics on your notebook? HP Notebook PCs - Testing for Hardware Failures (Windows 8)
    What operating system was on the system before, and have you made a set of recovery media, for your original factory installation?
    Please let me know what you find.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Problems while generating the report........

    Hi Experts,
    I have genereated a new report on purchasing data, I am facing bellow problems while generating the report,
    1) In rows one Invoice doc num is there, I am not getting result row for this object, I have given NEVER in supress result rows in properties of that object, but it's not showing.....how can i get result row for this object?
    2) I am getting '#' for the blank values, How to remove these '#"s
    Please help to solve my above problems,
    Helpful answer will be awarded with points,
    Thanks in advance,
    Venkat.

    Hi,
    1) If you have only Invoice Num it does not shows the result Row .
    2)If you display the characteristics as Key u will get as '#'. You can select as Text,then it will show 'Not Assigned'. (Hope you know that when the Values not updated from Infoprovider then # appears at output )
    Hope it helps

  • Problem in multiple item for change document objects

    hi gurus,
    I have created change document object in tcode SCDO . It had giveN function module /TMW/CHG_OBJ1_WRITE_DOCUMENT.
    CDPOS AND CDHDR tables are updated with changed data. now i am trying to display all old and new data in se38 program.
    here my problem is when ever i changed multiple  item data , my program showing first item details only . I need to show all item data when ever i changed parallel . please help me where is my problem .
    thank you

    I think this is issue with function module generated thru SCDO Please check in your function module inside that the following function modules are used
    CALL FUNCTION 'CHANGEDOCUMENT_OPEN'
    CALL FUNCTION 'CHANGEDOCUMENT_MULTIPLE_CASE'
    CALL FUNCTION 'CHANGEDOCUMENT_CLOSE'
    if not then there may be issue with SCDO

  • IS- Retail- problem while generating delivery in WF30

    Hi Guys,
    I do have problem while generating deliveries after adjusting the stocks to stores and external customers.
    T.Code WF30- Merchandise Distribution for CD/FT process
    Scenario :!from DC to Stores process (1)
    I am getting an error called for stores is "*shipping Data not Found for item 10,20 and 30" (using one article and 3 stores)*
    Another scenario :2 from DC to external Customer(2)
    I am getting an error called "No deliveries are generated"
    (using one article and 2 customer)
    shipping point determination was done in OVL2,
    Picking area determination has done with few settings( if anybody guides what and where all the settings to be checked) I given Storage conditions in Article MD, entered Sto loc in Storage loc Deter and condition at IMG>LE>Shipping>Picking
    Is it problem in Allocation Table Item category level for second one ?
    for both scenarios i am using Allocation Table Item category AAFA
    In AAFA,(Alloc Item Cate) SD Type is ZZTA and delivery type is not maintined..(what are the entries should be in the Alloc Tab Item Cat).
    but in ZZTA sales order doc type(v0v8) Delivery type is LF
    Plz help on this..
    regards
    Harish

    Hi guys,
    I got the answer and i am closing this thread.
    Harish

  • Problems while generating the proxy definition

    Hi Experts,
       I am facing the error " Problems while generating the Proxy Definition! ", when creating the proxy definition, for a specific URL.
    The URL to call the webservice is similar to "http://www3.XYZ.com/_vti_bin/newswebservice.asmx?WSDL" and is returning the appropriate XML code. Moreover accessing the webservice through browser, returns the expected response, too.
    From the NWDS side, where we are creating the proxy, again, everything is fine, because we have already created two proxy definitions, in similar fashion, but for different WSDL links.
    The only difference we are encountering is like, earlier the links were of type "www.abc.com/..." while the new URL is of type "www3.xyz.com/..." type. I hope this load balancing technique has hardly to do anything with it.
    Any pointers for possible reasons and solutions will be of much help.
    Regards,
    Akhil Mishra

    If you are consuming a web service in NWDS look below document and check if you are not missing any step:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a

  • Problem while generating hindi pdfs

    Hi,
    This is Dasaradh. I have one problem while generating pdfs in HIndi. Here i have used two properties files, one is English and another one is Hindhi. If the user selects English PDF is generates Suceesfully. But if the user selects hindhi then pdf is generated but in that pdf all the charcaters are in diferent format but not in hindi.Actually my hindhi properties file and that pdfgerneration jsp both are in UTF-8 format. Here i have used PDFWriter class for generating pdfs.
    Can any one pls help for generating the hindhi pdfs.
    Thanking You,
    Dasaradh.P

    Make sure that you use the correct and the same encoding thoroughout the complete process.
    1) Save the propertiesfile with in that encoding. Even the most simplest texteditor (notepad) offers you an option list of charset encodings to be used during 'Save As'.
    2) Read values from the propertiesfile with that encoding. Use a Reader where you specify the encoding in the constructor. Otherwise either the platform's default encoding (e.g. CP1252 in Windows) or the API's default encoding (e.g. ISO 8859-1 in java.util.Properties) will be used.
    3) Display the values with that encoding. Specify the charset encoding in a <meta> tag in the HTML head.
    A must-read: [http://www.joelonsoftware.com/articles/Unicode.html].

  • RSAU461, problem with activating update rules for cube 0csrv_c01

    Hello,
    I have added new fields to data source 0CRM_SRV_PROCESS_H, then changed transfer rules, added characteristics to ODS 0crm_proh, and reactivated update rules 80crm_proh. But now I have problem with second update rules for this cube named 80crm_cnfh. It is not active and all fields in it have red status, error RSAU461, and I cannot activate it.
    What I should do? Should I change somehow that second source for data to my cube (change infosource, ods, rule?)
    Regards
    Radek

    hi
    As said by the Mti u have just changed the info objects in the ods and u need to map them with the specific info objects from the ods.
    double click on the Update rules of the cube and go to the characteristic tab there map the newly added info objects with the IO in the ods.
    Khaja

  • Error while generating CW kin for the new BG created for Taiwan

    HiAll,
    Please provide your help to resolve this issue,
    Iam getting error while generating CW kin for the new BG created for Taiwan, China.
    Error : Value TW is not a Valid context for the Descriptive Flexfield Person Developer DF.
    Please let me know, is there any step missed to create CW kins for new BG's.
    Thanks-
    Sowmya.
    Edited by: user13419037 on Jul 2, 2012 3:41 AM

    Hello ,
    Your solution can be solved by enabling the displayed check Box in Location Address DFF
    Thanks
    Bindu

  • Problem while postings a MIRO for partial deliveries.

    Hi,
    We ar facing a problem
    while posting a Miro for the Planned delivery costs for the import orders.
    when we receive an item in partial consignment of the same order.
    The system will allow for the first time to post the deliver cost, after this the MIGO and MIRO will be done and cycle will be completed.
    For the second remaining consignment, the system is not allowing to post the Miro itself for the delivery costs.
    IT is giving an error message."Quantity invoiced greater than goods receipt quantity."
    We have disable GR based IV in PO
    Provide me the solution.
    Sunil

    hi,
    i hope you have done the following steps
    1) for import do MIRO first for the custom duties ( CVD, Edu Cess, S& H Cess on CVD) by selecting planned delivery cost.
    2) J1IEX ( capture) referencing material document number of MIRO.
    3) MIGO of the qty received.
    4) J1IEX ( post).
    follow the same steps for the next consignment.
    what I see is that you have mentioned the full qty against the value in MIRO.
    say ur PO qty is 10 and your partial shipment is of qty 5.
    then in first MIRO entry enter qty as 5 not 10.
    pl check your material documents of MIRO and MIGO and see what qty you have entered.
    Thanks and regard
    Rajesh

  • Error releasing transport request for change document object

    Hi Gurus,
    I created a new change document object for a Z-table. When i try to release the transport request in the development system it terminated with a message "Export application-defined objects       17.12.2009 11:07:45 Not yet executed". The transport request continued to be in the "Release started" status and i am not able to release it.
    I checked in the co file & data file directory for this request, The co file is available but the data file is not created.
    Could you please let me know how to solve this?
    Regards,
    Immanuel.

    It was a problem with some basis settings. Was rectified by the basis team.

Maybe you are looking for

  • My iPod is dead and won't work

    So, 1 week ago I posted the same question but no replies. My iPod won't work because when i boot up my iPod, it displays the apple logo like normally, but after a few seconds, it dissapears with a white flash. A few seconds later, the apple logo pops

  • After Spry validation how to redirect to a "you have successfully register" page

    I am helping a friend set up a webpage for her business.  You can see the website here www.themessagetext.com.  I used a Spry validation for the phone number and the checkbox.  One the validation is verified, I want the user to be redirected to a pag

  • Ability to do a custom install

    (Well they had a check mark for "question" but not one for "rant" so I'm calling this a "question"; apologies in advance.) My issue: Installing (or upgrading) iTunes always results in 3 separate entries being placed in the main "All Programs" group o

  • Install base package dictionary for nokia 5800

    hi all.i have nokia 5800.i download persian package distionary from nokia web site.i tried to install it but it is an error. i get the message " install the base package first " .i serched in nokia web site but didnt fine the base package.how can i f

  • Context change not working during test

    Hi all, I've made a mapping. With several context changes. They all work fine when testing them in the message mapping and the operation mapping. But when I'm testing the actual scenrio all the target fields where a context change is used the target