LSMW problem with ref tcode FBCJ
Respected Members,
i have 1000 and more cash receipts data in flat file and i have to upload it through LSMW but when i m trying to recording through FBCJ in lsmw and finally in transfering data ,getting the error that there is no record in batch input session.
I m not getting how to solve ,please tell me in detaills at least with one example how to upload cash receipts with lsmw or bdc.
Thanks a lot.
If there is any standard program or object is there then also let me know.
THanks a lot.
Hi Manish,
I have seen your query regarding the FBCJ Tcode. Hope you might have come across this issue, right....
I'm also facing error while developing in both BDC and LSMW.
Would you mind sending those codes....
I will be very greatful to you... pls.
Regards,
Jacob S.
Similar Messages
-
Problem with Custom Tcode.
Hi,
I have a report and when I run it it is working fine and I gave a Tcode to it. Now when I give the Tcode in the Trasaction code window and execute it, it is going to the selection screen properly, but after giving the input values and executing it is going to the SAP Easy Access screen.
When I run the report with out Tcode from SE38 it is working fine,
Can you please help me why it is happening.
Thanks,
Neelu.Hi,
I executed the Tcode then selection screen came and I gave the input vaules and /h for debugging and executed to debug, but it is directly going to SAP Easy Access Screen. I am not able to debug from Tcode. From SE38 report is working fine.
Thanks,
Neelu. -
LSMW problem with Partner functions in Customer Master
Hi All,
Requirement is to load the Customer Master Data using LSMW.
Loading General data is ok, But when I am planning to load the
partner function using the recording method in LSMW, How do I upload
more than '1' Ship to party partners and more than '1'
Bill to party partners using LSMW.
Normally in table control there is a "+" button at the end of the
table control which when pressed enters one line in table control,In
Partner function screen , there is no such button available, so how
can I determine which line am I supposed to enter data using LSMW.
One partner can have multiple no of BP and SH partners like more than 10
of both types. How do I upload these partner functions in SAP using LSMW?
Regards,
AjayThat a customer master has several business partners is just usual, a customer can have as well several company codes and sales areas. So where exactly is the problem?
Most problems come with recordings, recordings should be the last option, not the first.
What import method do you use? -
LSMW - Problem with copied and edited Project - missing new field
I have copied an LSMW project to a new Project to load a Journal Entry to FI - Transaction Code FB01. I added a new field VALUT (value date) to both the Maintain Source Fields and Maintain Field Mapping Steps. The data with the new field shows up in Display Read Data, but it does not show up in Display Converted Data. This new field is the last field in the csv file, i added it to the end of the Source fields.
I think perhaps i need to create a new Batch Input Session, because when i run the Start Direct Input Program, one of the messages that comes up refers back to the original project name - not my renamed Project. --> "Session Name OLD PROJECT NAME was opened"
(The steps available on my screen do not include a "Create Batch Input Session" step, as some of the posted answers show)
Thank you for your help.Hi Sandra, Thank you for your reply. I am not sure what you mean by restart. if you mean go through all the steps- yes, i went through all the steps again. I also exited out of the LSMW screen completely and went back in to my project and redid the read and convert data again, just to be sure, but i am still missing the new field in display converted data.
The only change i made to the Project was to change the name of the Project, subproject, and object and to add a field to the Source Fields and Field Mapping - for field mapping i used the default rule of Transfer(move)and my source and code seems to be correct - in that i followed the example of all the other fields. i also changed the name of the file where my new csv file was located, but i did not change the names of the read and converted data files. Perhaps i need to change something else? It seems to me that it is still using the instructions from the old project to convert the data. Thanks again. -
Dear ALL,
I Have one problem, that is when i Goto KP06 Tcode, it will give me information message "Fund Accounting active: Layout 1-101 is unsuitable" . Becase of this i am not able to enter planned values. please let me know how to solve this problem.
Regards
ManoharHi,
You seems to have activated funds management in your company.
Change your planner profile by using T code KP04.
Change it from SAPALL to SAPFUND. This may help you. Revert the result.
Regards,
Jagadeesh S -
LSMW problem with classification RCCLBI03
Hello
I have created and LSMW object for classification
of material, define the files
but while trying to read a file a have a following
information about file *.lsmw.read
File *.lsmw.read cound not be open for written
(file is defined on server...)
Does somebody have idea about a problem
Thank you very much.
BogusiaHello,
There are 2 possibilities for the cause of this error:
1. You do not have necessary permissions to save the READ file in the relevant folder.
2. File name may be very long. Make it short in Specify Files Step.
I hope you have given proper file related data in Specify Files step.
A short File name in file for Read Data.
A short File name in file for Convert Data.
If you see Logical path you can give 'LSMW' (Normally this is tha path name given) and the same file name in the 'Logical File'.
Hope this helps you.
Best Regards, Murugesh AS -
Hi guys,
I want to use LSMW with certain BAPI that I found using transaction BAPI (object type BUS1006 for example). However I am not able to use it in LSMW - I get message "No interfaces could be found".
Do you have any ideas how to make this BAPI available for LSMW?Hi
After the step Display Converted Data the exact content of the next steps may differ, depending on the import technique that you have chosen in step 1. The steps displayed by the program for the different import techniques are
BAPI or IDoc:
Start IDoc creation
Start IDoc processing
Create IDoc overview
Start IDoc post-processing
example
Using BAPI in LSM Workbench
We now go through a step by step process of realizing LSMW through a BAPI
Details of BAPI used:
- Business Object: BUS2012
- Method: CreateFromData
Details of Message Type and Basic IDoc Type:
- Message Type: PORDCR
- Basic IDoc Type: PORDCR02
Step 1 : Go to transaction LSMW
Step 2 : Enter project, subproject and object and click on Create
Step 3: Enter the descriptions for Project, Subproject and Object as prompted
Step 4: Now select Settings IDoc Inbound Processing
Step 5 :IDoc Inbound Processing screen appears. Enter the required details as shown below:
Step 6 :Click on Activate IDoc Inbound Processing.
Step 7 : Click on Yes when prompted for Activate IDoc Inbound?
Step 8 : Hit on Back to return to the main screen
Step 9: Click on Continue (F8). Following Screen appears
Step 10: Select the Step 1 Maintain Object Attributes and select Execute
Step 11 : Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Step 12: Save and click on BACK button. Following information message is displayed
Step 13: Maintain Source Structure
Step 14:Create source structure HEADERDATA and a lower level structure ITEMDATA
Save and go back to main screen
Step 15 : Maintain source fields
Enter the fields as shown below:
Step 16:Maintain Structure Relations
Maintain structure relations:
- Select E1PORDCR in previous fig. and click on CREATE Relationship. Following screen appears:
- Select HEADERDATA and hit ENTER. Do the same for other
structures
Step 17 :Maintain Field mapping and conversion rules. Maintain field mapping as shown:-
Step 18 : Specify File
Provide the link for the test file. Maintain the same structure of the test file as defined before
Step 19: Select Assign Files & execute
Step 20: Read Data
Step 21: Display read data
Step 22: Return to main screen and select Convert Data followed by Display Convert Data
Step 23: Return to main screen and select Start IDoc generation
Step 24 : Process Idoc through the step Start Idoc Processing on main screen
Step 25: Click on Create Idoc Overview on the main screen. Here the data record and status record of the Idoc can be viewed
Reward if usefull -
Problem with pt_qrem tcode
Dear all,
when i execute pt_qrem without specifying organizational unit, to get cumulative of remuneration or overtime(p2010-anzhl), it takes overtime of all organizational unit and get the sum.
when i run the same for indivdual departments and take the sum.,,,, these two figures are different, how it happens?
Regards,
nazHi,
I don't think you can add z-fields to this standard program.
I would copy RPTBAL00 to ZRPTBAL00 and change the program.
Regards,
Bert -
Restriction in MB1B tcode with ref Purchase ORDER
Dear friends,
I have one problem regarding the tcode MB1B (Transfer Posting).
Actually when i transfering with ref to Purchase order no once with all the items.
then one document no is generated and it is posted successfully.
But the issue is that once the po number with all the items is posted then it should not allow the same po no to be posted again and generate the document no.
So for this i want to write the code in some BADI or userexit.
After searching i thought the right BADI for this is MB_DOCUMENT_BADI and i have to write code in this.
But i m not getting how to write the code and also i m not sure whether this is the right BADI to make the restriction at MB1B tcode.
I m transfering goods with ref to movement type 541.
Please tell me the solution ,i willbe grateful to you and please reply immediately or as soon as possible.
Manish.Hi,
If its a standard price in material master record...then it will pick price from material master record ...
otherwise it will pick PO's price if no valid info record exists.
It can also read last PO's price....depending upon the setting.
Brgds,
Ashok -
Problem creating process order with ref of sale order
Dear all,
Kindly give solution for this scenerio..............................
I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
for this what i have to do kindly help to this
regards,
s.sakthivelDear KK,
Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
Now check whether your material master and customer master are consistent with the item category settings(Item category group).
Now create the transaction. It shoudl work fine.
Reward if this helps. -
Performance problem with sproc and out parameter ref cursor
Hi
I have sproc with Ref Cursor as an OUT parameter.
It is extremely slow looping over the ResultSet (does it record by record in the fetch).
so I have added setPrefetchRowCount(100) and setPrefetchMemorySize(6000)
pseudo code below:
string sqlSmt = "BEGIN get_tick_data( :v1 , :v2); END;";
Statement* s = connection->createStatement(sqlStmt);
s->setString(1, i1);
// cursor ( f1 , f2, f3 , f4 , i1 ) f for float type and i for interger value.
// 5 columns as part of cursor with 4 columns are having float value and
// 1 column is having int value assuming 40 bytes for one rec.
s->setPrefetchRowCount (100);
s->PrefetchMemorySize(6000);
s->registerOutParam(2,OCCICURSOR);
s->execute();
ResultSet* rs = s->getCursor(2);
while (rs->next()) {
// do, and do v slowly!
}Hi,
I have the same problem. It seems, when retrieving cursor, that "setPrefetchRowCount" is not taking into account by OCCI. If you have a SQL statement like "SELECT STR1, STR2, STR3 FROM TABLE1" that works fine but if your SQL statement is a call to a stored procedure returning a cursor each row fetching need a roudtrip.
To avoid this problem you need to use the method "setDataBuffer" from the object "ResultSet" for each column of your cursor. It's easy to use with INT type and STRING type, a lit bit more complex with DATE type. But until now, I'm not able to do the same thing with REF type.
Below a sample with STRING TYPE (It's assuming that the cursor return only one column of STRING type):
try
l_Statement = m_Connection->createStatement("BEGIN :1 := PACKAGE1.GetCursor1(:2); END;");
l_Statement->registerOutParam(1, oracle::occi::OCCINUMBER, sizeof(l_CodeErreur));
l_Statement->registerOutParam(2, oracle::occi::OCCICURSOR);
l_Statement->executeQuery();
l_CodeErreur = l_Statement->getNumber(1);
if ((int) l_CodeErreur == 0)
char l_ArrayName[5][256];
ub2 l_ArrayNameSize[5];
l_ResultSet = l_Statement->getCursor(2);
l_ResultSet->setDataBuffer(1, l_ArrayName, OCCI_SQLT_STR, sizeof(l_ArrayName[0]), l_ArrayNameSize, NULL, NULL);
while (l_ResultSet->next(5))
for (int i = 0; i < l_ResultSet->getNumArrayRows(); i++)
l_Name = CString(l_ArrayName);
l_Statement->closeResultSet(l_ResultSet);
m_Connection->terminateStatement(l_Statement);
catch (SQLException &p_SQLException)
I hope that sample help you.
Regards -
Problem with LSMW - G/L Account Centrally for 2 or more Company Codes.
Hi,
I have a problem with an LSMW G/L Account Centrally Master Data.
I used the Object: 0010 GL A/C Master Record, and the Method: 0001 Hier. structure.
I can create massives Accounts but I can't create Same Accounts with differents Company Codes.
Please, somebody can explain me, how create Same Accounts with differents Company Code in masive form with LSMW?
Thanks and Regards!Try this report RFBISA10: "Copy General Ledger Account Master Data: Send"
or RFBISA20: "Copy G/L Account Master Data in Target Company Code: Receive"
Bye. -
Problem with cheque printing in production Server Tcode - FBZ5
Hi
Cheque Printing using SAPScript with TCODE FBZ5.
I had a problem with cheque printing in production Server. TCODE - FBZ5
It is working fine in Development Server with proper alligned data but not coming alligned data in production server. I compared, dubugged and checked the allignment...there is no difference I found.
Could you please let me know, where the problem is occuring.
The amount is not coming properly and coming out of the box.....but it is coming properly in development server.
SekharHi,
For Amount field you must print like &amount(C)&. And it must be printer settings only. Because i gor same like this error while printing cheque. at that time Basis team had made the changes in printer settings. -
Problem with currency translation and variable time ref. with 0FISCPER
Hello,
We have a problem with a currency conversion with a variable time reference (as iobject we use 0fiscper)
We created a currency conversion for several key fig:
Our settings:
Exchange rate Type: EURX
dynamic ex rate determination
Source cur from datarecord
Fixed Target Curr (EUR)
Variable time ref.: End of Period
Special Infoobject: 0fiscper
When we run the DTP we get the following error:
<i>Enter rate GBP / EUR rate type EURX for 00.00.0000 in the system settings.</i>
ending the DTP in a message type X.
In table TCURR and T009/T009B all necessary information is available.
After debugging the function module, it looks like the created date (created from the FISCPER) is set to 00.00.0000. This results in the error above.
Does anybody have experience with this error and more important know how to solve it?
We also have a 0FISCYEAR available but in the TCURR table al rates are defined per end of the month. When trying to use 0FISCYEAR as InfoObject in the variable time reference, a diffrent error occurs: Enter rate GBP / EUR rate type EURX for 01.01.1001 in the system settings. While the 0FISCPER is 2001001.
Is there a bug in the function module? (couldn't find a SAP note)
We are working with BI 7.0 and SP12
Best regards
StevenPlease can you give more detail on how you were able to resolve this issue? How did you add 0fiscper to the transformation? I am on BW 3.5, how do I fix this same issue on it? Please help, this is urgent.
-
Hello. i have a problem with my macbook pro, it happened last night. my computer was so logged in starting up,I decided to shut it down. this morning, when I opened my laptop,it was still so slow, moreover;I cant open folders,itunes.,system ref. help!
What backups do you have?
Maybe you are looking for
-
Why can I no longer install iTunes updates on my computer? I keep getting messages saying it fails, and to do it manually, but then I get popups questioning whether I have the authority to make these changes. And it never updates.
-
Cannot get screen sharing to work long distance...
I set up an AIM account for my mother-in-law so that I could remote screen-share her MacBook and help her with learning how to use it and trouble shoot it (it's a Late 2008 Aluminum MacBook hand-me-down from my wife). I've set up the account, but can
-
Rebuilding an External Procedure
Hi, I'm currently having trouble with my external procedure. It's working, I can call it and it will do it's job but I have to debug it. But when I rebuild it, oracle still uses the old lib. Even if a delete the library it will still work. How can I
-
Hi All, One of our clients has got a 1200 cisco AP which is their only way of connection the network (no RJ45 cabling is present in their office). They are complaining about the slowness of their network, so first I thought that it is simply a proble
-
On the search for a(nother) tiling-wm
hi everybody. i've been using wmii for a couple of month now and i am quite happy, except for a few little things. however, these things irritated me more and more over time, so i decided to look for alternatives. i have the following requirements: -