Type reference across CDS documents
Hi,
Is it possible in HANA SP07 to refer to a type define in CDS document 'A' in CDS document 'B'.
Example
CDS Document A is as follows
namespace x.y;
@Schema: 'FOO';
context A{
type status : String(2);
CDS Document B is as follows
namespace x.y;
@Schema: 'FOO';
context B{
entity bar{
barStatus : A.status;
If I activate the CDS document B I get error stating artifact A.status not found. So is this error expected or is there a way by which we can refer to a type defined in a different CDS document.
Thanks
Kind Regards
Chandan
No there is not yet support for referencing entities or types across multiple HDBDD artifacts. This is planned for the future.
Similar Messages
-
Creation of Purchase requisition with reference to Contract documents
Dear All
I am not able to create the Purchase requisition with reference to Contract documents, in outline agreement field if I enter the contract document number which is already existing it is not copying the details, again I have to enter all the details like Plant, Material, document type, Qty etc. Even after selecting the PR document type as RV for outline agreement also it is not coping. Kindly let me know that can we not able to give reference of Contract number in this outline agreement field to create Purchase requisition.
regards
Dhanu1.Logistics--Materials Management--Purchasing ---Purchase Requisition --Follow-on functions --- Assign and Process
2.ME57
3.Select the Assigned Purchase Requisitions checkbox if you also want to see requisitions already assigned, and choose Execute.
4.On the Assign and Process Purchase Requisitions screen, select the requisition lines for your material.
5.Choose Assign Manually if the info record already exists.
6.On the pop-up Assign Source of Supply Manually dialog box, make the following entries:
Agreement 46XXXXX Agmt item 10
7.Choose Assign Source of Supply.
For assign the source of supply, you can also choose Assign Automatically (only if not already assigned by MRP due to existing source list). If more than one source exists, select the contract in the Source Overview for Purchase Requisition 100XXXXX window and confirm with Enter.
When assigning a source, make sure to select the contract.
8.Choose Save.
9.Select the line item, and then choose Assignments Overview (SHIFT+F5).
10.On the Assign and Process Requisitions: Overview of Assignments screen, select the line below Vendor (you can only select one at a time), then choose Process Assignment.
11.On the Process Assignment: Create PO window, check and make sure the Order Type (NB), Purchasing Group and Purch. Organization fields then choose Continue (Enter) to confirm.
12.On the Create Purchase Order screen, select the requisition in the Document Overview section and choose Adopt in the left part of the Document Overview screen.
13.Choose Save. -
Goods Issue with reference to Material document
Hello,
I would like to create Goods Issue with reference to material document (Transfer Posting document) , but the following message appears :
"Selected material document does not correspond with action to be executed".
Is it possible to create Goods Issue with reference to Transfer Posting (mov.type 311 - from stor.loc. to stor.loc.) ?
ThanksThanks,
probably I'll have to find another way to solve this business requirement of copying the transfer document data in GI.
We have an auto created transfer postings via interface from another system and the main idea was to use already entered fields in transfer posting document such as material , quantity , text , goods recepient , etc. and not to enter them twice when GI should be created. In our case (it's a case for certain materials) it's always 1:1 relationship, so the idea was to facilitate the job of creating the GI, because GI should contain the same data as in transfer posting document. -
Credit/Debit Memo Request with reference to Billing document via IDoc
Hello Experts,
It seems SAP doesn't support Credit/Debit Memo Request with reference to Billing document via IDoc. Via IDoc, we can create sales document only with reference to contract or quotation but not with reference to billing/invoice document.
Wanted to check if anybody came across such requirement and what would be the best way to acheive (Other than custom program using BAPI).
Additional Information: Its ECC 6.0 Environment with AFS 6.03
Appreciate your help.
Thanks,
Shekhar.Please Help... it is Urgent... Thank you
-
Hi there,
Help appreciated in programmatically 'Supporting content types in the gallery and for content types associated with a document library'.
Any resources/references or source is greatly appreciated.
Regards,Hi,
Would you mind providing more details about your requirement? Cause I'm not quite clear about what you really need.
What’s more, there are seems two questions in your post. If you have several questions to ask, I suggest you post them into every single thread to make them easier to be discussed
in the forum.
Best regards
Patrick Liang
TechNet Community Support -
Document type change for excise document
Dear Experts,
I would like to change the document type for excise invoice generated at the time of J1IIN. At present system is generating document type SA. I want to maintain different number range for these documents instead of SA document number. So I would like maintain different document type for these document.
I have maintained different document ED in Tax on goods movement - Basic settings - maintain Company code settings, but still system picking document type SA.
Please advice.
Thanks & Regards,
Krishna KumarDear Santosh,
Yes you are correct, I need to change the document type of accounting document posted to FI for Excise invoice. We are creating excise invoice with reference to billing document in J1IIN. Document type RV is assigned to billing document type in VOFA. But how I can check the document type for Excise invoice?
Thanks,
Krishna Kumar -
Some of the the type layers in this document were rasterized
We have Adobe Photoshop CS4 Extended.
Recently one of the documents we created came up with this error:
Some of the the type layers in this document were rasterized because an error prevented them from being read.
We aren't using any fancy font in the document, just Lucida Sans
I found one discussion with a similar issue that was caused by the Suitcase Fusion 3 add-on, and resolved when they updated that add-on. However, we do not have said add-on activated in our Photoshop.
Can anyone help us figure out what happened so we won't run across this problem again?
Zane B SteinI still haven't received a reply on this forum, over a year later.
We ended up redoing the document again from scratch.
We just received the error again with a new document, this time a much more time-consuming document to set up. The only font however is Arial.
We have Windows 7, 32-bit, Adobe Photoshop CS4 Extended, all adobe products on the computer have the latest update.
What can we do to avoid the error, "
Some of the the type layers in this document were rasterized because an error prevented them from being read."?
Zane -
Understanding reference to a document vs its name
I'm having a hard time understanding how reference to a document works, and where in the AppleScript reference it is explained.
See this simple AppleScript:
tell application "TextEdit"
set MyDocument to make new document with properties {name:"Name1"}
set text of MyDocument to "SomeText"
set text of MyDocument to text of MyDocument & " with more text"
set name of MyDocument to "Name2"
-- display dialog ("" & name of MyDocument) -- A: throws error
set MyDocument to document "Name2"
display dialog ("" & name of MyDocument) -- B: works fine
end tell
Should I remove the comments at the begining of the line where my comment A is, I would get an error from AppleScript like:
"Can’t make name of document "Name1" of application "TextEdit" into type Unicode text"
However, getting a new reference the "same" document using its new name allows me to display its name in a dialog.
So, I understand that, somehow, when I get a reference to a document object, that reference becomes obsolete if I change its name, as if the name actually defines - to some extent - the uniqueness of the object (although TextEdit can have more than one document named "Name2" at the same time, as is shown by the result of running the above script a few times without window cleaning).
I must say this behavior is somewhat a surprise to me, as I thought that, having a "pointer" to the object (I will avoid the term reference here), changing the value of a property of the object wouldn't render my pointer invalid. But no; it seems as if my pointer/variable is re-evaluated when used, and that this evaluation is done using the name property as if it was its unique key. Or is it something else?
What I would like to know is:
How do I know what are the properties that "uniquely" defines an object (and which, if I change them, will screw up the validity of my variables)? Is the name property the only one, or are there other ones? Whenever I see a name property in a class, should I understand it is a "unique key", or are there classes where the name property can be changed without making any of the above problem?
How do I know which property is used by default to evaluate where a variable points to?
Is there any way to make a variable point to such an object without risking to lose it even when an "unique key" property is modified? I've played a bit with the "a reference to" operator with no success (although I might not have used it right).
What part of the AppleScript reference explains this so my AppleScript-newbie/former-java-programmer brain can understand the logic behind this. I kinda understand what's happening, though I'd like to clearly be explained why it works that way.
Thanking in advance you, seasonned AP coders, for sharing your knowledge...1.
The unique identifier of an applescript object can vary from object to object and application to application. Name and id are commonly used for unique identifiers, index is sometimes used, and some applications define their own odd unique referents. Plus, an object can have more than one unique identifier. In fact, you can objects with no public unique identifiers: e.g. 'word' objects, which can only be referenced by relative or absolute position in a string. See the discussions in applescript reference forms.
So no, name properties are not always unique, though usually either the name or id property will be unique.
2.
As a rule, unique properties will be listed as read only (r/o) which means they can only be set at the time the object is made. Sometimes you have to hunt for them, though. For instance, document objects in Text Edit seem not to have any unique identifier until you notice that window objects have a unique id property and each window object has one and only one document object. So, you can uniquely specify a document using something like document of window id xxxxx.
Note also that applescript can be annoyingly inconsistent. Sometimes you'll write a reference that looks correct and even compiles and it still won't work. It depends on how thoroughly the developer fleshed out the core applescript routines.
3.
If you're going to change a unique property, step up to the object's container and find another unique reference that (temporarily) won't change. For example, if you want to change a file's name, find a reference to the file within its folder (e.g. third file of folder x). Of course, you can always kite it as you did above (change the name and then reference it as though it were a new object with the new name).
4.
read the object specifiers section of the applescript language guide; should get you oriented. -
Credit Memo request with reference to billing document
Dear all,
I am having a requirement to create credit memo request with reference to Billing document. But the issue is, I have separate pricing procedure for normal sales to billing, and different pricing procedure for CMR to Credit memo.
When I am creating CMR with reference to Billing document it copies the pricing procedure, Please suggest how to block pricing procedure to get copied. (please note that B: redetermine pricing, is not working in this case)
Suitable points for valuable answers guerenteed.
Regards
BidhuHi,
In VTAF maintain the folowing parameters,
HEADER
053,103 and 03 in the Data T in this order from top to bottom,maintain 021 in the billing header box and check the copy item number box.
ITEM
153,104,004 in the Data T in this order from top to bottom,maintain 303 in the copying requirements box and pricing type E.
This should resolve your issue. -
FI-CA document type when a print document is created
Hello everybody,
We have been searching events (e.g. 0061)/user-exit to change the FI-CA document type when a print document (based on our own logic) is created with transaction EASIBI without success. Maybe you have enhanced something in another project. Can you share you experiences?
Thanks in advance.
Fernando.We have enhanced event R999.
-
Table for output type of a delivery document
Hi guys,
Would you know where could I find the output type of a delivery document espcially after I posted a GI in Shipment? Basically, It should reflect in devlivery document. So I am not sure if I should look at the delivery tables or goods issue.
Help me guys!
POints for the helpful ideas.
THanks!Hi,
There are 2things to be noted here.
1. If your output type was already triggered once, then it should be visible in display mode also, with a Green colour button (if it is processed and the print out is obtained). The fact that the output type is not seen in display mode, says that the output type so far has nto been triggered.
2. Seeing the output type coming in yellow colour in change mode of delivery document is expected. This means that the output is getting triggered now.If you save teh document now, you will get the print out.When you go in display mode again after a gap of say 1min, you can see the same output in Green colour as mentioned earlier.
I hope this clarifies your doubt.Please let me know if you need some more info
You can reward me if it helped you -
With reference to which document Delivery is created in Sub contract
Hi Friends
With Reference to which document delivery document is created in subcontract process .
through which T code I can see this reference document .
Suppose , there are 10 quantity in delivery document , where can I see this 10 numbers are from in delivery document .
In delivery ,in subcontract process , from which document , delivery quantities are copied from . And what should I do in order to avoid over delivery in subcontract process .
PalaHi,
Delivery is created with reference to Purchase order for subcontracting, to view the delivery check in purchase order history it displays the delivery double click on the delivery.Check in VL02N.
Delivery quantity are copied from Purchase order,
To avoid over delivery in subcontract process in material master purchasing view there field called purchase value key which controls this.
Regards
Ravi Shankar. -
With Pages 5.2 how can i use multiple language types in a single document
My Macbook Air Has the version 10.9.3
I'm used to work with the old version of Page.
But now I am using the new version of Pages 5.2 (1860).
I want to know with the new version how do I use an multiple language types in a single document option.
In the old version of Pages I was using Inspector -> Text -> "More" tab -> Language: British Inglese.
In the new Pages 5.2 I do not know how to do it
Could you help me?
meloIt's not possible to tag text with multiple languages in Pages 5. Go back to Pages 4, which should still be in you iWork folder.
For the whole doc in Pages 5, use Edit > Spellling and Grammar > Show Spelling and Grammar. -
Create Credit Memo with Reference to Multiple Documents
Hi. I have the challenge of Creating a Credit Memo via VA01 referencing Multiple Billing Documents. Anyone know any tricks to be able to reference Multiple Billing Documents in batch?
Cheers,
Jerry Tischer
Message was edited by:
Jerry TischerHi Kamlesh,
I think except for the Sold-to-party (which ensures same account assignment group, ur 5th point) all other can be modified in VA01. From the Billing Date of Ref Inv it takes the "pricing date" if they are different then "invoice splitting" happens for the credit / Debit memo request. Similar thing happen in case of different "terms of payment", "Inco Term" etc.
Thanks,
Ashish -
Credit Memo request with reference to Billing Document number via IDoc
Hi,
I want to create credit memo request with reference to billing document number via IDocs.
I have tried through ORDERS05, but when I process I saw that it is only processing with reference to contract number or quotation.
So is any other way of creating credit memo request creation with reference to Billing document number via IDocs?
Thank you in advance.
Regards,
SanthiPlease Help... it is Urgent... Thank you
Maybe you are looking for
-
I am having an issue with duplicate Libraries showing up in my Home Sharing "Home Videos". It happens when I import home videos into iTunes and change the names of the files. How do I avoid this from happening and delete the duplicate libraries?
-
My MacBook Pro (snow leopard osx10.6.8) very slow internet
Seems my MacBook Pro isn't up to the task of opening more than one web page at a time and when I go to print it doesn't - any ideas? Right now I am using a mothballed Dell xp
-
PO issue (for multiple account assignment)
Hi, I am greatly in need of help from you all. The problem is as demonstrated under. A PO is created using the Account assignment category A (Asset procurement). The material to be procured has the Quantity 4Nos. In the account assignments 2 qty are
-
How can I export projects from PMDB1 database into existing PMDB2 database?
Does datapump handle this? I have been told my only option is XER format but I have thousands of projects to move from one database into another existing database.
-
Error message trying to burn InstallESD.dmg
I was trying to burn a backup copy of the Installesd.dmg to a dvd. Using disk utility to burn the file to the dvd, I received a message after the burning process and the ejection of the dvd: "Unable to burn "InstallESD.dmg *(The disc didn't respon