Hello,
I need to get order type by passing sales document number(VBELN). I am getting Order number from VBFA table but I am unable to get order type.
If we chack in vf03 by giving doc.number under menu GOTO->Header->Texts Here we can see the License Type in Description.
I need to pick that value by passing S.doc number and this text for some function module.
I am not sure which function module is useful here.
Please help me in this.
Thanks,
Srini
Request clarification before answering.
Srinivas,
If you are trying to read the text of a document, then the function module is READ_TEXT. You need to pass the TEXT ID, OBJECT, TEXT NAME to get the text.
Let me know if this solves your problem.
Regards,
Ravi
Note : If this helps you, please reward points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, sorry, I thought you were talking about the order type. Yes, use the READ_TEXT function module. You will need to find the ID and OBJECT of the text. You can use SE75 to figure this out. Then look at one of these objects/ids in STXH table to see what the structure of the NAME is. Probably sales document number.
The object is probably VBBK, I'n not sure what the ID wouid be.
Regards,
Rich Heilman
Srinivas,
Can you tell me what SALES document you are using (ORDER / DELIVERY etc)?
Actually, when you go to long TEXT screen, MENU option GOTO--> HEADER should work. Remember, you will have to be in the full mode of the TEXT edit option. For example if its a sales order 191 and you are editing Header text, the values will be
Text Name 0000000191
Language EN
Text ID 0001 -
Form Header
Text object VBBK -
Sales Header texts
Hope this solves the issue.
Regards,
Ravi
note : Please reward points of this helps you.
Hi Sri,
Seems you are confusing . VF03 is for billing doc display whereas in you initial post you mention sales order number.
For Sales Order Header Text
Text ID - VBBK
Text Name - <ORDER_NUM>
Text ID - Depends on which header text you are looking at . in Se16 see valid values in TTXID table giving text object as VBBK.
( You can also cehck directly in table STXH , using VBBK / <ORDER_NUM> to find the id. ).
Cheers
Hi Sri
A sales order has a number of header texts . Just goto Se16 -> STXH . In text object -> VBBK , Text name -> Sales Order Number . Excute -> you will find the corresponding text IDs . For each type of header text there is an ID . In STXH you will only see the IDs which are maintained for a particular order. To see all valid text ids for sales order goto table TTXID with object -> VBBK.
Cheers
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.