Blocked ALV Header and Item Displau
Hi Friends,
I`m new to ABAP and the forum.I`m in dire need of solution for a report.
Scenario
I have an internal table with fields ebeln vbeln adrnr.
For every change in ebeln i need to create a new page in ALV and display the item VBELN and some more fields.
Its like a header and item in a single page of alv report.
Is there a possibility to use ALV here or only classical report can be used in the scenario???
Hi,
For Blocked alv header and item display you
declaration internal table fields ebeln vbeln adrn
TYPE-POOLS SLIS.
TYPES : BEGIN OF TY_EKKO,
EBELN TYPE EKKO-EBELN,
AEDAT TYPE EKKO-AEDAT,
vblen TYPE EKKO- vbeln,
END OF TY_EKKO.
DATA : IT_EKKO TYPE TABLE OF TY_EKKO,
WA_EKKO TYPE TY_EKKO.
DATA : WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : WA_EVENTS TYPE SLIS_ALV_EVENT,
IT_EVENTS TYPE SLIS_T_ALV_EVENT,
IS_LAYOUT TYPE SLIS_LAYOUT_ALV.
For Build catalog
CLEAR WA_FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NUMBER'.
WA_FIELDCAT-COL_POS = 1.
WA_FIELDCAT-KEY = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'AEDAT'.
WA_FIELDCAT-SELTEXT_M = 'DATE OF CREATION'.
WA_FIELDCAT-COL_POS = 2.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'LIFNR'.
WA_FIELDCAT-SELTEXT_M = 'VENDOR NO'.
WA_FIELDCAT-COL_POS = 3.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
read_data :
SELECT * INTO TABLE IT_EKKO FROM EKKO UP TO 20 ROWS.
print_header :
DATA : IT_LIST TYPE SLIS_T_LISTHEADER,
WA_LIST TYPE LINE OF SLIS_T_LISTHEADER.
CLEAR WA_LIST.
WA_LIST-TYP = 'H'.
WA_LIST-INFO = 'LIST OF PURCHASE ORDERS'.
APPEND WA_LIST TO IT_LIST.
Header along with write statement at top-of-page then use these function module
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LIST
Similar Messages
-
Delivery block at header and item level
Experts,
I need the ECC table and field name which can give me delivery block at item level. I know that VBUP only gives status of delivery block.
Thanks
LisaDear Lisa,
In which tab you are maintaining delivery block in the delivery item data or order item data.
As per my concern there is no field called Delivery Block in the item data of the sales order and delivery.
In the header data you have.
I hope it will help you,
Regards,
Murali. -
Display constant values in header and items from table in ALV
Hello all,
I have to dispaly the header and Item entires in the output . and the point is header values are all constant and they are not related to item data . item data is to dispalyed from VBAP table .
so how can i achive this .. can i use this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY ...
example of outpput..
Header inforamtions..
name city areacode areazone postzip
abcde xyz 1244 abc 123456
and the item details should be right below the header details
Cnt Vbeln vkorg vtweg matnr etc etc
1 xxx xx xx xxxx xxx xxxx
2 xxx xx xx xxxx xxx xxxx
3 xxx xx xx xxxx xxx xxxx
4 xxx xx xx xxxx xxx xxxx
5 xxx xx xx xxxx xxx xxxx
6 xxx xx xx xxxx xxx xxxx
I am able to dispaly the line items with the FM 'REUSE_ALV_GRID_DISPLAY' plz advice the best solution to achive this
thanks
Raj
Edited by: abaprthree on Oct 28, 2009 12:30 PMHi,
For this you will need to define header for the ALV. Here is a simple example how to do this:
First you need to write one Header form like following:
FORM f004_header USING it_head TYPE slis_t_listheader..
DATA : wa_line TYPE slis_listheader.
CLEAR wa_line.
wa_line-typ = 'H'. " H = Header, S = Selection, A = Action
wa_line-info = 'List of Sales Orders'.
APPEND wa_line TO it_head.
" Here type out all the required data one by one in work are and append it to internal table
ENDFORM. "f004_header
before calling REUSE_ALV_GRID_DISPLAY you need to call following
TO HEADER EVENT
FORM f006_top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_header.
ENDFORM.
and for REUSE_ALV_GRID_DISPLAY call as following
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page = 'F006_TOP'
it_fieldcat = t_fieldcatalog[]
TABLES
t_outtab = it_data.
Let me know if any other help is needed. -
Header and Item data in a module pool
Hi Friends,
I designed a screen in that i have header data and item data.
Here in my screen header i have vendor number,Vendor name,
bank Name, Branch, LC value and Due date fields.
and for item details i have to take table control.In the item details i have the fields Sl No, PO Number and Po Value.
and Two push buttons i need to put.SAVE and CANCEL.
When i click on SAVE all my screen details should be saved in a ZTABLE and should generate a LCDOCUMENT-Number from the system.
So my question is shell i take the two tables for header and item data or one is enough and if i take two tables(one is header and one is item data) how i write the logic to store into the ztables.
How can i proceed.Plz provide me with ur inputs
Thanks and Regards.Hi!
you have to take one table.....in which u have to move the header and item data into that b'coz according to the header data the items are to be displayed.......
select the data for which ever tables they came and then take a final table in which include all the fields of header and item .loop on all the tables from which data u have taken and inside it move the data of those fields into the fields of the final table.
In the ALV u need to call the function module to display the ALV with that final table in which ur all data is there and prepare a field catalog of those fields you want to display in the item list.
for example a sample code is there...
types:
begin of type_s_vbak,
vkorg type vbak-vkorg, " Sales Organization
aufnr type vbak-aufnr, " Sales Order Number
auart type vbak-auart, " Sales Order Type
kunnr type vbak-kunnr, " Customer Number
vbeln type vbak-vbeln, " Sales Document
knumv type vbak-knumv, " Number of Document Condition
end of type_s_vbak. " BEGIN OF TYPE_S_VBAK
types:
begin of type_s_konv,
kwert type konv-kwert, " Condition Value
kbetr type konv-kbetr, " Rate (Condition Amount)
knumv type konv-knumv, " Number of Document Condition
kschl type konv-kschl, " Condition Type
end of type_s_konv. " BEGIN OF TYPE_S_KONV
types:
begin of type_s_material,
kunnr type vbak-kunnr, " Customer Number
matnr type vbap-matnr, " Material Number
arktx type vbap-arktx, " Material Description
steuc type marc-steuc, " Fiscal Classification
kwmeng type vbap-kwmeng, " Quantity
knumv type vbak-knumv, " Number of Document Condition
vbeln type vbak-vbeln, " Document Number
kwert type konv-kwert, " Condition Value
total type p length 14 decimals 2,
" Total
ipitype type p length 9 decimals 3,
" IPI Type
ipivalue type konv-kwert, " IPI Value
end of type_s_material. " BEGIN OF TYPE_S_MATERIAL
data:
fs_vbak type type_s_vbak.
data:
fs_mati type type_s_material.
data:
fs_konv type type_s_konv.
data:
t_vbak like
standard table
of fs_vbak.
data:
t_konv like
standard table
of fs_konv.
data:
t_mati like
standard table
of fs_mati.
loop at t_konv into fs_konv where kschl eq 'ZPNF'.
move fs_konv-kwert to fs_mati-kwert.
modify t_mati from fs_mati
transporting kwert
where knumv eq fs_konv-knumv.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying Total Field of Material Table.
loop at t_mati into fs_mati.
w_total = fs_mati-kwmeng * fs_mati-kwert.
move w_total to fs_mati-total.
modify t_mati from fs_mati
index sy-tabix
transporting total.
clear w_total.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying IPI-Type Field of Material Table.
loop at t_konv into fs_konv where kschl eq 'IPI3'.
w_total = fs_konv-kbetr div 10.
move w_total to fs_mati-ipitype.
modify t_mati from fs_mati
transporting ipitype
where knumv eq fs_konv-knumv.
clear w_total.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying IPI-Value Field of Material Table.
loop at t_konv into fs_konv where kschl eq 'IPI3'.
move fs_konv-kwert to fs_mati-ipivalue.
modify t_mati from fs_mati
transporting ipivalue
where knumv eq fs_konv-knumv.
endloop. " LOOP AT T_KONV INTO FS_KONV
and then fill the fieldcatalog and display the ALV
Edited by: Richa Tripathi on Apr 15, 2009 3:28 PM -
Checkbox in header and item level records.
Hello Freinds,
I have a requirment in which I need to display checkboxes in front of header as well as item level records. I am trying to make a copy of standard transaction VL37. This transaction uses the REUSE_ALV_HIERSEQ_LIST_DISPLAY for displaying header and item level data. I debugged and found that in the alv layout there is a field with name box name. If we pass the name of header internal table to that field then we can get checkbox in front of header level records and if we pass item level internal table name then it shows the checkbox in front of item level records.
Can anyone provide some possibility of adding checkbox for both header and item level records while using the same ALV FM.Hello Harsh,
I am also kind of facing the same issue. I have used the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for ALV display. And I need to add checkbox at item level.
I have tried to add checkbox through field catalog. Following is the code I'm writing.
l_wa_fieldcat-fieldname = l_c_flag.
l_wa_fieldcat-tabname = l_c_item.
l_wa_fieldcat-checkbox = abap_true.
*l_wa_fieldcat-edit_mask = abap_f.
l_wa_fieldcat-edit = abap_true.
l_wa_fieldcat-key = abap_true.
l_wa_fieldcat-seltext_m = l_c_flag.
APPEND l_wa_fieldcat to em_it_fieldcat.
But in this case the checkbox appears in disabled form.
Can you please help? Could you be a bit elaborate on your answer i.e. the code snippet? Many thanks.
Regards,
Debapriya -
Disable header and item fields in VA02
Hello, good day
Could you please help me with next issue?
I need to define how to inactivate some header and item fields in a sales order when VA02 is used, a logic to decide if the field must be desable will be applied, because of that I can't use standar customizing solution.
I read a lot of threads, but many of them are not answered, and as far as I can see many recommended solutions are refered to similar code that I have now.
I tried with next user exits:
To block gray out header and item fields:
User exit form USER_EXIT_FIELD_MODIFICATION Program: MV45AFZZ
To gray out pricing grid
User exit form: USEREXIT_FIELD_MODIFICATION Program: LV69AFZZ
To gray out partner screens (item, header): No user exit identified, please advise
to gray out new items in sales order: No user exit identified, please advise, I mean not allow new items.
fields to block:
XVBAK-LIFSK
XVBAK-FAKSK
XVBAK-KUNNR
XVBKD-VSART
XVBKD-INCO1
XVBAP-UNTTO
XVBAP-UEBTO
XVBPA-KUNNR
XVBPA-PARW
XVBAP-ROUTE
XVBAP-ABGRU
The code is something like this in MV45AFZZ - USER_EXIT_FIELD_MODIFICATION
CASE screen-name.
WHEN 'XVBAK-KUNNR'
OR '*XVBAK-KUNNR'. "Sold To
screen-input = 0.
END CASE
but is not working. please advise.
Disable Pricing grid: after apply this code, is possible to add new manual conditions, how can I disable input new item conditions?
The code is something like this in LV69AFZZ - USEREXIT_FIELD_MODIFICATION Program:
Modify screen fields
IF SCREEN-NAME = 'RV61A-KOEIN'
OR SCREEN-NAME = 'KOMV-KBETR'
OR SCREEN-NAME = 'KOMV-KPEIN'
OR SCREEN-NAME = 'KOMV-KMEIN'
OR SCREEN-NAME = 'KOMV-KWERT'
OR SCREEN-NAME = 'KOMV-KSCHL'
OR SCREEN-NAME = 'KOMV-KUMZA'
OR SCREEN-NAME = 'KOMV-KUMNE'
OR SCREEN-NAME = '*RV61A-KOEIN'
OR SCREEN-NAME = '*KOMV-KBETR'
OR SCREEN-NAME = '*KOMV-KPEIN'
OR SCREEN-NAME = '*KOMV-KMEIN'
OR SCREEN-NAME = '*KOMV-KWERT'
OR SCREEN-NAME = '*KOMV-KSCHL'
OR SCREEN-NAME = '*KOMV-KUMZA'
OR SCREEN-NAME = '*KOMV-KUMNE'.
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
Modify buttons
IF SCREEN-NAME = 'BT_KOAN' "Add
OR SCREEN-NAME = 'BT_KOLO'. "Delete
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
IF SCREEN-NAME = 'BT_KONY'. "Update
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
Thanks in advace.
Regards!Thanks Sai, for your prompt answer, as far as understand variants, I can't add any logic, to allow change or only display, I do no't include the logic in the sample code, but that's my case, I need the user exit due a logic must be applied and standar solution like variant or customizing are not the better option.
I Found that in order to gray pricing grid we just put the code in user exit form: userexit_field_modific_leer include LV69AFZZ
and to block the other fields and to block partner functions:
Include Program: MV45AF0P_PARTNER_PREPARE User Exit Form: partner_prepare
Edited by: Jose Carrillo on Mar 30, 2008 4:21 AM -
How to create a new field for Q3 - QM notification in Header and item level
Dear All,
l
Sub: How to create a new field for Q3 - QM notification in Header and item level
Ref. the link --> Quality Notification
We want to create a new field in header level and item level.
As per the thread the solution is given below.
In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
Quality Notification -> Notification Types -> Define screen areas for notification types
WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
Please help.
Question No. 2 :
THE REQUIREMENT IS GIVEN BELOW.
We want to hide the field in Q3 - QM Notification
In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
Ref the link --> Quality notification
The solutiion is given below.
Hi Sami,
We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
Hope this will suffice your requirement.
Kindly ask me if you need any other details.
Thanks & Regards,
Srinivas.D
Hi Sami,
We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
Hope this will suffice your requirement.
Kindly ask me if you need any other details.
Thanks & Regards,
Srinivas.D
By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
Plese do the needful.
We are using ECC6.0 Ehp3 and Ehp4.
With Best Regards,
Raghu SharmaDear Pushpa,
Transaction Code :SHD0 is working fine.
Please accept my sincere thanks for your sharing your Knowledge.
I am able to fulfill my
Regarding the enhancement, I have not tried.
Once I will complete, I will award the fulll marks to you.
With Best Regards,
Raghu Sharma -
Incompletion Log V50UC EXCTR inconsistency at Delivery header and Item lev
Hello Experts
Incompletion Log V50UC EXCTR inconsistency at Delivery header and Item lev
This fields and structure is defined both at header and Item Incompletion procedure .
But at Header level , the field is getting removed , but not at Item level
V50UC- EXCTR.
Can you let me know what to do about this inconsistency / any SAP Note etc .
REgards
RohitHello
This Incompletion log is related to Foreign Trade.
Check maintain required foreign trade data at Item
or If foreign trade is not active for your this business process..Check your config for Incompletion procedure for foreign trade by use TCode VI29.
I hope this suffice your requirment.
Thanks & Regards
JP -
Header and Item Text is not replicating from ECC6.0 to SAP CRM 7.0
Hi SAP Experts,
When the text is added at header and item in Texts tab from SAP CRM then this is transferring into ECC6.0 but the otherway round is not working i.e., from ECC6.0 to SAP CRM.
Would appreciate for giving solution.
Thanks in advance.
Best Regards
SucchiHi Succhi
There are a number of oss notes to check: 1169856, 720147, 550343, and 549209
Please make sure that the text tables are included in the filter as per note 720147.
Also include the configuration as per note 549209.
It is necessary that the same text types exist in both systems so please review the configuration carefully.
I hop this helps.
Best Regards
Gavin -
Partners in Header and Item level
Hi,
I am creating a credit memo through the following steps.
1. Create rebate agreement in VBO1.
2. Create sales order in VA01.
3. Release through VKM4.
4. Create delivery through VL01n.
5. Post goods issue.
6. Create billing document through VF01.
7. Update billing doc through VBOF.
8. Settle rebate agreement through VB(7.
When the credit memo is created,in debugging mode(VB(7),if I change the partner for "header", partner for "item" is also getting changed.This is as per my requirement. But I wanted to know whether there can be a case where item partners are different than header partners. (Right now I am having only one line item in credit memo.I am not being able to create a credit memo with more line items by repeating all the steps above).Sowrabha
It is possible to have different Partners for Header and Items... However, in your scenario it doesn't create any problem, as it all depends on the Partner Determination Procedures in the customising....
Thanks
Amol Lohade -
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 -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032 -
Different division at header and item level in Order
Hi Gurus,
i am facing this issue where while creating quotation in CRM i entered sold to party, selected the org data ( OA/DI/OP ). i entered the product with quantity. now at item level in Organization tab my sales area is showing as ( OA/DI/01). system is picking the division maintained for product which is 01) so division is different at header and item level. i need the header division to be used at item level as well.
how can i achieve this?
Thanks and Regards
Sudhir GroverHi Sudhir,
Make sure the settings in the SPRO>CRM>Master Data>Products>Special Settings for Sales Operations--> Define Division settings is activated with Header Div. Act.
Also check the details in the IMG activity documentation for define division settings.
Hope this helps.
Regards,
Chandrakant -
Sender FILE Adapater Content Conversion: Header and Item Data
Hi
I need to pick a file and do the content conversion. The XML structure which should be formed should be in the below format. I have a CSV file which needs to be converted.
Kindly suggest how can I maintain parameters for Header and Item level data in Recordset structure.
How can I specify in Recordset parameter which is Header(Customerno, Doc type and Address) and Item level(Line Item) data.
<?xml version="1.0" encoding="UTF-8" ?>
<customernumber></customernumber>
<documenttype></documenttype>
- <Address>
<name1></name1>
<name2></name2>
</Address>
- <LineItem>
<material>100016</material>
<amount>1000</amount>
</LineItem>Hi Swetank,
The file after conversion should have one Header and you can have any number of line items.
Once you choose File Content Conversion in the message protocol header while configuring the Sender File Adapter, you get the following enteries in the Content Conversion Parameters:
Document Name
Document Namespace
Document Offset
Recordset Name
Recordset Namespace
Recordset Structure
Recordsets per Message
Key Field Name
To maintain the Header information, Some entries are mandatory, i.e.
Recordset Name: Here please specify the name of the structure. It is included in the XML schema.
Recorset Structure: Here you need to enter the sequence and the number of substructures. Since Header is one but you can have many Line items, you will write:
customernumber,1,documenttype,1,Address,1,LineItem,*
this format is clearly explained in the link provided by Divya.
And in the Additional fields you need to write the name of fields corresponding to different Recorset Structures and also add some property to it, like fixed lengths, use some separators etc.
and Most important field is:
Key Field Name: If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value *, then the substructures must be identified by the parser from their content. This means that a key field must be set with different constants for the substructures. In this case, you must specify a key field and the field name must occur in all substructures.
Here you need to enter LineItem as it is the only Recordset Structure with an *.
I hope this solves your problem,
Thanks and Regards,
Varun Joshi -
How to get header and item data in ME_PROCESS_PO_CUST ?
Hi all,
How can I get header and item data in me_process_po_cust~process_account ? I have to do some validation for account assignment catagory in item overview.Hi ,,
Further make the following changes in method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
Get Line item data using method:
CALL METHOD IM_ITEM->GET_DATA
RECEIVING
RE_DATA = W_ITM_DATA.
and then validate the item data from structure W_ITM_DATA..
Same as follows for Header Records:
In method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_Header.
Thanks
Shambhu
Maybe you are looking for
-
Keyboard, Trackpad Shuts off
Every time I convert my video files using Handbrake or VisualHub, after about an hour my keyboard and trackpad die on me. What's interesting is, the keyboard doesn't necessarily die, it more or less FREEZES. That is, (this has happened more than 5 ti
-
Single table/report for material codes by valuation class
Hi Gurus, One of our customers insists on a basic way to find easiest way to list "material codes" by some "valuation class" values. I know it can be done by cross referencing with different tables but i wonder are there any single transaction that s
-
How many iPod Nano's can I download single iTunes movie purchase onto?
What I want to know most is if you buy one movie off of iTunes then can I download that single movie purchase onto three iPod Nano's? I'm planning on buying three Nano's for my kids for Christmas. Thanks
-
Memory efficient conversion of cmyk jpeg to rgb jpeg
I'm looking for a memory efficient way to convert a jpeg image from cmyk to rgb. I can't load the whole image in memory. The image is too big (I already have a lot of ram). Do you know how to do it? Would you share it with us? At the end of this thre
-
Problem with upgrade windows 7 to windows 10 preview [HP2540p]
Hello Everyone, I have a problem with fresh installation windows 10 preview from usb on HP Elitebook 2540p machine. After message "windows is loading files" laptop is shutdown for a few seconds... Installation is interrupt I tried installed with is