HEADER TEXT COPY TO ITEM TEXT
dear all,
Can i know whether can we copy the Sales order header text to sales order item text.
Description:
While creating sales order, the value which is entered in header text needs to copy to all the line items.
I have tried in text determination, which is not working. Kindly throw some light on the same
regards,
Arun prasad C R
Header text correspond to the entire document, whereas the Item text is specific to that particular line item in the sales order.
It is not posible in the standard to copy the Header Text to each of the item text. You need to maitain the text IDs in the text procedure for the item and assign the relavant text procedure to the Item category.
Similar Messages
-
Copying the item text in case of multiple line items
Hi All,
I have a scenario where the sales order gets created in our SAP through a 850 idoc. The incoming idoc has only one item segment which carries the total order quantity ( for example say 1000). Since my company has contractual agreements with the end customer for doing multiple shipments , our sales department splits the total quantity into multiple line items in the sales order. Say splitting the 1000 quantities into 5 line items of 200 each.
The problem here is that when the sales order got created , all the related item text were copied only to the first line item ( of 1000 qty) and which is standard SAP. Since the order quantity was manually split, the related item text are not carried to the subsequent line items. The issue comes when an outbound (810) idoc is sent to customer . As I told earlier since only the first line item has the item text , the 810 idoc which was created for the first line item only has the item text . The rest of the 810 which were subsequently created for multiple shipments/invoices on different dates didn't have the item text in the 810's. This is becoming a major problem as the 810 files are failing at our trading partners end because of missing text.
Now my question is, Is there a way that I can make the item text copy automatically when multiple line items are created manually by business. Like is there a way where I can modify MV45AFZZ to copy the item text in their respective segemnts ( z003,z004 etc) to "N" number of line items.
Also please suggest if there is a better way of doing it. Suggstions are most welcome !!!.
Regards
AmrithHi,
First of all try to avoid doing select into corresponding fields. THis would improve the performance of the program.
Try to do a single fetch from the BSIS table . fetch the hkont, belnr, dmbtr fields in to a master internal table. Manipulate and play with the data as required. Don't hit the data base table more than once (unless it is required) . This would improve the performance of your code.
Try to code this way.
types: begin of ty_bsis,
hkont type hkont,
belnr type belnr_d,
dmbtr type dmbtr,
end of ty_bsis.
data: it_bsis type standard table of ty_bsis,
wa_bsis type ty_bsis,
select hkont belnr dmbtr
from bsis
into table it_bsis
WHERE HKONT IN S_RACCT
AND PRCTR IN P_PRCTR
AND MONAT IN S_POPER
AND BUKRS EQ P_BUKRS
AND GJAHR EQ P_GJAHR
AND PRCTR IN S_PRCTR.
Using the data availabe in the it_bsis, you can manipulate as required.
Hope this would be helpful
Regards
Ramesh Sundaram -
Find text name of item text of object eban
How to find the text name of item text of object eban.
Thanks,
Sai.Hi
If you want to maintain any text in Purchasing first maintain the texts in Material Master - Purchase Order Text - Click Create / Change the Text in the Space given then
GOTO - HEADER - >
TEXT NAME
TEXT ID : BEST
TEXT OBJECT :MATERIAL
LANGUAGE : EN
Regards,
senthil. -
Copy of header text to Line item text in MIRO transaction
Hello Friends,
I have a requirement where i need to copy the header text ( BSEG-SGTXT) to item text ( EKPO-TXZ01 i.e PO text) during MIRO creation.
Is there any user exit or BADI .OR is there any other method for doing the same .
Thanks and Regards !
AshishDear,
Go to se37 MRM_FINAL_CHECK.--display
then click on that enhance source button ( shift+f4) then go to edit--enhancement operation ---show implicit enhancement option this is how you can find out the eh=nhancementts .
Cheers
fareed -
Copy line item text in all line items
Hi
My requirement is during transaction, if long text entered in one line item the same taxt should copy to all line item by default. if user want to chane the same for particular line item, it should be changable.
Is it possible?. If yes, please revert in detail.
RegardsHi Devi,
If you put a plus sign in the text field, the system copy the previuos line text into the current field.
Of course you can change it if you want.
In addition we did a change in our system so the header text is transfered to the lines text when the line text field is empty.
Regards
Ofer -
Standard SAP Table for PO Header Text and PO Item Text
Hi,
I want to know the Standard SAP Table where the PO Header Text and the PO Item Text are stored.
Thanks,
RKPO texts are stored in tables STXH and STXL.
TDOBJECT is EKKO for header texts and EKPO for item texts.
Just for future reference with regards to getting text id's etc.
eg: PO texts.
--> Go into the PO.
--> Go to the text tab (item or header - depends what u want).
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
You need to use function module READ_TEXT. Since lenght of text is variable it is stored in binary format and cannot be read via a table viewer. -
Copy portfolio item text to cProject description
Dear all,
When creating a new portfolio and setting the flag "automatically create cProjects-project" a new cProjects-project is created. However, the project description is left blank and we would like to have the portfolio item text copied.
Is this possible?
Kind regards,
John.Hi John,
You can do this by mapping these two fields in DFM attribute synchronization. The item text will then get copied to the project long description field.
Regards,
Vivek Pandey -
Sales order item text to delivery item text
Hi All,
Please find my query below :
sales order is maintining item level text . is there any posibility to update same text at the item level in delivery ? Means after creating delivery the sales order item text tranfered to delivery item text.
How can i update the sales order item level text to delivery item level text.
is there any user-exit or any configuration process or any other process. please let me know
Thanks in advance
Regards
SudhakarCheck this [link|http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf]
Refer to page 19. you will have to assign the requirement to the access sequence of the header/item text determination, this, you can ask your functional consultant to do it,. If you want to code your own requirement, then refer to the link that I provided you above.
KR,
Advait -
Update FI item text from PO item text
Hi all,
i am trying to update FI item text(bseg) from PO item text(ekpo).I know that bseg is a culster table therefore inner join is not allow.So is there a way i can join these two tables together so i can retrieve the line item and then i'll do a modify to update into FI item text.I have tried the various codes that are posted within this forum but can never get anything to write:/ out.
I've manage to retrieve the various info from PO (ekpo) and also manage to update the FI text field with some random words(but both seperately).What i need now is to create a link between bseg and ekpo.
I have attached my coding for better understanding..Thankss
REPORT ZSTKLILINTEST3 LINE-SIZE 1023 LINE-COUNT 1023 NO STANDARD PAGE HEADING.
Table Declaration
TABLES: ekpo, ekko, bseg, zstkll_1.
Types Declaration
TYPES: BEGIN OF t_bseg,
ebeln LIKE bseg-ebeln,
hkont LIKE bseg-hkont,
END OF t_bseg,
BEGIN OF t_ekpo,
ebeln LIKE ekpo-ebeln,
txz01 LIKE ekpo-txz01,
bukrs LIKE ekpo-bukrs,
ebelp LIKE ekpo-ebelp,
hkont LIKE bseg-hkont,
END OF t_ekpo.
Data Declaration
*grab data from t_ekpo then append it to zstkcy008
DATA: ekpo_tab TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE,
bseg_tab TYPE STANDARD TABLE OF t_bseg WITH HEADER LINE,
zstkll_1_tab TYPE STANDARD TABLE OF zstkll_1,
wa_zstkll_1 LIKE LINE OF zstkll_1_tab.
Selection-Screen
SELECT-OPTIONS: s_bukrs FOR ekpo-bukrs,
s_ebeln FOR ekpo-ebeln,
s_hkont FOR bseg-hkont.
INITIALIZATION EVENT
AT SELECTION-SCREEN EVENT
START-OF-SELECTION
START-OF-SELECTION.
SELECT bukrs
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
WHERE bukrs IN s_bukrs.
IF ekpo_tab[] IS NOT INITIAL.
SELECT ekkoebeln ebelp bedat txz01 ekkobukrs
FROM ekpo INNER JOIN ekko
ON ekpoebeln = ekkoebeln
INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
FOR ALL ENTRIES IN ekpo_tab
WHERE ekko~bukrs = ekpo_tab-bukrs
AND ekko~ebeln IN s_ebeln.
WRITE:/ 'Extracted Data:'.
LOOP AT ekpo_tab.
MOVE-CORRESPONDING ekpo_tab TO wa_zstkll_1.
WRITE:/ ekpo_tab-bukrs, ekpo_tab-ebelp, ekpo_tab-txz01, ekpo_tab-ebeln, ekko-ebeln, ekko-bedat.
AT END OF ebeln.
APPEND wa_zstkll_1 TO zstkll_1_tab.
ENDAT.
CLEAR: wa_zstkll_1, ekpo_tab.
ENDLOOP.
SKIP 2.
TRY.
CLEAR sy-dbcnt.
INSERT zstkll_1 FROM TABLE zstkll_1_tab.
CATCH cx_root.
WRITE:/ 'Record(s) already exist!'.
ENDTRY.
WRITE:/ sy-dbcnt, ' Records are inserted.'.
ELSE.
WRITE:/ 'No data Selected.'.
ENDIF.
END-OF-SELECTION
END-OF-SELECTION.
REPORT ZSTKLILINTEST13.
TABLES:bseg.
DATA:it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
PARAMETERS:p_belnr LIKE bseg-belnr,
p_bukrs LIKE bseg-bukrs,
p_gjahr LIKE bseg-gjahr.
START-OF-SELECTION.
SELECT * FROM bseg INTO TABLE it_bseg WHERE belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
MOVE 'IF THIS APPEAR UPDATE IS SUCCESSFUL' TO it_bseg-sgtxt.
MODIFY it_bseg FROM it_bseg TRANSPORTING sgtxt where belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
LOOP AT it_bseg.
WRITE:/3 it_bseg-belnr, it_bseg-gjahr, it_bseg-sgtxt.
ENDLOOP.
MODIFY bseg FROM TABLE it_bseg.
COMMIT WORK.
IF sy-subrc EQ 0.
WRITE:/3 'BSEG TABLE UPDATED SUCCESSFULLY WITH TEXT'.
ENDIF.self solved
-
How to read the text from the item text of the purchase order
i want to extract the text which is maintained in the purchase order item text. i used the function module read_text but it reads only the header text. can anyone help.
u have to chek the following parameters
ID: this textid
language:language u maintained the text,this also important
name: The no in which text-id is maintained
Usually we make mistake here,the no is combination of purchase order no and item no.
Example:420000210000010(Puchase orderno:4200002100 item no:00010)
Object:it change based on the text-id so u can check it the document no.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_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 <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Pass the varibles as i have said and let me know if u face any problem.
Regards -
Short text vs contract item text-Please specify short text more precisely
Hello all
1. creating free text PO w.r.t material group for reference to material group contract
2. miselanious - SHORT TEXT vs Contract MATERIAL group miselanious SHORT TEXT are same
now i get error Please specify short text more precisely
Why SAP set as E . if i make W . what are the impacts.
-> Purchasing
-> Environment Data
-> Define Attributes of System Messages
-> System messages (double click on it)
Add a new entry
Version = 00
Appl.A = 06
No. = 474
Cat = E
if i set W , i could create PO successfully. ..
Why SAP KEPT ERROR for this matter?
thanks
MuthuThanks Jurgen
Note 371796 - Msg 06474: Please specify short text more precisely
ME21N, ME22N, ME23N
Message 06474: "Please specify short text more precisely" for a purchase order with reference to a material group contract.
Additional key words
ME21, ME22, material description
Cause and prerequisites
In the new transactions for the purchase order, the system displays the message for a material group contract with reference, which is correct, if there is an assigned material without a material number and the short text, which was copied to the purchase order from the contract to help you, was not changed to the actual material text. In this case, the short text of the material should be more specific in the purchase order than that for the material group in the contract.
For situations in which the specification of the purchase order text does not need to be checked, the message could be made adjustable in Customizing.
In Transaction ME21 and ME22, the text is not copied and must be entered manually. However the system then no longer carries out a check.
Solution
For situations in which the specification of the purchase order text for contracts with the item category material group should not be checked, this note enables you to set error message 06474 in Customizing.
See the advance corrections.
any impacts what itcause damage to business.
bullet points. i will freeze the thread.
Muthu -
Product Basic text to catalog item text
Hi,
Im trying to use product standard texts (Basic text and inspection text) in product catalog.
Under text object PCAT_ITM, Ive defined a text determination procedure with changes=C and Transfer Type=C associated to an access sequence which has PRODUCT as ref. object and BASE as ref. text type. On assignment of fields I have the key fields PRODUCT_GUID and TDSPRAS where the first one has PRODUCT_GUID defined as comm. field and the second has this field empty.
The text determination procedure is associated to my catalog type.
After this configuration I make an initial replication and I can see the different text types for each product but the text is empty.
Does any one know what I am doing wrong?
Any help would be appreciated
Thanks & Regards,
PhaniIf you're working with B2B - You want catalog/ProductsISAHeader.jsp
If you're working with B2C - You want catalog/ProductsB2CHeader.jsp
Look in the source code for something like
<!-- BEGIN OF CODE for the upper part of page (ie: Categorie Picture, Categorie Name, Categorie Description, And Filter --> -
Copy Header texte into Item text, trasactions FB60-FB50-FB70
Hi,
using the transactions FB50, FB60 and FB70 I need to copy automatically the Header text into the Items text.
Can someone tell me how to do that?
Thank you and best regards,
GiorgiaIn the enjoy transaction like FB60-FB50-FB70, header and line items fields are quite mixed up. When you are mentioning Header text, please confirm that you meant "Header text" field in the "Details" tab screen and not the "Text" field in the basic data tab screen.
Normally when you want to copy the "text" field content in the Basic Data screen to all the G/L line items text fields, you do it through "editing option" in the FB60-FB50-FB70 transaction screen itself. Here in the General entry options you activate the check box "Copy text for GL account enter".
But if you want to copy really the header text in the Details screen to Vendor and Gl items for example, then you have to create substitution rule
Thanks
Ranjit -
Copy Fields Into Sales order Item Text
Hi All,
I got a requirement where i need to copy the populated custom fields including the appropriate field labels into item text in sales order creation and i am provided with Text Procedure: Z1 and Text ID: 00002. kindly help me.
Thanks,
Preethihi,
I have tried with save_text. but its not copied to the item text tab.
(goto->item->texts)
here is my code:
DATA : gt_text TYPE TABLE OF tline WITH HEADER LINE,
gt_textname LIKE thead-tdname,
gt_textobject TYPE TABLE OF thead WITH HEADER LINE.
CONSTANTS : c_0002 TYPE thead-tdid VALUE '0002',
c_vbbp TYPE thead-tdobject VALUE 'VBBP'.
CONCATENATE xvbap-zzrelid xvbap-zzsorg2
xvbap-zzsorg3 xvbap-zzsorg4
xvbap-zzsorg5 xvbap-zzsorg6
xvbap-zzsorg7 xvbap-zzsorg8
xvbap-zzsorg9 xvbap-zzsorg10
xvbap-zzcusttrdgrp INTO gt_textname.
gt_textobject-tdid = c_0002.
gt_textobject-tdname = gt_textname.
gt_textobject-tdobject = c_vbbp.
gt_textobject-tdspras = sy-langu.
APPEND gt_textobject.
CONCATENATE 'relationship Owner:' vbap-zzrelid INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 2 :' vbap-zzsorg2 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 3 :' vbap-zzsorg3 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 4 :' vbap-zzsorg4 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 5 :' vbap-zzsorg5 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 6 :' vbap-zzsorg6 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 7 :' vbap-zzsorg7 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 8 :' vbap-zzsorg8 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 9 :' vbap-zzsorg9 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CONCATENATE 'sales org 10 :' vbap-zzsorg10 INTO gt_text-tdline
SEPARATED BY space.
APPEND gt_text.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = gt_textobject
savemode_direct = 'X'
TABLES
lines = gt_text
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
kindly resolve y it is not copied to the item text tab and also in which user exit i need to place my code.
Thanks,
Preethi. -
LSMW Sales Order BAPI : Header & Item Text
Hi frenz,
I'm migrating Sales Order data using LSMW with BAPI method. We got four files...
one for header, one for item, one for header text, one for item text.
Now my problem is how do i update both header and item text.
B'cos while assigning structural relations we got only one text structure(E1BPSDTEXT) common for both header and item. So which source structure(whether header_text or item_text) should be assigned to this segment(E1BPSDTEXT)?
Else is there any other way to update both header and item texts?
With regards,
praveen.Unfortunately, you cannot assign more than one source structure to a target structure. But you can still manipulate the code. Here is how.
Let us say your source structure defined for item texts is ITEM_TEXTS. In your field mapping section for E1BPSDTEXT, double click the '__BEGIN_OF_RECORD__' in change mode. It will pop-up a warning message, say 'yes' and proceed. Remove all the coding that is there in this section, but copy the lines to somewhere(say x buffer) before you do that. You will need those lines below. Just add the following lines there.
if v_transferred_texts = 'X'.
*-- all the texts are transferred, don't need to process again.
skip_record.
endif.
You need to define 'v_transferred_texts' in the
'__GLOBAL_DATA__' section as follows.
data: v_transferred_texts type c.
Now double click on '_END_OF_RECORD_' in change mode. It will pop-up a warning, but you can say 'yes' and proceed. This will open up the coding window with one line of code in it 'transfer_record.'. Here you need to add your coding as follows.
*-- move the header texts
LOOP AT HEADER_TEXTS.
*-- This should <b>ALWAYS</b> be there
g_edidd_segnam = 'E2BPSDTEXT000'.
g_edidd_segnum = '0021'.
g_edidd_psgnum = '000001'.
g_edidd_hlevel = '02'.
clear E1BPSDTEXT.
*-- fill each field of the following fields
E1BPSDTEXT-DOC_NUMBER = SALESHEADER-ORDERNUMBER.
E1BPSDTEXT-ITM_NUMBER = '000000'.
E1BPSDTEXT-TEXT_ID = HEADER_TEXTS-TEXTID.
E1BPSDTEXT-LANGU = SY-LANGU.
E1BPSDTEXT-LANGU_ISO
E1BPSDTEXT-FORMAT_COL
E1BPSDTEXT-TEXT_LINE = HEADER_TEXTS-TEXT.
E1BPSDTEXT-FUNCTION = '005'.
transfer_record.
ENDLOOP.
*-- Now move the item texts
LOOP AT ITEM_TEXTS.
*-- This should <b>ALWAYS</b> be there
g_edidd_segnam = 'E2BPSDTEXT000'.
g_edidd_segnum = '0021'.
g_edidd_psgnum = '000001'.
g_edidd_hlevel = '02'.
clear E1BPSDTEXT.
*-- fill each field of the following fields
E1BPSDTEXT-DOC_NUMBER = SALESHEADER-ORDERNUMBER.
E1BPSDTEXT-ITM_NUMBER = ITEM_TEXTS-ITM_NUMBER.
E1BPSDTEXT-TEXT_ID = ITEM_TEXTS-TEXTID.
E1BPSDTEXT-LANGU = SY-LANGU.
* E1BPSDTEXT-LANGU_ISO =
* E1BPSDTEXT-FORMAT_COL
E1BPSDTEXT-TEXT_LINE = ITEM_TEXTS-TEXT.
E1BPSDTEXT-FUNCTION = '005'.
transfer_record.
ENDLOOP.
*-- set the flag that the texts have been transferred
v_transferred_texts = 'X'.
Please let me know how it goes.
Srinivas
Maybe you are looking for
-
Access MS Access database on remote computer (shared folder)
Hello, I need some help. I've made a program and it works fine on my computer, but multiple users will be using program simultaneously, each one on his own computer conected over local network to mine computer (database is on my computer in shared fo
-
Can't set a hidden field value from onClick event with a runtime expression
Hi, I need to set a hidden field in an onClick event of button but it's not working. <html:submit styleClass="btnLink" onclick="document.empForm.hidden.value='<%= empID%>'"> <%= empID%> </html:submit> Althought the second expression is evaluated and
-
Ipad crashes after fresh install
I bought a used ipad version A1459 (so ipad 3 32G with wifi and cellular). I set it up as new but the apps (all of them) continually closed after just a few seconds (even settings) When on the home screen it would jump to the multitasking screen and
-
PUT large table in the keep pool?
I would like to buffer a table in the keep pool: The table I would like to put in the keep pool is 200Mb (which is really large). The corresponding indices have a size of 70MB. Actually, many blocks of table are stored in the default pool. But some b
-
RH_RELATION_MAINTAIN/RH_INSERT_INFTY
I am trying to insert a new HRP1001 Cost Center record in a program and have been trying to use the above Function Modules. The problem I am having is that when they encounter a CONFIG problem, like the Cost Center is not open for posting, instead