Header Text and Item Text for Sales Order
Hi,
Can any one help me on Header Text and Item Text............ ASAP.
<b>STXH & STXL</b>
TDOBJECT :
TDID:
TDNAME :
Regards,
Raghunath.S
Hi Raghunath,
Go to the text <b>in plain page mode</b>, and then you do via the menu '<b>GoTo</b>' -> '<b>Header</b>' and you get the parameters you need ( object, name, id, ...).
Repeat this operation for each text.
<u>Tips :</u> If you want to handle those text, use FM : READ_TEXT, EDIT_TEXT, and SAVE_TEXT...
Hope this helps,
Erwan
Similar Messages
-
Price and item proposal for Sales order bom
Good day everyone,
I've created a sales order bom for a material, when I create a new sales order for this material, SAP give me all the materials listed in the bom, may I ask is there anyway to do the setting as below:
1: Gross price (PB00) for material that come from BOM explosion having different price as the material that enter manually (without BOM).
2: Could BOM explosion happen in item proposal? With this, I could send out the item proposal to my customer before the actual sales order.
Thank you very much for you help.
Best regards,
Lee
Edited by: CK Lee on Mar 31, 2011 2:46 PMGood day everyone,
I've created a sales order bom for a material, when I create a new sales order for this material, SAP give me all the materials listed in the bom, may I ask is there anyway to do the setting as below:
1: Gross price (PB00) for material that come from BOM explosion having different price as the material that enter manually (without BOM).
2: Could BOM explosion happen in item proposal? With this, I could send out the item proposal to my customer before the actual sales order.
Thank you very much for you help.
Best regards,
Lee
Edited by: CK Lee on Mar 31, 2011 2:46 PM -
SAP SCRIPT Header text and Item text not printing in customized PO
Hello Experts,
I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
I want to print the header text and Item text in my form.
For Header text I have used :
/: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
Problem 2: For item text the field is concatenation of EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.Hi,
Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
PROGRAM ZMEDRUCK_SUBP1.
TABLES: EKPO, EKKO.
FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
data xname like THEAD-TDNAME.
data i_xtline like xtline.
clear i_xtline.
refresh i_xtline.
CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
MOVE v_item_text to ITEMTXT.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = F01
language = EN
name = ITEMTXT
object = EKPO
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = i_xtline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. -
PO Header Texts and item texts
Dear Experts
PO header texts and item texts are stored in which table. please tell me the table name.
Here i have configured PO version management. in that i want to control some sensitive fields change only version management will get triggered. it is done through for this i have configured the sensitive fields in PO Print relevant changes. in that config the PO header texts and item texts table and field name is not exist.
Now i have change the PO through me22n in header texts version management is triggered for this. i want to control this if some body change the po header texts and item texts version management should not triggered.
is it possible.
Regards
Anand.Hai,
Try this table STXH.
Get the required information(input) for the function module 'READ_TEXT'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = sy-langu
NAME = thead-tdname
OBJECT = 'TEXT'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
if sy-subrc eq 0.
loop at lines.
wa_HEADER_TEXTS-TEXT_FORM = lines-TDFORMAT.
wa_HEADER_TEXTS-TEXT_LINE = lines-TDLINE.
append wa_HEADER_TEXTS to lt_tmp_HEADER_TEXTS.
endloop.
Better take the help of abaper.
With Regards,
Jaheer -
How can we revise the pricing both at header and item level of sales order?
Dear All,
Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.Dear Lakshmipathi,
Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot. -
Display header text and item text in smartform
Hi all,
I have to display header text and item text of PO in smartform BBP_SUSPO.
So how to do that.. I have to use 'read_text' Fm or directly i can get values from any table ???
Thanks in advance.
Regards,
Anagha DeshmukhHi Amit,
I have used inculde text that is avalable in smartforms to display header & Item text in this way
For header :
Text Name Header guid
Text Object BBP_PD
Text ID HTXT
Language EN
For Item:
Text Name Item Guid
Text Object BBP_PD
Text ID ITXT
Language SY-LANGU
U can used this attributes in read_text function mdule also.
Thanks & Regards,
Anagha Deshmukh -
Purchase requisition - Header Texts and Item Texts
Hi,
In Creating Purchase requisition if we enter the Header note text and Item text, in which table these texts will be stored.
Regards,
RamHi,
To see any text go to the detail of that text you will have a magnify button below that text click there you will get the stand text editor open.
Click on GOT->Header it will give the information you need to get this text via function module 'READ_TEXT' they are sored in STXH.
Points if find this helpful
Regards,
Yakub Shah -
Difference B/W Delivery plant and item plant in Sales Order
HI,
May i know Difference between Delivery plant and item plant in Sales order and what is the use of those fields.What is the process of raising sales order for different plants.
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:10 AMHI G. Lakshmipathi,
Thnks for the reply.Yes i am comparing (DWERK (at header level) and WERKS (at item level)) these two fields.
Any how we can give only one plant in Customer Master, we are not maintaining Customer/mtrl regard (Not required in our company scenario) and we have extended MMR to different plants.
So as per ur answer u went me to change only WERKS (at item level) while raising sales order for different plants.Is it enough?
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:46 AM -
Quality inspection for the items issued for Sales order
Hi, How to map the qc for the items issued for sales order?
Dear Yadav,
-Activate insp type 10 in the Material Master-QM view insp setup (MM01)
-Create Inspection plan (QP01) with usage as Goods issue & assign Insp characteristics
-Create Sales order (VA01)
-Delivery against the Sales order (VL01N) or through sales order menu. Delivery Insp lot gets created after Delivery is made.
-Do results recording and take usage decision (QA32)
Note:
-This inspection is non stock relevant inspection. There will be no stock posting through Quality Management.
-Post Goods issue in the delivery can be made only after taking the usage decision.
Regards,
Keerthi. -
Header Text And Item Text in Sales Order
Dear ALL
First one:
I have two different problems with text in sales order, when i create sales order after giving all the information like customer and material.
If i navigate through the Go To-- > Header ---> Text then there is a dump is any idea what all i need to check?
Error Message
A RAISE statement in the program "SAPLOLEA " raised the exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
The termination occurred in the ABAP/4 program "SAPLOLEA " in
"AC_SYSTEM_FLUSH".
The main program was "SAPMV45A ".
The termination occurred in line 27
of the source code of program "LOLEAU02 " (when calling the editor 270).
Second one:
when i am creating the sales order without enter the quantity , customer and material if i navigate through the Header Text or item Text i can able to go but there in no dump, the moment i enter the quantity for the material then it over writes all the text in item and header.
Any suggestions please?
Thanks & Regards,
VeerDear Veer,
Please take the help from the technical people to fix the issue because it may related activation some Z developments which are related to the text.
Check the text determination procedure configuration settings also whether the text is calling from the Customer master and Material master.
If the text is calling from the master data maintain the text in the master data then try.
I hope it will help you
Regards,
Murali. -
Create and Change functionality for Sales order
Hii All,
Can any one please suggest me any Standard program or BAPI or IDOC for Sales order, it should cover create as well as change fuctionality of Sales order.
this is very urgent to me.
Suitable Answer will be Rewarded.
Thankyou,
Shobha.For change you can use:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
For create you have the following choices:
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESDOCU_CREATEFROMDATA with business object 'BUS2032'
The difference between the create ones is the functionality you get e.g. create_from_data2 is the 'most powerful' but you also have to provide the most data. It just depends on what you want it to do.
In terms of IDOCS:
message type:
SALESORDER_CREATEFROMDAT201 or
SALESORDER_CREATEFROMDAT202 or
ORDERS05
Hope that helps,
Michael
Here is an example we use, you might want to populate additional fields or leave fields out in case you want different data to be transferred to the IDOC - however some fields are mandatory.
create the order header structure
ls_header-doc_type = ls_screen-order_type.
ls_header-sales_org = gc_vkorg_aa01.
ls_header-distr_chan = gc_distr_aa.
ls_header-division = gc_divis_aa.
ls_header-purch_no = ls_screen-po_num.
ls_header-po_method = ls_screen-po_source.
ls_header-ship_cond = ls_screen-ship_cond.
create partner input table (sold to)
ls_partner-partn_role = gc_role_sold.
ls_partner-partn_numb = ls_screen-sold_to.
APPEND ls_partner TO lt_partner.
create partner input table (ship to)
ls_partner-partn_role = gc_role_ship.
ls_partner-partn_numb = ls_screen-ship_to.
APPEND ls_partner TO lt_partner.
items are added by looping at a table
ls_item-material = <fs_upload>-matnr.
ls_item-req_qty = <fs_upload>-quantity.
process the quantity, it needs to be three decimals, because it
will be moved into a string in the BAPI and divided by 1000 before
it is moved back into a number field (1.500 => 001500 => 1.5)
ls_item-req_qty = ls_item-req_qty * 1000.
truncate remaining decimal places if exist (1.2525 => 1252.5 => 1252 => 1.252)
ls_item-req_qty = trunc( ls_item-req_qty ).
price is taken from the file
ls_item-cond_type = gc_cond_so_upld_price.
ls_item-cond_val1 = <fs_upload>-price.
condition one (price) is multiplied by 10 in the BAPI
ls_item-cond_val1 = ls_item-cond_val1 / 10.
no discount
ls_item-cd_type2 = gc_cond_so_upld_disc.
ls_item-cd_value2 = 0.
ls_item-item_categ = ls_screen-item_cat.
APPEND ls_item TO lt_item.
then BAPI is called
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
EXPORTING
order_header_in = ls_header
business_object = gc_bus_obj
IMPORTING
SALESDOCUMENT = lv_vbeln
RETURN = ls_return
tables
order_items_in = lt_item
order_partners = lt_partner.
IF ls_return-type NE gc_msgty_error AND
ls_return-type NE gc_msgty_abend.
No errors where found
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ELSE.
There was an error or abend
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
ENDIF. -
Order and item status in sales order
We had multiple items in the sales order
for one of the item, the quantity was 5, but user cretaed a delivery of 8. but she only post goods issue for 5.
the delivery and order was open
at this stage the archival of delivery took place.
we changed the status in tables vbuk and vbup to complete.
but in the display of status in sales order, it still shows being processed.
What can we do now to set the order status and item status to COMPLETE.
Thank you for your replyHi,
This order status will not be complete unless the delivered quantity is equal to the order quantity. You have 2 options. 1. Change the order quantity to 8 and delliver the rest 3 and the order status will be set to COMPLETE. 2. Otherwise, reverse the PGI in VL09n and delete the delivery and create the delivery again for 5 qty. This will set the order status as COMPLETE.
Regards,
Raghav -
Fetch Vat and Octroi value for Sales Order Smartform .
Hi all ,
I am using a copy of /SMB40/SDORC_A smartform for sales order creation . I have to pass the vat and octroi of individual item as well as on the final total and then give the final bill amount . Can anyone please tell bewhich fields should i use and which areas do i need to do the changes in the smartform.Hi Disha,
From the billing number VBRK-VBELN, pick the value of VBRK-KNUMV and pass this to KONV-KNUMV and display the value of KONV-KWERT against KSCHL
Regards..
Palaniayppan subbiah -
How to get header text in user exit for sales order
Hello all,
My requirement is that I get and modify the header text in user exit when creating a sales order. In the user exit I'll do some validation and put the error code into header text. But I can't use function 'READ_TEXT' to get header text since the text has not been updated into database.
Can anybody help me? point will be rewarded. Thanks in advance.
regards,
--AlexUse the following internal tables. These internal tables are declared in include <b>THEADDAT</b>. THEADDAT is an include of <b>MV45ATOP</b>.
THEAD,
TLINE.
TVCOM,
TTXID,
TTXIT,
TTXOB,
TTXOT
I hope it helps. -
Delivery tolerance at header and item level in sales order
Dear All,
My client wants to maintain delivery tolerance at both header and item level. NOTE: The tolerance at sales order header is different than the delivery tolerance at sales order item.
eg if i maintain 3% plus and minus tolerance at item, the header level tolerance can be 2%.
Also if there are more than 1 line items, the system should give warning message, when it finds that the delivery tolerance at item level can be maintained but that of the header level cannot be maintained and vice varsa.
Awaiting an early help and thankful for the same in advance.
Regards,
Avnesh KamdarHi Avnesh,
Delivery tolerance can be made in the customer master,sales org data ---delivery tab.
Delivery tolerance is always at item level.
Reward points if it helps.
Regards
Karan
Maybe you are looking for
-
How to create growl message in JavaFX
I want to create Growl message in JavaFX similar to to this: http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fd.hatena.ne.jp%2Fbluepapa- Can you tell me how I can do this or some basic instructions what I
-
How to link from another page directly to a photo within a Spry gallery?
I have created a page that has a photo gallery using Donald's tutorial to make a spry photo gallery. I have a need to link to a specific photo in that gallery from another page. I have seen the discussions on how to do this with tabbed panels etc.. b
-
Unsure how to copy current contents of iPod back to iTunes for future use
Had a system failure that required operating system upgrade to Windows Vista. This left iPod with orphaned content that does not show on iTunes. Am afraid that if I put new content on the iPod, the old would now be gone forever. Looking for a ready-a
-
HT1904 I can download applications from my app store why?
I just bought a new iPhone I can download any application from the App Store why??
-
InDesign CC crashes when attempting to load.
Using OSX 10.8.4. What's up?