Displaying header and line items
Hi,
i) i have a fieldname i.e text and its value to display in the bodypage (body)..
i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
Thanks
Hi Shekar,
The following solutions useful if you are using printbased forms.
1. To display the field if the value is there.
->In the Context you can define the condtion on the filed.
->You can write a script on the subform superior to the field
[code] if ( $.field.rawValue == <value> ) then
$.field.presence = hidden
endif [/code]
2. Header and item table
In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
refer the message
Re: Adobe IF Attachments
Similar Messages
-
What's the difference of Item Class value:Header and Line Item in AME Rule
Hi All,
when creating a Rule or Attribute,there is a Item Class property,which contains Header and Line Item two values.
Can anybody pls help me clarify the difference?
thx,
edmund.This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
Regards -
Header and Line Item reporting (MultiProvider)
Hello All,
We have data coming in from a LO Extractor. There are 2 extractors. 1 for line item the other for Header. The line item extractor has all the fields for both so we decided to use this extractor (the line item).
Question is, when extracting this data multiple records come over. Let's say the order has 2 line items. It brings over a header record and then 2 line item records. We have it going to an ODS and then Cube. The ODS key is order number and item. Well the header record comes over with item number #, so 3 records hit the ODS.
How do you handle this? We saw something about denormalization and make this header record item number a 0.
Can someone explain to us how to handle this? We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
Please help, Thank youItem level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
This will not be good option if you require some fields that may have different records in the header and the item.
One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
Constant selection wil be helpful in the report level not during load process.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown. -
Header and line item headings in new page in Sapscipts
HI,
In Main window, I am displaying the header details.
In a box below, I am displaying its item headings and item data details. Now when the no. of line items exceed the first page, they are displaying in the second page with other windows, but the header details, box and the line item headings are not getting displayed in the next page.
Can anyone help me How to get the box, line item headings and header data also in the next page..
thanks in advance........
RakeshHi Rakesh,
The header details, item headings and the box are also in the main window, thus, if the items exceeded and a next page is triggered, it will still continue to display the items until the loop ends.
what you can do is that you can make a separate /E elements for header details, item headings, box and line items. so if a new page is triggered, you can call again the elements for header details, item headings, and box, then continue with the line items.
Thanks,
M -
GL Custom Reports not displaying source and line item Data after Upgrade
Hi,
I am having this issue even though General Ledger Journal Entry Summarization is set to "No Summarization" and in SLA the Line Type is set in detail for Transfer to GL. Have you come accross a specfic example like this? Can you please guide me to what the problem may be?
None of the GL reports is showing the Source and Line Item details.
Thanks,
ArunI am having this issue even though General Ledger Journal Entry Summarization is set to "No Summarization" and in SLA the Line Type is set in detail for Transfer to GL. Have you come accross a specfic example like this? Can you please guide me to what the problem may be?
None of the GL reports is showing the Source and Line Item details.Have you verified the queries of those reports after the upgrade? And, when you say upgrade, do you mean from 11i to R12?
Did you set the application context properly?
How to set the Organization Context in R12? [ID 437119.1]
Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]
SQL Queries and Multi-Org Architecture in Release 12 [ID 462383.1]
Setting APPS Context is mandatory step while loading data using public APIs [ID 473615.1]
Thanks,
Hussein -
How to add new fields for FB01 transaction both at Header and Line item
Hi Guys,
I would like to add the new fields at header and item level in FB01 transaction. Can I acheive this by using transaction EEWB....please help me on this.
Thanking youHi,
We are trying to copy a work flow objects from ECC6.0 to 4.6C...where we found the following Select statement.
*Determine Top WorkItem Instance
if im_top_wi_id is initial.
select wi_id top_wi_id wi_rh_task into lw_top_id from sww_wi2obj
up to 1 rows
where wi_rh_task = im_wftask and
catid = 'BO' and
instid = l_instid and
typeid = 'FIPP'.
endselect.
endif
As table sww_wi2obj can't be found in 4.6C, can any one help how to replace or implement the same logic as above statements.
Thank you.... -
To change the Purchase order header and line item text
Hi everybody,
I need to upload the PO Header and item text for the combinaion of PO and a material.
Please help???Hi,
Try this beloe code
Length of the PO item text
If the length > 132 Chars
BAPI Function module for changing PO item Text
commiting the bapi change
SORT t_bapi BY ebeln ebelp.
LOOP AT t_ebeln INTO wa_ebeln.
LOOP AT t_bapi INTO wa_bapi WHERE ebeln = wa_ebeln-ebeln.
REFRESH t_return.
READ TABLE t_input INTO wa_input
WITH KEY ref_num = wa_bapi-ref_num
item = wa_bapi-ebelp.
IF sy-subrc EQ 0.
APPEND wa_input TO t_output.
w_len = STRLEN( wa_input-text ).
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '*'.
wa_potextitem-text_line = wa_input-text+0(132).
APPEND wa_potextitem TO t_potextitem.
IF w_len > 132.
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '='.
wa_potextitem-text_line = wa_input-text+132(123).
APPEND wa_potextitem TO t_potextitem.
ENDIF.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = wa_bapi-ebeln
TABLES
return = t_return
potextitem = t_potextitem.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '
IMPORTING
return = wa_bapiret2.
Regards
Krishna -
PO header and line item text in smartform
HI,
In my smartform I am fetching the 'PO header text', 'item text', and 'material text' for PO with "Include text"( by passing text name, object id etc..) with "no error if no text is maintained" checkbox checked
This is working fine In the development servers....
but when I moved these requests to quality servers...the above mentioned texts are not getting displayed in the smartform...while Texts are maintained in PO.
What can be the problem??I guess there cant be any problem with the Include text . The problem can be either the text is not maintained or may be the include is not getting executed.
See if you have any conditions in the condition tab.
Check it in the debug mode and let me know if includ text is getting executed but value is not getting populated,
Better you can do one thing
Take the generated functional module name let us suppose your FM nae is /1BCDWB/SF00000100 then add SAPL as below
/1BCDWB/SAPLSF00000100
Now go to SE38 and give this Program name and in the program find the code with the Text id .
Supose your Text id is 'ZTXT'.
find with this this ID and find which function module is used to get your text.
Put break point on the FM and now execute the form.
Check whether values text is getting populated .
Thnanks,
Nageswar
Reward if problem solved -
Header data in xml tags and line items in fixed length but both in same fil
Hi,
In my scenario target side in header level i am passing all the values are fixed values and line item vaues are getting from the source data.how to write udf for this scenario.It should be graphical mapping.
Please help to me
please reply fast
Thanks&Regards
Swathi
Edited by: SWATHIP on Feb 4, 2011 7:16 AMHi,
1) If your values are numerical you can use the "FormatNum" function under Arithmetic Functions.
This will help you fix the length of the number and even the decimal part.
2) If you want to fix the length of field which is of type string, you can try the following code:
public String setLength(String var1, String var2, Container container) throws StreamTransformationException
/* var1 will have the String Value, in var2 pass a constant integer of fixed length you want */
int len = Integer.parseInt(var2);
String rslt = var1;
if( var1.length() < len)
for(int i = var1.length(); i < len; i++)
rslt = rslt + " "; // appending space
else
rslt = rslt.substring(0,var1.length - 1)l
return rslt;
regards,
Aravind
Edited by: ajnayak on Feb 7, 2011 7:25 AM -
G/L Balance and Line items difference
Dear Mates,
We have a Inventory-Spare Parts G/L account
When i see the FS10N g/l balances ,there is a figure appearing as 25,82,887/- in the period February and when i double click on the above said figure to see the line items whose total comes to 30,89,627/- with doc.type: WA.
Can please tell me ,what could be reason for the difference between Balance appearing on the initial screen and line items total.
Please treat it very urgent as auditors are sitting on my head.
Thanks
SubbuHi,
First let me know the SAP R/3 version and fiscal year.
In the mean time, you can also check any changes has been made to your GL account master data related to line item display.
all the best -
ALV for one header and multiple item table
Hello All,
I have a requirement to display records from one header and three item table using ALV.
The output should be such that
1-line - record from header table
followed by - records from the 1st item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
followed by - records from 2nd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
followed by - record from 3rd item table(can have multiple entries corresponding to a header record and each should be displayed on separate line)
Can you help me out.
Thanks and regards,
Subramanian.hi
data population is same for alv or normal reporting.
First you select the data from header
select from item data using for all entries in it_header where....
select item 2
selct item 3
loop a it_header
read item1
read item2
read item3
check sy-subrc
move to i_final
then build fieldcatalog and display..
look the example
SELECT PERNR
STELL
WERKS
ABKRS
ENAME
ENDDA
BEGDA
ORGEH
PERSG
PERSK
KOSTL
FROM PA0001
INTO TABLE I_PA0001
WHERE PERNR IN S_PERNR
AND ABKRS IN S_ABKRS
AND PERSG IN S_PERSG.
SELECT SPRSL
STELL
ENDDA
STLTX
FROM T513S
INTO TABLE I_T513S
FOR ALL ENTRIES IN I_PA0001
WHERE STELL = I_PA0001-STELL AND SPRSL = 'EN'.
SELECT PERSA
NAME1
FROM T500P
INTO TABLE I_T500P
FOR ALL ENTRIES IN I_PA0001
WHERE PERSA EQ I_PA0001-WERKS.
LOOP AT I_PA0001 .
READ TABLE I_T513S INTO WA_T513S WITH KEY STELL = WA_PA0001-STELL
SPRSL = 'EN'
ENDDA = WA_PA0001-ENDDA.
IF SY-SUBRC IS INITIAL.
MOVE WA_T513S-STLTX TO WA_FINAL-STLTX.
ENDIF.
V_SNO = V_SNO + 1.
Read Value For Personal area Text.
READ TABLE I_T500P INTO WA_T500P WITH KEY
PERSA = WA_PA0001-WERKS.
IF SY-SUBRC EQ 0.
MOVE WA_T500P-NAME1 TO WA_FINAL-NAME1.
ENDIF.
FORM DISPLAY_DATA .
--BUILDING FIELD CATALOG--
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = V_REPID
I_INTERNAL_TABNAME = 'I_FINAL'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = V_REPID
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = I_FCAT[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 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.
*--Modifying titles of Field Catalog--
READ TABLE I_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'S_NO'.
IF SY-SUBRC EQ 0.
WA_FCAT-REPTEXT_DDIC = 'X'.
WA_FCAT-SELTEXT_S = TEXT-041.
WA_FCAT-SELTEXT_M = TEXT-041.
WA_FCAT-SELTEXT_L = TEXT-041.
WA_FCAT-OUTPUTLEN = 3.
WA_FCAT-JUST = 'L'.
MODIFY I_FCAT FROM WA_FCAT INDEX SY-TABIX.
CLEAR WA_FCAT.
ENDIF.
do for all the fields u want to display..
Award points if useful. -
Urgent - "Vendor balances carried forward and line items report."
Hello,
Is there any report which will give me the vendor balance carried forward and the line items during that period.
==============================================
Format-
eg: statement taken from 1.8.2006 to 30.9.2006 is required as
Bal b/f 25000 cr.
3.8.2006 Purchase Inv XXX 3000 cr.
5.9.2006 Payment Chq XX 26000 dr.
Bal c/f 2000 cr.
==============================================
Please advise on this.....
Regards,
Jthanks for the response, but i have already tried those transactions.
FK10N will give me the periodic bal statements and NOT line items display which will also have balance carried forward.
F.41 and F.43 again gives the periodic and line items...but i want the vendor balances to be in the format given above..
like say, account statement.
Please advise............
Regards,
J -
S_ALR_87012247 - Customer Balances and Line Items in Local Currency
Hi All,
This report S_ALR_87012247 - Customer Balances and Line Items in Local Currency is not displaying line items for customers in ECC6. Is there any configuration required to get the line items? Please help
Thanks
SrideviIf you see this report S_ALR_87009950, you will get
Opening Balance at the start of fiscal year
Debits and Credit during the reporting period
and the Cumulative Balance.
Please note the above report will not give you line item details.
S_ALR_87012247 report is specifically for poland, in the description it is mentioned that the line items will be displayed, unfortunately, for other countries, there are no line items visible. Therefore, you may explore the possibility of copying this report and changing the code in order to bring the line items along with the totals. -
Difference between Transaction Figures and Line Items
Hi,
I gone through FI like FI-GL,FI-AR,FI-AP..there i find...
Line Items & Transaction figures as main...like
in FI we have
Line Items - 0FI_GL_4,0FI_AR_4,0FI_AP_4 etc...
Transaction Figures - 0FI_GL_6,0FI_AR_6,0FI_AP_6 etc...
Now Can some please explain...
what exactly Line Items are?
What exactly Transaction Figures are?
How data flows from end to end in FI? i.e where exactly GL,AR,AP comes into picture..how they are internally related?
Some one please explain me in detail (with expamles if possible) and quick reply is much appreciated...
Regards
RamsunderHi
What exactly line items :
Line items are document items that were posted to a specific account. In contrast to a document item a line item only contains the information from the document that is relevant from the account view.
You can display the following line items:
Open items, Cleared items, Noted items, Parked items ,Items with special G/L transactions (in Accounts Receivable and Accounts Payable),Items with customer or vendor items (in Accounts Receivable and Accounts Payable)
You can display the line items for the following account types: Customer accounts,Vendor accounts,G/L accounts.
What exactly Transaction Figures are?
Transaction figures are the sums of line items on the debit or credit side. The balance is the difference between the debit and the credit transaction figure.
If you take General ledger
AP records all accounting transactions for dealings with suppliers(Vendors). Much of its data is obtained from procurement (Materials Management).
AR records all accounting transactions for dealings with customers. Much of its data is obtained from Sales and Distribution.
Asset Accounting records all accounting transactions relating to the management of assets.
Travel Management manages and calculates travel costs and supports travel planning and travel expenses.
Bank ledger supports the posting of cash flows.
Regards
Chandra Sekhar T -
Report to Display Vendor Open Line Items
is there a report out there to display Vendor Open Line Items only for Asset Puchases??
Thank youDear Expert,
In FBL1N we can find the line items according to your requirement through the "Dynamic Selections" select the Particular vendor or Vendor Group for selecting a total group and , Document , Document Type select the AA Document type and Select the Open items Radio button and also you can select Open at key date enter the date up to which you want to view., And Execute.
Regards,
Shankar K B
Maybe you are looking for
-
Adobe Colour Issues with RAW images
Hi, I have had Photoshop for a long while now and i have a problem. When looking at RAW images they have a green hue on the shadows (this is when previewing them in Bridge, Photoshop and Camera RAW). This problem seems to be solved by minimizing the
-
I copied my iTunes library from another computer, but apparently something failed in the process, because not all of the files got copied onto my external HD. Perhaps I tried to copy too many files at once. In any case, I know have a lot of files not
-
Is it possible to retrieve data from an Oracle db with an LDAP query?
Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?
-
Picking location determination for STO
Hello All, Please i need help for the scenario described below: Material X exists on storage location 1234 and 5678 in Plant 1000. Also, this material can be transported to other Plants from any of this storage location. Currently, I have configured
-
Effect for making horizontal TV screen lines
I want to put part of a video in speeded up reverse and also add the lines so it looks like an old video tape fast reversing. Is there a preset effect for this in AE CS5? Kind of like what's in the image below: