Dividing header & line item
Hi
Output internal table has header & item value in one line like this
~HDR00007007823000^NETINSTACOM ENGINEERING ^ ^93350 USITEM30000001330.00
Have to convert this internal table values to CSV format. It works for CSV format. But want to display in CSV file u201Cheaderu201D details in one line & u201Citemu201D details in next line like this. HDR & ITEM are identifer
~HDR00007007823000^NETINSTACOM ENGINEERING 93350^ US
~ITEM30000001330.00
How to do it.
Invoice postings through F-43..so invoice number iwill be stored in BSAK-BELNR or BSAK-XBLNR or which table field?
Thanks
Hi,
Try this.
data:
hdr_item(100) value '~HDR00007007823000^NETINSTACOM ENGINEERING ^ ^93350 USITEM30000001330.00',
hdr(100),
line(100).
SPLIT hdr_item AT '^ITEM' INTO hdr line.
CONCATENATE '~ITEM' line INTO line.
write: / 'Header : ',hdr.
write: / 'Line : ',line.
Regards,
Smart
Similar Messages
-
Invoice List-Header & line items
Dear Expert,
If I want to create an invoice list which both AR invoice header & line items, then how can I create it as the line items has the same header?
Could you advise this?
Thank you.
RaymondHi Raymond,
You can use the following query,
SELECT T0.CardCode, T0.CardName, T1.ItemCode, T1.Dscription, T1.Quantity FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
If you are using QPLD for this then you can sort and group header items so that not to repeat again n again with row items.
Regards,
/Siddiq -
Header, Line Item and Cache Techniques Using Hashed Tables
Hi,
How can I work with header, line item, and a cache techniques using hashed tables?
Thanks,
Shah.Hi,
Here is an example to clarify the ideas:
In general, every time you have a header-> lines structure you have a unique key for the lines that has at least header key plus one or more fields. I'll make use of this fact.
I'll try to put an example of how to work with header -> line items and a cache technique using hashed tables.
Just suppose that you need a list of all the material movements '101'-'901' for a certain range of dates in mkpf-budat. We'll extract these fields:
mkpf-budat
mkpf-mblnr,
mseg-lifnr,
lfa1-name1,
mkpf-xblnr,
mseg-zeile
mseg-charg,
mseg-matnr,
makt-maktx,
mseg-erfmg,
mseg-erfme.
I'll use two cache: one for maintaining lfa1 related data and the other to maintain makt related data. Also I'll only describe the data gathering part. The showing of the data is left to your own imagination.
The main ideas are:
1. As this is an example I won't use inner join. If properly desingned may be faster .
2. I'll use four hashed tables: ht_mkpf, ht_mseg, ht_lfa1 and ht_makt to get data into memory. Then I'll collect all the data I want to list into a fifth table ht_lst.
3. ht_mkpf should have (at least) mkpf's primary key fields : mjahr, mblnr.
4. ht_mseg should have (at least) mseg primary key fields: mjahr mblnr and zeile.
5. ht_lfa1 should have an unique key by lifnr.
6. ht_makt should have an unique key by matnr.
7. I prefer using with header line because makes the code easier to follow and understand. The waste of time isn't quite significant (in my experience at least).
Note: When I've needed to work from header to item lines then I added a counter in ht_header that maintains the count of item lines, and I added an id in the ht_lines so I can read straight by key a given item line. But this is very tricky to implement and to follow. (Nevertheless I've programmed it and it works well.)
The data will be read in this sequence:
select data from mkpf into table ht_mkpf
select data from mseg int table ht_mseg having in count all the data in ht_mkpf
loop at ht_mseg (lines)
filter unwanted records
read cache for lfa1 and makt
fill in ht_lst and collect data
endloop.
tables
tables: mkpf, mseg, lfa1, makt.
internal tables:
data: begin of wa_mkpf, "header
mblnr like mkpf-mblnr,
mjahr like mkpf-mjahr,
budat like mkpf-budat,
xblnr like mkpf-xblnr,
end of wa_mkpf.
data ht_mkpf like hashed table of wa_mkpf
with unique key mblnr mjahr
with header line.
data: begin of wa_mseg, " line items
mblnr like mseg-mblnr,
mjahr like mseg-mjahr,
zeile like mseg-zeile,
bwart like mseg-bwart,
charg like mseg-charg,
matnr like mseg-matnr,
lifnr like mseg-lifnr,
erfmg like mseg-erfmg,
erfme like mseg-erfme,
end of wa_mseg,
data ht_mseg like hashed table of wa_mseg
with unique key mblnr mjahr zeile
with header line.
data: begin of wa_lfa1,
lifnr like lfa1-lifnr,
name1 like lfa1-name1,
end of wa_lfa1,
data ht_lfa1 like hashed table of wa_lfa1
with unique key lifnr
with header line.
data: begin of wa_makt,
matnr like makt-matnr,
maktx like makt-maktx,
end of wa_makt.
data: ht_makt like hashed table of wa_makt
with unique key matnr
with header line.
result table
data: begin of wa_lst, "
budat like mkpf-budat,
mblnr like mseg-mblnr,
lifnr like mseg-lifnr,
name1 like lfa1-name1,
xblnr like mkpf-xblnr,
zeile like mseg-zeile,
charg like mseg-charg,
matnr like mseg-matnr,
maktx like makt-maktx,
erfmg like mseg-erfmg,
erfme like mseg-erfme,
mjahr like mseg-mjahr,
end of wa_mseg,
data: ht_lst like hashed table of wa_lst
with unique key mblnr mjahr zeile
with header line.
data: g_lines type i.
select-options: so_budat for mkpf-budat default sy-datum.
select-options: so_matnr for mseg-matnr.
form get_data.
select mblnr mjahr budat xblnr
into table ht_mkfp
from mkpf
where budat in so_budat.
describe table ht_mkpf lines g_lines.
if lines > 0.
select mblnr mjahr zeile bwart charg
matnr lifnr erfmg erfme
into table ht_mseg
from mseg
for all entries in ht_mkpf
where mblnr = ht_mkpf-mblnr
and mjahr = ht_mjahr.
endif.
loop at ht_mseg.
filter unwanted data
check ht_mseg-bwart = '101' or ht_mseg-bwart = '901'.
check ht_mseg-matnr in so_matnr.
read header line.
read table ht_mkpf with table key mblnr = ht_mseg-mblnr
mjahr = ht_mseg-mjahr.
clear ht_lst.
note : this may be faster if you specify field by field.
move-corresponding ht_mkpf to ht_lst.
move-corresponding ht_mseg to ht_lst.
perform read_lfa1 using ht_mseg-lifnr changing ht_lst-name1.
perform read_makt using ht_mseg-matnr changing ht_lst-maktx.
insert table ht_lst.
endloop.
implementation of cache for lfa1.
form read_lfa1 using p_lifnr changing p_name1.
read table ht_lfa1 with table key lifnr = p_lifnr
transporting name1.
if sy-subrc <> 0.
clear ht_lfa1.
ht_lfa1-lifnr = p_lifnr.
select single name1
into ht_lfa1-name1
from lfa1
where lifnr = p_lifnr.
if sy-subrc <> 0. ht_lfa1-name1 = 'n/a in lfa1'. endif.
insert table ht_lfa1.
endif.
p_name1 = ht_lfa1-name1.
endform.
implementation of cache for makt
form read_makt using p_matnr changing p_maktx.
read table ht_makt with table key matnr = p_matnr
transporting maktx.
if sy-subrc <> 0.
ht_makt-matnr = p_matnr.
select single maktx into ht_matk-maktx
from makt
where spras = sy-langu
and matnr = p_matnr.
if sy-subrc <> 0. ht_makt-maktx = 'n/a in makt'. endif.
insert table ht_makt.
endif.
p_maktx = ht_makt-maktx.
endform.
Reward points if found helpfull...
Cheers,
Siva. -
Sales BOM Header line item confirmed without components in Delivery
Hi Experts,
The issue is about the delivery is created with the single component for the Sales BOM where as it contains two.
We have analyzed the issue and checked that the missing component would have not been available in the stock during the time when the delivery is created and hence is not included(Header material and single component is included in the Delivery).
The user's concern is; when there is no stock for any one of the component, then it shouldn't have confirmed the header material. Kindly suggest.Hi Azam,
It seems to me that you want to use Delivery Group for Sales BOM where If Mat A = Mat B + Mat C and Mat B Availability date is 20/07/2014 (DD/MM/YYYY) and Mat C availability is 25/07/2014 then Main line item should be confirmed with 25/07/2014.
If any one sub Item is not available, then Any of the item from the Grouping should not be dispatched.
If this is the requirement then, In Item Category (VOV7) for main Item update Create Delivery Group field with X and your requirement will be fulfilled.
Do let us know the result after testing.
Regards,
MJ. -
Hi .
I am facing problem in displaying a particular layout in ALV.
the layout is as follows:
1. Header part
2. Line item
3. There is field customer and after every change of customer do page break and display information like how many record read and how many record processed. below is brief detail about how to get read and processed record.
I have two internal table say table1 and table2.
Looping table1
increase the counter as counter_read = counter_read +1.
compare the record with table2.
if matches
increase the counter as counter_process = counter_process + 1.
4. At the end of report display a error log.
to get the error log we will follow the above logic and if record not matched then display as error record.
Please help ASAP to find the solution.
Thanks in advanceThere is a knowledge base article C2014229 (1210986 - Subreports do not have a Page Header) , but instead of providing link I will just copy content here:
Symptom
Since subreports are objects in the Main Report, they do not contain Page Headers. How can you create a fake page header for subreports?
Resolution
To create a fake page header for subreports, use the following steps:
1. In the subreport, create a formula:
@FakePageHeader
//name of formula
WhileReadingRecords;
2. Go to the 'Insert' menu and click 'Group'. Select the @FakePageHeader formula.
3. Select the 'Repeat Group Header on Each New Page' option, and click 'OK'.
This inserts a new group at the lowest, or innermost, grouping level. You will need to move this group to the highest, or outermost, grouping level.
4. Go to 'Report' menu and click 'Group Expert'. Use the up arrow to move this newest group up to the top of the list.
5. Move all the headers that you would like repeated into this Header for the @FakePageHeader group.
Hope it will help. -
How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery
Hi SD Gurus,
I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
Is there any way to achieve the same? Can some expert show the way to achieve this.
Thanks in advance.
Warm regards,
Rahul MishraHi Ravikumar thanks for u quick reply.
This is wht is currently coded.
concatenate values to get item text for read text function
invar3+0(10) = invar1. "PO number
invar3+10(5) = invar2. "PO line number
SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
AND tdname = invar3
AND tdid = 'F01'
AND tdspras = sy-langu.
IF sy-subrc = 0.
invar4 = invar3.
reading the text for the document items.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = invar4
object = 'EKPO'
TABLES
lines = it_itab.
I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
anyhelp will be appreciated and rewarded.
thanks -
Header line item mapping issue in LSMW
Hello experts,
I am trying to map my data in LSMW with header and line items.My structure looks like this.
1header col1 col2 col3 (2item) col1 col2
1header col1 col2 col3 (2item) col1 col2
In the line item col1 changes its posting key.
Header is reapeating for every line items how to map the above in LSMW .
How to upload the data only when the Reference document number is changing??
Thanks and regards,
Vijay Simha CRHi ,
at Step 3-->maintain source fields -->Double Click on the Key Field -->Tick the check of Selection Field....
here you need to decide which one is the key field...if you dont have key field in Item level then create one.
regards
Prabhu -
Header/Line Item Mapping Problem
Hi all
I am trying to achieve some kind of header to line item mapping using the graphical mapping tool. The scenario is as following:
PU1/PA1/NAME
My big problem now is with NAME in the NM1 segment, which is kind of a header to item level mapping since it should become part of PU1 in the target structure which is created by the RMR segments of the source structure. I've tried to use the built-in useOneAsMany function, which works fine if the NM1 segment is always there. Nevertheless, this does not work if the NM1 segment is missing since the function apparently checks the context all the time and has then problems if the segment does not exist. I've tried a global variable with user-defined set and get functions, too, but didn't get it to work either.
I hope that my explanations make any sense. Can maybe anybody help me to get this working? Any help would be appreciated.
Thanks,
DanielHi Daniel
Node function <i>useoneasmany</i> will work only if the source field is available. If this source is missing then the MM will through an error. We can make use of ifexists function, using this we can map the soruce to target. the use is the value is mapped on if the source field exists. hope this helps
thkx
Prabhu -
Check on multiple header line data.
Hi All,
I have one requirement where i need to check the multiple accounting document header line.
Kindly suggest how to check the above requirement.
Thanks in Advance!
Regards,
ChiragHi All,
Sorry for the short description.
Currently i am validating only the one header line data of expense spread sheet file with vendor. but the now requirement has changed and there can be a multiple header line item also.
So i need to check for each header line item whether vendor already exist or not.
I am able to check it for 1 header line item, Kindly suggest how to check it for multiple header line item.
Thankyou.
Chirag -
HEADER AND ITEM REPORT IN SAME SCREEN
hi
i have requirement that i retrived data from header table vbak i half part of screen
and when user click on any header line item than in the lower half of same screen item data display of that particular header...i think this can be done through container and classes but i am new to containers and abap classes ...plz explain how can i do that
Regards,
TaranHi,
We can do it using ALV Block report, in the same screen we can display 2 block wise. here i am sending sample code test in ur system.
*& Report ZBLOCK *
REPORT ZBLOCK .
type-pools : slis.
TABLES : VBAK , VBAP.
DATA : BEGIN OF itab OCCURS 0,
VBELN LIKE VBAK-VBELN,
ERDAT LIKE VBAK-ERDAT,
END OF itab.
DATA : BEGIN OF ptab OCCURS 0,
POSNR LIKE VBAP-POSNR,
MATNR LIKE VBAP-MATNR,
END OF ptab.
data : alvfc type slis_t_fieldcat_alv ."WITH HEADER LINE.
data : alvly type slis_layout_alv.
data : alvev type slis_t_event .
DATA : W_ALVFC LIKE LINE OF ALVFC.
data : alvfc1 type slis_t_fieldcat_alv ."WITH HEADER LINE.
data : alvly1 type slis_layout_alv.
data : alvev1 type slis_t_event .
DATA : W_ALVFC1 LIKE LINE OF ALVFC1.
*for sorting
data : LT_SORT TYPE SLIS_T_SORTINFO_ALV,
LS_SORT TYPE SLIS_SORTINFO_ALV.
perform get_data.
*perform print_data.
*PARAMETERS : a TYPE c.
SELECT DATA
start-of-selection.
*SELECT VBELN ERDAT FROM VBAK into table itab up to 20 rows.
*select POSNR MATNR FROM VBAP into table ptab up to 20 rows.
*ALVFC-COL_POS = '1'.
W_ALVFC-FIELDNAME = 'VBELN'.
W_ALVFC-TABNAME = 'ITAB'.
W_ALVFC-SELTEXT_M = 'SO_NO'.
APPEND W_ALVFC TO ALVFC.
*REFRESH ALVFC.
*ALVFC-COL_POS = '2'.
W_ALVFC-FIELDNAME = 'ERDAT'.
W_ALVFC-TABNAME = 'ITAB'.
W_ALVFC-SELTEXT_M = 'SO_DATE'.
APPEND W_ALVFC TO ALVFC.
*REFRESH ALVFC.
*ALVFC-COL_POS = '3'.
W_ALVFC1-FIELDNAME = 'POSNR'.
W_ALVFC1-TABNAME = 'PTAB'.
W_ALVFC1-SELTEXT_M = 'POSNR'.
APPEND W_ALVFC1 TO ALVFC1.
*REFRESH ALVFC1.
*ALVFC-COL_POS = '4'.
W_ALVFC1-FIELDNAME = 'MATNR'.
W_ALVFC1-TABNAME = 'PTAB'.
W_ALVFC1-SELTEXT_M = 'MAT_NO'.
APPEND W_ALVFC1 TO ALVFC1.
*REFRESH ALVFC1.
INIT BLOCK ALV
*form print_data.
LS_SORT-FIELDNAME = 'POSNR'.
LS_SORT-UP = 'X'.
ls_sort-group = ''."using this you get new pages
APPEND LS_SORT TO LT_SORT.
DATA : REPORT LIKE SY-REPID.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = REPORT.
ADD INTERNAL TABLE ITAB
*CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
*EXPORTING
**I_PROGRAM_NAME = REPORT
*I_INTERNAL_TABNAME = 'ITAB'
**I_INCLNAME = REPORT
*CHANGING
*CT_FIELDCAT = X_ALVFC.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = alvly
it_fieldcat = ALVFC
i_tabname = 'ITAB'
it_events = alvev
TABLES
t_outtab = ITAB
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
ADD INTERNAL TABLE PTAB
REFRESH ALVFC[].
*CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
*EXPORTING
**I_PROGRAM_NAME = report
*I_INTERNAL_TABNAME = 'PTAB'
**I_INCLNAME = report
*CHANGING
*CT_FIELDCAT = X_ALVFC.
*CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
*EXPORTING
*is_layout = alvly1
*it_fieldcat = alvfc1
*i_tabname = 'PTAB'
*it_events = alvev1
*TABLES
*t_outtab = PTAB
*EXCEPTIONS
*program_error = 1
*maximum_of_appends_reached = 2
*OTHERS = 3.
*test
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = alvly1
it_fieldcat = alvfc1
i_tabname = 'PTAB'
it_events = alvev1
IT_SORT = lt_sort
I_TEXT = ' '
tables
t_outtab = PTAB.
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DISPLAY
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
IS_PRINT =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
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.
form get_data.
SELECT VBELN ERDAT FROM VBAK INTO TABLE ITAB UP TO 20 ROWS .
SELECT POSNR MATNR FROM VBAP INTO TABLE PTAB UP TO 20 ROWS.
endform.
<b>reward me if it is use full answer</b>
praveen -
What is line item datas,how can u check line item in Infocube?
Hi friends,
what is line item datas,how can u check line item in Infocube?hi konda,
line item data
i shall give u an example .
consider a super market bill,
the bill has 1.customer name 2. bill number 3. date of purchase
the above line will be header.
line item data are the items which u purchase.
item 1 pencil 2 rubber 3. sharpner 4. cryon 5. sketch pens
above are line item datas. for a particular set of header data u may have many line item datas.
reward points if helpful.
bye. -
Header data not getting updated in line item level
Hi,
We are trying to update Pricing date at header level but it is not gettting copied to item level.
getting an message "The header business data does not apply to item xxxx"
i have checked the item category and "business item" field is checked. and for the same sales order previously we were able to change the pricing date at header level and it got applied to item level but this time is is not getting applied.
kindly suggest.If there are multiple line items which are having different data; in your case, Pricing Date, then in that case, when you try to change at header level, system will pop up this message.
You can also have a look at the following note:-
Note 336660 - Message V1403 in sales order with article order no
G. Lakshmipathi -
Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC
We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
Regards,
RommelHi Jayesh,
If I understand you correctly, you want that when creating SO from Quoatation
the Ship to Party also follow/copy Ship to Party from Quotation, right?
Just to confirm with you, when you creating SO reference from Quotation, you
use copy/follow-up function, am I right?
You can do this by setting in configuration of Copy Control (like mentioned by Hui).
Step as follow :
1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
Business Transactions
2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
Party value from source document and use it in current document
3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
IMG->CRM->Transactions->Basic Settings->Copying Control for
Business Transactions-> Define Copying Control for Transaction Types
4. Here you set Copying Routine for your transaction types (put name of your Badi
created in step no. 2)
Or alternatively, you can set it on access sequence in Partner Function
Ship to Party in configuration. You can define access sequence the Ship
to Party is taken from Preceeding Document -> Ship To Party
1. Go to Partner Function access sequence :
IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
2. Create new access sequence with following entry :
- Source COM_PARTNER_A (PrecedingPartner)
- Check Mapping for Partner Being search
- Partner Function in Source = Ship To Party
3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
Type.
Tell me if this is what you looking for
Gun. -
BOM header qty change if BOM line item qty delivered more in previous deliv
Dear team
BOM is as follows:
Finished product
Material1 100 Units
Material2 100 Units
Lets say i create a sales order with 2 units of finished products
then my sales order will look like:
Finished Product 2 units
Material1 100 Units
Material2 100 Units
Now i am trying to create a delivery for 1 unit of finished product
Finished Product 1 units
Material1 150 Units
Material2 100 Units
Here i change the Material1 quantity from 100 to 150 Units and create delivery.
Now i am creating a second delivery
In the delivery order i am getting as:
Finished Product 0.5 Units
Material1 50 Units
materail2 50 Units
But i want
Finished Product 1 units (as my finished product open quantity is 1M3)
Material1 50 Units
material2 100 units
Can this be achieved. Because of more despatch of BOM line items my header BOM item should not change. It should be same as my open quantity in delivery.Hi,
It depends upon how u are maintaining the BOM. The components calculated is based on the BOM base qty.
Regards,
V. Suresh -
Line item Net value is not coming in Header Net Value
Hi All,
I have four conditions
1) A condition with condition cat.Price this is annual price condition and condition value comes from condition record.
2) B condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes from condition record.
3) C condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine(formula value).
4) D condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes by USER EXIT (this value is basically pervious month condition C Net value) .
5) E condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine (formula is condition C - D and resultant value should come in condition E)
When i am creating sales order for Jan month sales order
condition A , B, C is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header matches.
But When i creating sales order for Feb month sales order header net value
condition A , B, C, D is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header does not match. In net value of header system is considering only Condition value C.
So my query is why system is considering condition C value and why not the Net value of line item.
My PP is as follow:
Step Cond.type From to Man Reg St subtotal Req Caltype Bastype
10 A X 2
20 B X 2
30 C X 2 601
40 D X 2
50 Net value 30 40 X 1
60 E 50 2 25 5
70 Total 60
Please help me where is going wrong.
Thanks & regards
SreeHi Sanjay
Just go to V/06 and check wheather header data has been checked or not. That could be the reason it has not copied to header data
Regards
Srinath
Maybe you are looking for
-
Need to install ADR in my weblogic server 10.3.6
Hi, I have installed my Standalone weblogic server in my laptop. And i tried to deploy one of my EAR file ( Developed using Fusion Web application - ADF). It shows some exception and i finally came to know that in need to install the ADR. (ADF Runtim
-
Clamshell mode - Cinema display
I have a 20" Apple Cinema display. Can anyone confirm that plugging the mouse/keyboard into the USB ports on the display is compatible with operating the MacBook in "clamshell" mode? Thanks-
-
Oracle 9i Lite, WinCE sorting
Have a nice day. I'm using Oracle 9i Lite on HP Jornada 720 (WinCE). What I have to set to databese sort correctly by CZECH langugae? I found string XCZECH in some DLL so i think database should know it. Thanks George
-
Automate save as reader extended pdf for commenting
Does anyone know a way to create an applet or droplet that will save a PDF as a reader-extended PDF for commenting? I make lots of individual PDFs and each time I have to open the PDF and save as reader extended etc. Sometimes I forget. Can this be d
-
Exchange server not syncing Lync state or Calendar properly
We have several Mac users that have reported that their Lync states will not update (Busy, Meeting, etc), but if they log on to a Windows machine while still logged onto the Mac, the state will update properly. These same users have reported that the