Fields missing in item records
hello,
IDOC - File
IDOC has header line and multiple item lines (appearing in one of the segments of IDOC)
when I mapped, all the fields of the item 1 are displayed but from item2, item3 and so on many fields are missing
i.e say each item has some 25 fields
for item 1, 25 fields are displayed
for item2 onwards only 8 fields are displayed
I want 25 fields to be displayed for item 2, item3 ... item n as well
all the source side fields are mapped with the destination fields through MapwithDefault ** so even if the source field doesnt come it should populate and empty space
which is not happening now.
can I achieve the above with standard functions?
regards,
nikhil.
Veera,
I have used mapwithdefault, which is one step ahead of the exists.
it will populate space if the source field doesnt exists. same time it will populate empty space even if the source segment doesnt appear
so I dont think exists will be of much use.
The first occurance of Item has all the 25 fields(if fields are not present, empty spaces are displayed )
from second item onwards (the same structure of item but the fields vary), only 8 fields are populated
nikhil.
Similar Messages
-
Sorting of item record by fields
Hi All,
I am having one scenario where source is IDOC and Target is file.The file will contain one header record and several Items.I want the file to be like one header and Items to be sorted depending on 2 feilds.Can any one come across this type of scenario where Item records are sorted depending on more than one field.
Thanks in Advance,
Chandra.Hi chandra,
there are two solutions to your problem,
1)use java mapping/XSLT mapping.
2)if you have used graphical mapping for IDOC to file scenario,then do not change it,go to the receiver communication channel,in the parameter tab fill in the usual file adapter details;go to module tab;in the processing sequence area uwill find a default module name localejbs/CallSapAdapter;add one row and copy that first row details to the second row;in the first row do the following
==>in the modulename text box type: localejbs/AF_Modules/MessageTransformBean
==>in the type combo box choose "Local Enterprise Bean"
==>If you are using paches < SP15 then type some key name;
(in SP15 you will not find that so dont worry)
==>go to the Module Configuration area after selecting the first row in the processing sequence area (this is important since module configuration corresponds to individual rows of parameter sequence)
==>in the module configuration area
==>in the first row
in parameter name text box type :Transform.Class
in parameter value text box type : com.sap.aii.messaging.adapter.XSLTConversion
==> in the second row
in parameter name text box type : XSLTConversion.XSLTFileName
in parameter value text box type : the location of the XSL file name for example
system1\dir1\sort.xsl;
write this XSL as others said;yo can write this XSL to fabricate your XML in any format ex:you can sort;for writing xsl refer W3schools.
now save the receiver communication channel;
if you run the scenario you can see the output in the format you have specified in the XSl;
cheers,
Sundar. -
2LIS_11_VAITM delta extraction missing line items
Group,
I'm having a bit of troubles with the 2LIS_11_VAITM extractor. We've been using this extractor for some time now to do daily delta loads and it seems to work fine 99% of the time, but recently we noticed a few orders here and there from the last 7 months that were missing line items. If a full repair load is done now on these orders, we are able to extract the missing line items. This seems to suggest that for some reason the R3 delta job is not processing these line items or not picking up changes to these line items when they occur. I've found a few notes that seem to apply, but wanted to know if anyone else had this problem before.
This extractor feeds into a custom ODS, but no records should be dropped since there are only straight mappings in the update rules and transfer rules and no start routines used.
Thanks for any help offered!Hi,
I feel it would be better to check first for these records in PSA table. If the records are there in PSA but not there in ODS . Check the value for the field 0STORNO(ROCANCEL) in all those records.
IF the field ROCANCEL does not has value R or D , then you can think about REPAIR request.
For few more information on REPAIR search the forum.
With rgds,
Anil Kumar Sharma .P -
Hi,
I have a couple of questions.
1. I see there are a few fields missing on the line item level on FB60. It's not the case for development or testing environment. But in Production it's happening. Does anyone know how to get these fields back?
2. Is there a transaction where I can clear multiple documents at once instead of one like FBRA?
ThanksHi!
Field is missing in FB60 screen, please brief which field you are missing and whether its comes earlier, if so please check is there any variant create, u can see this variant at end of the line item screen in top position. when u put your cursor there it will show u the configuration, click there and see if any variant is used, if so remove that and put tick on use as standard setting and try.
FBRA is not for clearing the document, but it reset or reset and reverse the clear document.
for clearing of vendor tcode is f-44
for clearing of g/l tcode is f-03
for clearing of customer tcode is f-32
Rakesh -
Missing Line items for CO-PA "BAPi_ACC_DOCUMENT_POST"
Hi Every one,
I am facing a problem while posting the documents using the standard "BAPI_ACC_DOCUMENT_POST". Problem is, if I have a multiple line items to be posted, BAPI is posting only a part of them and throwing the other documents into error with an error message "Missing Line items for CO-PA" or "inconsistency between a document field and prof. segment number" .
Program is handling the errors in another internal table and displaying them on output report.
When we re-run the program with same parameters, it is posting the some part of the residue and throwing some documents into error. So to clear out all the documents I need to run the Program for multiple times.
Any one can help me out in solving this Problem.Hello Prashanth ,
there are 2 structures I think you should fill
CRITERIA (ref structure BAPIACKEC9 )
VALUEFIELD( ref STRUCTURE BAPIACKEV9) in BAPi_ACC_DOCUMENT_POST
hope this helps... -
Solved - Group Fields for Vendor Master Records in IMG
This was the solution.
The new field's data element I added to LFB1 did not have the "change document" field checked. I made that change and now that field shows up in IMG.
Hello all,
I added an append structure to the table LFB1. This structure has 1 field. I then created a "Modification-Free Enhancement of Vendor Master Record" to add the new LFB1 field to the vendor master screen, edit and display screens. This is the 3rd time I have done this. So far so good.
Now our functional analyst went into IMG to add this new LFB1 field to a "Group Fields for Vendor Master Records" which we have done 2 other times.
The new LFB1 field does not show up in the list of possible Table-fields.
There must be some other step I am missing.
Does any of this ring a bell? We are on version 4.7.
Thanks
Bruce
p.s.
This is the IMG path for adding 'Field Groups' to vendor master fields.
Financial Accounting/
Accounts Receivable and Accounts Payable/
Vendor Accounts/
Master Data/
Preparations for Creating Vendor Master Data/
Group Fields for Vendor Master Records
Edited by: Bruce Tjosvold on Nov 21, 2008 1:18 PMHi Vandana,
There are several tables that are contain Vendor Master related data which can be used for extraction to BW. Some of the tables which can be useful for you are:
LFA1 : Vendor Master (General Section)
LFM1 : Vendor master record purchasing organization data
LFBW : Vendor master record (withholding tax types) X
WYT3 : Partner Functions
LFBK : Vendor Master (Bank Details)
LFB1: Vendor Master (Company Code)
ADRC: Addresses (Business Address Services)
ADR3: Fax Numbers (Business Address Services)
ADR6: SMTP Numbers (Business Address Services)
ADRT: Communication Data Text (Business Address Services)
You may use the Data sources mentioned in the previous update from Venky above namely :
0VENDOR_ATTR --- for master data attributes
0VENDOR_TEXTS -- For texts
Since the fields that you are using are from different tables so its better if you go for a Generic Data source where you can use the fields as per your requirement.
Thanks
Pawan
Edited by: pawan190187 on Aug 19, 2011 12:40 PM -
SharePoint: Workflow to retrieve all users and Create list item record for each user
Hi all,
My share point site have two Lists as Holidays and MyCalender.
Actually Holiday is simple non-Calender list with field as Holiday Date, Reason. MyCalender List Calender type list with Person Look-up column and user can see his own record. User of Manager group will declare holiday. This Holiday should get reflected
on each user 's MyCalender List.[One listitem as holiday date and reason for each user] so everyone can view that record.
I have requirement as Manager will create one Holiday record and then run single workflow so for all users present in SharePoint Site, one MyCalender List Item record should get created. Is it possible to do using Workflow?? Please help as I didn't get any
solution for this.. Thanks in advance!You don't need one workflow per user when a filtered view can do this for you. If the manager's list is the parent calendar, I'm assuming that he'll be at least using the person look-up column.
Whether this feeds through the MyCalendar or stays where it is, you can use the [Me] parameter within the filter on a new view. This will then return the assigned holiday filtering against the account that is logged in.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How count number of item records in a File: Idoc to File scenario
Hi All,
I am configuring an IDOC to File scenario.
Once all the IDOC data is dumped on a File, I need to calculate the number of Item records in this file and write this number at the end of the trailer record in the file.
Is theer a way to calculate the item data records(or say number of lines in the file) in the message mapping area. Or any other simple way to do it.
Appreciate your help on same.
Thanks
Shirinhi,
Use the count function for ITEM node the assign this count value to the receiver field , keep the ITEM context to header!
Thanks,
Vijaya. -
Recon. account is missing in master record ; correct master record
Hi,
When i tried to book a bill in tcode MIRO , the following error message is coming.
Recon. account is missing in master record ; correct mastwer record
Message no. F5144.
I checked for particular vendor in xk03 ( accounting information ) , Recon. account field is blank..
How to rectify this problem..
What will be the consequences if i assigned rec . account now.
Thanks & regards,
Hari priya
Edited by: Hari Priya on Dec 16, 2008 6:19 AMHi
1. use tcode XK02 and maintain reconcillation account
( based on this company will come to know what is totoal liabilitties to the all vendors)
2. then proceed furhter steps
Raju -
Reconcil. acct is missing in master record, correct master record
Dear Experts,
i created the intercompany billing document.
but it has not generated any accounting document.
it is giving the error Reconcil. acct is missing in master record, correct master record.
In my customer master record i have filled up reconcil acct.
and now if i want to made any changes in that i am not able to do that.
so now what can be the alternate solution for that.hello, friend.
you mentioned that the field for recon account (company code view) has been greyed out in change mode? it is possible your FI has set this field as display only (text control) while in change mode. please check with your FI consultant and if so, the field should be made modifiable so you can make changes.
if this is not possible, then cancelling the intercompany transaction becomes a likely option.
please post feedback again. -
Transaction RERAPP - Reconcil.acct is missing in master record; correct mas
Hi gys.
I have problems during the execution of the transaction RERAPP.
Occurs the following message:
Reconcil.acct is missing in master record; correct master record
Message no. F5144
What it´s this master record that is informed?
Tks
LucasThe solution is maintaining Reconciliation account in master data:
Using master data T codes FK02(Vendor) FD02(Customer), in the account management section you can enter the reconciliation account for above master records for the Business partner used in your RERAPP run.
Permanent solution is,
T code: RECACUST- this is customization T code for RE-FX
in this follow the below path:
1. Business Partner->Relevant Settings for Business Partner in RE context->Business Partner customer->
->Standard values for automatic creation of Customers (Company code-Dependent).
Here for Product Type IMV, maintain your company code and fill Reconciliation Account with Customer master reconciliation account.
The details maintained here are used by the system whenever you are creating master tenant in the
RECN transaction for the creation of Customer in the background.
2. Path: Business Partner->Relevant Settings for Business Partner in RE context->BP Roles->Configure field attributes for BP roles
Make Reconciliation account for your BP Role mandatory field.
So that in case if you create BP Role master tenant (Using BP T code), system shows error and forces user to maintain that.
Regards,
Bala. -
Outbound file interface - Header and item record transfer issue
Hi.
Pls help me complete this work by today:
I have to pass header and item record into file in application server.
I am retrieving Header record from table MCHB & RESB
and item record from MKOL & LFA1
I have to create separate file per plant ( plant is multiple selection field)
I have a check box (p_sob) for special stock selection in my selection screen .
If p_sob is initial
Header record should come from MCHB and RESB
and corresponding item entries from MKOL and LFA1
If some batch entries entries only exists in MCHB and not in MKOL then item fields will be blank
However if some entries exists only in MKOL and not in MCHB then header fields will be filled by correponding item fields.
Can anyone tell me the basic frame of the program.
Regards,
Simran*& Form sub_populate_header
Subroutine to populate header table
FORM sub_populate_header.
DATA: l_clabs TYPE char13, "Valuated stock
l_bdmng TYPE char13, "Requirement quantity
l_avqty TYPE char13, "Available quantity
l_slabs TYPE char13. "Consignment stock
DATA: i_mkol_tmp type standard table of ty_mkol initial size 0.
LOOP AT i_mchb INTO wa_mchb.
READ TABLE i_mkol INTO wa_mkol WITH KEY matnr = wa_mchb-matnr
werks = wa_mchb-werks
lgort = wa_mchb-lgort
charg = wa_mchb-charg
BINARY SEARCH.
IF sy-subrc EQ 0.
*Mark those MKOL records for deletion
wa_mkol-mark = c_mark. "marked for deletion
ELSE.
*Population of Plant,material number,batch,storage location and
*valuated stock
wa_header-werks = wa_mchb-werks. "Plant
wa_header-matnr = wa_mchb-matnr. "Material number
wa_header-charg = wa_mchb-charg. "Charg
wa_header-lgort = wa_mchb-lgort. "Storage location
wa_header-clabs = wa_mchb-clabs. "Valuated stock
l_clabs = wa_header-clabs.
SHIFT l_clabs LEFT DELETING LEADING space.
*Population of material description
READ TABLE i_makt INTO wa_makt WITH KEY matnr = wa_header-matnr.
IF sy-subrc EQ 0.
wa_header-maktx = wa_makt-maktx. "Material description
ENDIF.
*Population of Requirement quantity
READ TABLE i_sum INTO wa_sum WITH KEY charg = wa_header-charg
BINARY SEARCH.
IF sy-subrc EQ 0.
wa_header-bdmng = wa_sum-bdmng. "Requirement quantity
l_bdmng = wa_header-bdmng.
SHIFT l_bdmng LEFT DELETING LEADING space.
ENDIF.
*Population of Available quantity
l_avqty = l_clabs - l_bdmng.
SHIFT l_avqty LEFT DELETING LEADING space.
wa_header-avqty = l_avqty. "Available quantity
APPEND wa_header TO i_header.
CLEAR wa_header.
ENDIF.
ENDLOOP.
*Deleting batches from MKOL which exists in MCHB
i_mkol_tmp[] = i_mkol[].
DELETE i_mkol_tmp WHERE mark = c_mark.
*Sorting I_MKOL
SORT i_mkol_tmp BY matnr werks charg lgort.
LOOP AT i_mkol_tmp INTO wa_mkol_tmp.
*Population of Plant,Material number,charg & Storage location
wa_header-werks = wa_mkol_tmp-werks. "Plant
wa_header-matnr = wa_mkol_tmp-matnr. "Material number
wa_header-charg = wa_mkol_tmp-charg. "Batch number
wa_header-lgort = wa_mkol_tmp-lgort. "Storage location
APPEND wa_header TO i_header.
CLEAR wa_header.
ENDLOOP.
ENDFORM. " sub_populate_header
*& Form sub_populate_item
Subroutine to populate item table
FORM sub_populate_item .
LOOP AT i_mkol INTO wa_mkol.
wa_item-lifnr = wa_mkol-lifnr. "Vendor number
wa_item-slabs = wa_mkol-slabs. "Consignment stock
READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
BINARY SEARCH.
IF sy-subrc EQ 0.
wa_item-name1 = wa_lfa1-name1. "Vendor name
ENDIF.
ENDLOOP.
ENDFORM. " sub_populate_item
*& Form sub_batch_stock
Subroutine to output batch record from table (MCHB & MKOL) into
file in application server
FORM sub_batch_stock .
DATA: l_record TYPE string, "String
l_clabs TYPE char13, "Valuated stock
l_bdmng TYPE char13, "Requirement quantity
l_avqty TYPE char13, "Available quantity
l_slabs TYPE char13, "Consignment stock
l_tabix TYPE sytabix. "Index
LOOP AT i_header INTO wa_header.
*Separate file per plant
AT NEW werks.
*Creation of file
PERFORM sub_create_file.
Open File on the application server for processing
OPEN DATASET g_file_name FOR APPENDING IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc NE 0.
*Display error message
MESSAGE e055 WITH g_file_name. " Error in opening file
ENDIF.
ENDAT.
AT NEW charg.
CONCATENATE c_header " Header indentification
wa_header-werks " Plant
wa_header-matnr " Material number
wa_header-maktx " Material description
wa_header-charg " Batch number
wa_header-lgort " Storage location
l_clabs " Valuated stock-unrestricted use
l_bdmng " Requirement quantity
l_avqty " Avalable quantity.
INTO l_record SEPARATED BY
cl_abap_char_utilities=>horizontal_tab.
Transfering header record to file
TRANSFER l_record TO g_file_name.
CLEAR: l_clabs,
l_bdmng,
l_avqty,
l_record.
ENDAT.
LOOP AT i_mkol INTO wa_mkol WHERE matnr = wa_header-matnr
AND werks = wa_header-werks
AND charg = wa_header-charg
AND lgort = wa_header-lgort.
*Population of Vendor number and consignment stock
wa_item-lifnr = wa_mkol-lifnr. "Vendor number
*Storing Consignment stock into local variable to change datatype
*from QUAN to CHAR
l_slabs = wa_mkol-slabs.
SHIFT l_slabs LEFT DELETING LEADING space.
wa_item-slabs = l_slabs. "Consignment stock
*Population of Vendor name
READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
BINARY SEARCH.
IF sy-subrc EQ 0.
wa_item-name1 = wa_lfa1-name1. "Vendor name
ENDIF.
CONCATENATE c_item " Item identification
wa_item-lifnr " Vendor number
wa_item-name1 " Vendor name
l_slabs " Consignment stock-unrestd. use
INTO l_record SEPARATED BY
cl_abap_char_utilities=>horizontal_tab.
*Transfering Item record into file
TRANSFER l_record TO g_file_name.
CLEAR: l_slabs,
l_record.
ENDLOOP.
AT END OF werks.
Close File
CLOSE DATASET g_file_name.
CLEAR g_file_name.
ENDAT.
ENDLOOP.
ENDFORM. " sub_batch_stock -
I have downloaded itunes and run the installation but I keep getting an error message. the request is to reinstall itunes due to missing registry items. The exact message is:
The registry setting used by the iTunes drivers for importing and burning CDs and DVDs are missing.
This can happen as a result of installing other CD burning software. Please reinstall iTunes.I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
iTunes for Windows: "Registry settings" warning when opening iTunes -
0BBP_TD_SC_1 Header GUID in item record does not match Header GUID
Hi all,
We are testing shopping cart (Line Item) extractor (0BBP_TD_SC_1) and we are finding that for some shopping carts, the Header GUID in the item record does not match GUID in the header record.
The item record, however, has a field called 'DOC GUID' which matches the header GUID.
Also, Header and Item GUID in the item record are identical.
Is this how the extractor is supposed to work?
Any suggestions will be appreciated, and points will be assigned.
Edited by: RDA on Mar 20, 2009 10:34 PMIsn't it in BUP_VENDOR_ID?
-
Storage location field missing while doing GR with PO number
When I receive goods from a PO, the storage location field missing from MIGO with 101. Material been extended with storage location and entered in PO. But sloc field totally greying out while I receive goods with PO.
I tried other way to receive goods , but storage location disappears when I save it.
MMBE shows stock as on order before reciept , after I post goods, material document created but stock disappears. Not even in the plant.
Can anyone help , please?<i>The following from other message thread solved my problem....</i>
Stephen Birchall
Posts: 1,095
Questions: 1
Registered: 3/27/07
Forum points: 1,566
Re: Material Classifications and Purchasing cycle
Posted: Apr 23, 2007 9:26 AM in response to: Dushyant C Koth... Reply E-mail this post
Hi,
You create the material in MM01 and select the non-valuated stock material type.
When you create a PO for this material the system will ask you to enter an account assignment category (such as K for cost centre etc.) Indicate the GL etc that you want the costs to be posted to (Stationery, office supploes etc.).
When the items are received, post the GR as normal (with MIGO). At GR the total value of the items will be posted to the correct financial accounts and the stock quantities will be updated.
Then when you have consumed anything you post a goods issue (MB1A or MIGO) and this does not post anything to the financial accounts (it was all posted at GR) but it does reduce the stock figures.
This process is ideal for ANY low value / high volume items, because the stock is managed correctly but you do not have many hundreds of tiny financial posting as each low value item is consumed.
Steve B
Maybe you are looking for
-
Building an eBook in Adobe Acrobat X Pro
Hey guys, This is my first post to the forum so please be gentle... In brief, something I'm not known for, I've decided on the PDF format so I can offer my eBook to anyone owning a computer with an internet connection. Try as I may I've not been able
-
How to place download link on jsp page to download files eg. Download PDF
Hi, I have made an appliaction in struts 2 which creates PDF,its working fine now i want to place a link on my jsp page from where i can click and download that PDF file which i have created and store on my local location. Also i want to to know can
-
How do I alter a PDF stored in my documents
I have an IMac. I created and scanned a resume into my documents. How do I edit or must I retype
-
How to persist TextInput text values?
Can anyone provide a brief explanation of how to persist text values? Description: Stuff written into a TextInput field does not persist when moving to another frame, and back again. Example: Frame 1: Put a TextInput component on the stage. Frame 1:
-
Where are my extensions in DW8?
Where are my extensions in DW8? I'd like my desktop extensions to be in sync with my notebook. I can't find them physically in my DW8 installation. Is it as simple as copying extensions from one directory on one box to the same directory on the other