Customization of Plant change for line items.
Hi ,
My requirement is to customize the plant determination for line items.
Is there any Function module or any code to ensure this functionality.
Please help.
Regards
Harish
Harish,
The standard functionality for determining the Plant for the line item comes from the Material master. The delivering plant filed that you have maintained in the Sales Org 1 View of the Material master.
If you want to have your own logic for determining the plant then you can write the User exit coding in the include MV45AFZZ form name "USEREXIT_MOVE_FIELD_TO_VBAP" .
Hope this helps you.
Let me know if you need any more information.
Regards,
Ajai.
Don't forget to reward points if helpful.
Similar Messages
-
Changing the default view for Line Items in an Auction.
Hello All,
We have a version 5 client who is asking for us to change the default view for line items in an auction.
Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.Hi wood cloud,
This is not possible, bcz there is no VLV for that drop down and we cant set it to the price view.
Thanks,
Ankur Goyal -
Hi,
I have customized the change rules for Line item.
Still the system not allowing to make changes to that particular field? Can any one tell me, whats the reason for the same.
Following Field is made as changeable for the line item.
BSEG-VBUND Trading partner.
The above field is available in More data Tab or additional data tab while making entry or display of document.
Thanks,
LalatenduHi,
That i know, but trading partner was not entered in the GL Master data. Infact some one wrongly entered Trading partner in Customer master and during bank posting system automatically picked Trading partner.
When thye r trying to clear open items for that GL account , because of that assignment system is not allowing to clear those line item.
If i can remove that trading partner from document, my problem will be solved.
Can any one guide me..or if u need more info please let me know.
Thanks,
Lalatendu -
Change the sales order reason for rejection for line item
Hi,
i want to change the sales order reason for rejection for line item.
iam using bapi_salesorder_change.but i unable to change the sales order.
if possible please provide me what are the fields necessary for changing
sales order reason for rejection for line item.
Regards,
SureshThis is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?
-
Create delivery document for line item 5 only manually
Hi Sap Experts,
We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
We will send him mail saying that create delivery document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
What are options we have and how to customize this scenario?
Kindly suggest.
Regards,
KotliCan you be clear in your requirement?
One requirement is user should not select line items other than the one instructed to them
The other requirement is delivery split should happen based on item category
If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit. If your requirement is second one, then just try in your system and share the outcome how system is functioning. You will come to know how standard SAP works.
G. Lakshmipathi -
Change of line item amount in miro
hi,
i have a doubt on the change of line item amount field value at PO reference tab in MIRO.
1) when vendor invoice price higher than PO, although knowing that the price is incorrectly quoted by vendor, we need to change the amount in PO reference tab line item according to invoice?
2) the difference in point 1 will hit stock account (map) or price difference.
3) when vendor later on give CN, we need to do subsequent credit.
4) in subsequent credit, need to create with reference to PO.
5) we need to change the amount at PO reference item line according to CN?
thanksHi,
1) when vendor invoice price higher than PO, although knowing that the price is incorrectly quoted by vendor, we need to change the amount in PO reference tab line item according to invoice? --- Yes you have to change it to Vemdor invoice amount
2) the difference in point 1 will hit stock account (map) or price difference. --- Yes
3) when vendor later on give CN, we need to do subsequent credit. -
Yes with ref to PO
4) in subsequent credit, need to create with reference to PO. -
Yes
5) we need to change the amount at PO reference item line according to CN? -- yes.
Other Option
You can use invoice reduction - System will create Inoice and credit memo in the same document.
SPRO Steeting require :
1. G/L account should be assigned to RKA trnsaction ket in OBYC.
2. Document type KG should be defined in Transaction code MIRO in customizing for doucment type invoice verification / Valuation in SPRO.
3. Number range should be defined for Doc type KG.
Regards,
Shailesh Mackwan -
PO printout is not coming after changing only line item Delivery Address
Hi
Can anybody suggest a solution for the problem?
Using ME22N , if I change the line item delivery address details to the already generated manual address number ( Not generated using Transaction MEAN)
If I save the PO then PO Printout is not coming but output message log showing " No print-relevant changes to document XXXXXXXXX exist"
We can read CDHR and CDPOS table for changes .
Is there a way to pass the parameter to the print program to Print the changes?
Thanks
sanath
Edited by: sanath kumar sarvepalli-venkata on Nov 2, 2010 11:23 PMHi,
In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
Now your Output will be triggered with a change indicator and you can process it using ME9F.
Regards
Chandra Shekhar -
How to change the line item storage location during the sales order creatio
How to change the line item storage location during the sales order creatio
Hi Kumar,
I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
Regards,
Rachel -
Define Additional Fields for Line Item Display
Dear gurus,
I'd like to ask for your help again, please. I've just added the field BKPF-USNAM to the list of fields of FBL1N using IMG:" Financial Accounting-> Accounts Receivable and Accounts Payable->Vendor Accounts->Line Items-> Display Line Items->Define Additional Fields for Line Item Display". When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
Is there another transaction that I must set new columns to FBL1N.
Thank you very much.
Paresh Jivani
Edited by: Jivani Paresh on Jul 31, 2009 9:16 AMHii,
When you will execute FBL1N, it will come up in standard format. if you want to see any specific fields,then you have to go to Change Layout button and choose from available fields as per your requirement and then execute.
For future reference, you can save this layout as a Variant and then you can directly execute that report using that variant.
Dhara D. -
Account assignment category cannot be changed for limit items
HI all,
I am getting same error in RZ20
Instance POXXXXX of object type PurchaseOrder cou ld not be changed
Purchase order still contains faulty items
Account assignment category cannot be changed for limit items
PO is created with service item and it is in backend.
When it is changed it is giving error. User is added contract no# on change version.
Could you please share the solution...sometimes sap throws unwanted error messages. these are example notes
415346 ME21n, ME456 when filling the account assignment type
411883 ME21N, ME456 when filling the account assignment category
403537 PO from PReq with different account assignment type: E456
Using Transaction ME21N,you create a purchase order for external service and add a new item by copying a request for quotation. If the request for quotation does not have a plant, when you enter the assignment category, the system displays error message ME456 "Account assignment category cannot be changed for limit items". Also there is no account assignment change involved.
Additional key words
what exactly you are trying to change the carts? -
Subtotal for line item in REUSE_ALV_HIERSEQ_LIST_DISPLAY
Hi Abapers,
Is it possible to have subtotal functionality for line item for
REUSE_ALV_HIERSEQ_LIST_DISPLAY.
when i select particular line item and press subtotal button
system displaying information mesage
"Subtotals cannot be calculated using item
characteristics"
Even when i executed standard hie program same message displaying for line item.
please provide any sample code for subtotal for line item .
regards,
Hari priyajust copy the program and execute
*& Report Z_HIERSEQ_REP2 *
*& author : ramesh.k *
*& title : hierseq list in alv format *
REPORT z_hierseq_rep2 MESSAGE-ID zrae.
TYPE-POOLS : slis.
*structure declarations
*structure for likp
TYPES : BEGIN OF ty_likp,
vbeln TYPE vbeln_vl,
vkorg TYPE vkorg,
END OF ty_likp.
*structure for lips
TYPES : BEGIN OF ty_lips,
vbeln TYPE vbeln_vl,
posnr TYPE posnr_vl,
matnr TYPE matnr,
matkl TYPE matkl,
ntgew TYPE ntgew_15,
END OF ty_lips.
*internal table declarations
DATA : t_likp TYPE STANDARD TABLE OF ty_likp INITIAL SIZE 0,
t_lips TYPE STANDARD TABLE OF ty_lips INITIAL SIZE 0.
DATA : t_fieldcat TYPE slis_t_fieldcat_alv,
t_sortinfo TYPE slis_t_sortinfo_alv,
i_events TYPE slis_t_event.
*workareas
DATA : w_likp TYPE ty_likp,
w_lips TYPE ty_lips,
w_fieldcat TYPE slis_fieldcat_alv,
w_keyinfo TYPE slis_keyinfo_alv,
w_sortinfo TYPE slis_sortinfo_alv,
W_event TYPE slis_alv_event ,
sub_text type slis_subtot_text.
*global declarations.
DATA : g_vbeln like likp-vbeln.
*selection-screen declarations
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
SELECT-OPTIONS : s_vbeln FOR g_vbeln.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
SELECT SINGLE
vbeln
FROM likp
INTO (w_likp-vbeln)
WHERE vbeln IN s_vbeln.
IF sy-subrc NE 0.
MESSAGE i001 WITH 'vbeln not found'.
ENDIF.
START-OF-SELECTION.
get_data_likp
PERFORM sub_getdata_likp.
get_data_lips
PERFORM sub_getdata_lips.
fieldcatlog_build
PERFORM build_fieldcatlog.
*SORTINFO FOR SUBTOTALS
PERFORM get_sortinfo.
*KEYINFORMATION
PERFORM get_keyinfo.
*LIST DISPLAY
PERFORM alv_list_display.
*& Form sub_getdata_likp
extracting the data from likp.
--> p1 text
<-- p2 text
FORM sub_getdata_likp .
SELECT vbeln
vkorg
FROM likp
INTO TABLE t_likp
WHERE vbeln IN s_vbeln.
ENDFORM. " sub_getdata_likp
*& Form sub_getdata_lips
extracting data from lips.
--> p1 text
<-- p2 text
FORM sub_getdata_lips .
SELECT vbeln
posnr
matnr
matkl
ntgew
FROM lips
INTO TABLE t_lips
FOR ALL ENTRIES IN t_likp
WHERE vbeln = t_likp-vbeln.
ENDFORM. " sub_getdata_lips
*& Form build_fieldcatlog
text
--> p1 text
<-- p2 text
FORM build_fieldcatlog .
*FIELDCATLOG FOR HEADER TABLE
PERFORM build_fieldcatlog1 USING :
'1' 'VBELN' 'DELIVERY NO' 'T_LIKP' ' ' ' ' ' ',
'2' 'VKORG' 'GROUP' 'T_LIKP' ' ' ' ' ' ',
*FIELDCATLOAG FOR ITEM TABLE
'1' 'POSNR' 'ITEM NO' 'T_LIPS' ' ' ' ' ' ',
'2' 'MATNR' 'MAT NO' 'T_LIPS' ' ' ' ' ' ',
'3' 'MATKL' 'GROUP' 'T_LIPS' ' ' ' ' ' ',
'4' 'NTGEW' 'QUAN' 'T_LIPS' 'X' 'X' 'X'.
ENDFORM. " build_fieldcatlog
*& Form build_fieldcatlog1
text
-->P_0185 text
-->P_0186 text
-->P_0187 text
-->P_0188 text
FORM build_fieldcatlog1 USING
pcol TYPE char2
pfldname TYPE char8
pseltext TYPE char20
ptabname TYPE char10
psum TYPE char10
PQUAN TYPE CHAR15
PSUBTOTAL TYPE CHAR40.
w_fieldcat-col_pos = pcol.
w_fieldcat-fieldname = pfldname.
w_fieldcat-seltext_m = pseltext.
w_fieldcat-tabname = ptabname.
w_fieldcat-do_sum = psum.
W_FIELDCAT-qfieldname = PQUAN.
W_FIELDCAT-subtotals_text = PSUBTOTAL.
APPEND w_fieldcat TO t_fieldcat.
ENDFORM. " build_fieldcatlog1
*& Form GET_KEYINFO
text
--> p1 text
<-- p2 text
FORM get_keyinfo .
w_keyinfo-header01 = 'VBELN'.
w_keyinfo-item01 = 'VBELN'.
ENDFORM. " GET_KEYINFO
*& Form ALV_LIST_DISPLAY
text
FORM alv_list_display .
DATA : S_REPID TYPE SY-REPID.
S_REPID = SY-REPID.
DATA W_LAYOUT TYPE SLIS_LAYOUT_ALV.
W_LAYOUT-totals_text = 'G.TOTAL'.
W_LAYOUT-subtotals_text = 'SUBTOTAL_TEXT'.
*FORM subtotal_text CHANGING p_total TYPE any
p_subtot_text TYPE slis_subtot_text.
p_subtot_text-criteria = 'VBELN'.
*p_subtot_text-max_len = 40.
*p_subtot_text-display_text_for_subtotal
*= 'SUBTOTAL'.
**ENDIF.
*ENDFORM.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_callback_program = S_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
IS_LAYOUT = W_LAYOUT
it_fieldcat = t_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = t_sortinfo
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = 'X'
IS_VARIANT =
IT_EVENTS = i_eventS
IT_EVENT_EXIT =
i_tabname_header = 'T_LIKP'
i_tabname_item = 'T_LIPS'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
is_keyinfo = w_keyinfo
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab_header = t_likp
t_outtab_item = t_lips
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
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. " ALV_LIST_DISPLAY
*& Form GET_SORTINFO
text
--> p1 text
<-- p2 text
FORM get_sortinfo .
w_sortinfo-fieldname = 'VBELN'.
w_sortinfo-tabname = 'T_LIKP'.
W_SORTINFO-group = TEXT-001.
w_sortinfo-subtot = 'X'.
APPEND w_sortinfo TO t_sortinfo.
ENDFORM. " GET_SORTINFO -
How can create and change PCA line items.
How can create and change PCA line items.
Please tell me the process and t.codes.If you are in version < 4.7 ee then use 9KE0 tcode for passing profict center entries or trasnafer of balances from one profit center to another.
If you are in new GL regular FI entry like FB50 will hold good for account types "S" -
Need a scenario where we go for line item diemension?
can anyone explain the senario where we use the line item dimension ?
and how we know that size of dimension is more than fact tablw?Hi
You need to roughly estimate that if you put two characteristics in one dimension means,
say plant and material
say there are 100 plants and 1000 materials...
then your dimension table will have 100 * 1000 = 100000 entries.so your fact table need to contain 100000 entries for these two chars...
.instead of putting these two into one dimension...if you put two dimensions...total entries in two dimensions are 100 + 1000= 1100...so your fact table contains 1100 entries...right???
so you need to think like this...if you feel that a characteristic may contains high cardinality then you have to go for line item dimension
run program
sap_infocube_designs
this will give the fact to dimension rations of all your cubes and indicate if the cube is balanced or not.
Hope it helps
Thanks
Teja
Message was edited by:
Teja badugu -
No control line for line item - error while posting bd to accounting
Hi all,
Billing document showing err "no control line for line item" while posting to accounting doc.Sales document is complete no in completion logs.
Previous errr: g/l missing for line item" in order incompletion after maintaining company code for customer, then refresh the g/l missing for line item is no more logs and showing the error "no control line for line item" while posting bd to accts.
Please help
Regards
anushHello Anush,
if the company data of the payer was not created when the sales order has been created, then the system could not create the correct records in table VBREVK. Once the company data has been maintained the VBREVK records could be corrected by re-saving the sales, but only if no billing document exists.
In your case you already created the billing document.
Please try these step:
1. reverse billing document
2. run VA02 add a blank char to PO number, save
3. create new billing document
Best regards,
Ivano. -
GR of Delivery completed item not possible for line item of PO/SA ?
Hi,
Am unable to Receive Goods in MIGO an Error - "GR of delivery completed item not possible for line item of PO/SA"?
Regards
Mohammed Khaja Pasha
+919550917395.Hi Mohammed Khaja Pasha ;
Delivery Completed checkbox provides a lot of fonctionality like an additional delivery is not expected, but is possible. If you prevent posting of migo , you can benefit from system messages M7 163 and 254.
You want to ensure that the delivery is made before the planned delivery date : Set message 254.
You want to ensure last possible delivery date : Set message 163.
However ;
The open PO quantity of the PO item equals zero.
The PO item is no longer relevant for materials planning.
The PO item is ignored when letters urging delivery of overdue goods are generated.
The PO item can be deleted and archived.
You can specify whether the Delivery Completed checkbox is to be selected automatically.
Regards.
M.Ozgur Unal
Maybe you are looking for
-
Hello All, I'm in the market for a new panel to go with my Openbox setup. Right now I'm using XFCE4-panel, mostly because it required no configuration and I was busy configuring Openbox, conky, the Arch install at the time. Plus, out of the DE's, I l
-
Hi All, We have specific requirement, where my cleint wants to create a campaign, like email or mailer campaign in CRM, But as per System Landscape of our project Email and Letter composition is sent through system called Streamserve, where stream s
-
FireFox 3 and VO/Netstorage
Has anyone noticed that with FF 3.0, when you go into VO and click on the iFolder button, that the netstorage window that appears in the main frame is all squeezed over to the left, and that you can't resize it? Works fine in IE 6&7, and in FF 1.x an
-
No FI document for the GR created thru SRM confirmations
Hi Can any one clarify me, why there will be no FI document for the GR which is created in the backend which thru SRM confirmations. This is a classic scenario ver 4.0 Please suggest me. Regards Srujan.k
-
Hi All I have written a bean that fetches data from another java class. My Servlet instantiates that bean and pass that object reference to another Java class, which is multi-threaded. One thread of that class calls another method of another object u