11-04-2009 10:25 PM
Hi,
I am trying to write a BDC for fb01 transaction with posting key 31 and 40.
But I am getting a coding block as a popup in FB01 trsanction on screen number 'SAPLKACB' '0002'.
I am passing costcentre and Internal Order and then passing an Enter f code for this...But still i am getting a message that Input data not passed to this screen..
If i run this in All screen mode by manually putting enter its working if i try to put an enter programatically its not working..
Your Answers will be Appreciated..
Please let me know if you come across this any time..
Thanks
Srinivasa
11-04-2009 10:39 PM
Hi,
Will doing BDC ,please take care of the account types.
GL accounts are of two types BS account & PL account ...
so the screen for both accounts are different....
even the pop up is having different input fields.
So please so take care of it...
Just tell me what the coding block error says.....it may be GSBER error ....
then you have to pass business area as well.
please tell me what the error says..
Thnx
RK
11-04-2009 10:46 PM
Hi RK,
I Basically dont have error..
and Business area is not mandatory for our system..
The message i get is INPUT DATA NOT GETTING PASSED FOR CODING BLOCK SCREEN which is 'SAPLKACB' '0002'.
Even though i am passing
PERFORM BDC_DYNPRO USING 'SAPLKACB' '0002'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ENTE'.
PERFORM BDC_FIELD USING 'COBL-KOSTL' WA_UPLOAD2-KOSTL.
PERFORM BDC_FIELD USING 'COBL-AUFNR' WA_UPLOAD2-AUFNR.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ENTE'.
One Enter is missing some where..as while i run online if i put an enter its going through..
Thanks
Srinivaas
11-04-2009 10:50 PM
then try to put ENTER code before the pop up block...as...
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ENTE'.
PERFORM BDC_DYNPRO USING 'SAPLKACB' '0002'.
PERFORM BDC_FIELD USING 'COBL-KOSTL' WA_UPLOAD2-KOSTL.
PERFORM BDC_FIELD USING 'COBL-AUFNR' WA_UPLOAD2-AUFNR.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=ENTE'.
12-30-2009 5:08 AM
Hi Srini,
Did u solve the issue, I am facing the same problem now..
Rgds
Karthik
12-30-2009 9:47 PM
Hi,
in the good old times when I was fumbling with BDC I remember that some transactions have different screen sequences online and in Batch (BDC) mode. There was an option in SHDB transaction recorder or in BDC processing but I don't remember.
Please check this if your recorded session can not be used.
Regards,
Clemens
11-04-2009 11:04 PM
11-05-2009 1:09 PM
12-30-2009 11:57 PM
Hi,
If you can post a FI document, I would use the Funtion Group FIPI (Financial Posting Interface). If you need example code, I have some expamples.
Javi