on 04-05-2006 2:57 PM - last edited on 02-03-2024 6:54 PM by postmig_api_4
Hi,
I am using Call transaction FB50L. But when executing, looks like program is always using FB50 instead. The error message is 'Ledger Group'(ACGL_HEAD-LDGRP) is not existing on screen SAPMF05A-1001.
Difference between FB50L and FB50 is 'FB50L allows us to specify the ledger'.
Any input is appreciated.
Thanks
Karen
No error if I left out the field. Tried FB01, no LDGRP field on the screen.
Also tried perform bdc_field using: 'BDC_SUBSCR' 'SAPMF05A 1010HEAD',
No luck.
I tried call transaction mode 'A', it's just the field LDGRP is not appear on the screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are on ECC 5.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone again. Problem identified.
FB01L should be the generic tx for FB50L. It has General Ledger group on the screen.
Special thanks to Rob for leading to the right directions.
Cheers,
Karen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rob,
I tried FB01, but General Ledger group field is not appear on the screen either. I guess that field only appears on TX FB50L.
Checking with Functional Person to see if that field is configable right now.
Thanks,
Karen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
SUBMIT rsbdcsub AND RETURN WITH mappe EQ LV_group
EXPORTING LIST TO MEMORY.
Tried to read the list. but there is not document number in the list.
Is there any function module that I can use?
Thanks,
Karen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not really. When you submit RSBDCSUB, it just kicks off the batch input session (it submits a background job with the same name as the session). So there's no guarantee that when you return after the "SUBMIT rsbdcsub" the document will be posted.
The only workable way is to use a call transaction session. That's why I was asking if you had tried this with FB01.
Rob
Thanks all. I gave up the test with call transaction and use BDC session instead. It works fine.
The probelm right now, is with my session name and ID, how should I retrieve the log.(I need to retrieve the new created document number)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karen,
Did you set the <b>BDC_SUBSCREEN</b> and <b>BDC_CURSOR</b> for field ACGL_HEAD-LDGRP in your program? Field ACGL_HEAD-LDGRP exist in program <b>SAPMF05A</b> and screen number <b>1010</b>.
Please try to code like something like this.
...
perform bdc_dynpro using: 'SAPMF05A' '1001'.
perform bdc_field using: 'BDC_SUBSCR' 'SAPMF05A 1010HEAD',
'BDC_CURSOR' 'ACGL_HEAD-LDGRP',
'ACGL_HEAD-LDGRP' '0L',
....
Hope this will help.
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, FI doc can be posted without this field. It's just weird that when using call transaction this field is not appeared on the screen.
BAPI function is not working because they don't have 'ledger group' LDGRP field on the bapi header structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried with mode A, the Ledger Group is missing on the screen even the call transaction code is FB50L.
This field is required by users and the program is used to automatically create FI document via FB50L.I need the new created FI document number to pass on to workflow.
I also looked at BAPI functions and they are not suitable as well. Any idea on how to make it work in background?
Many thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like you want to post a GL Document.
Why don't you try bapi BAPI_ACC_GL_POSTING_POST.
See attached threads for help -
FB50 is an EnjoySAP transaction and not well suited to batch input. (It may not run well in the background.)
But you can try running your call transactions without trying to fill in ACGL_HEAD-LDGRP. You should get an error elsewhere where it does want this field. Run it with mode 'A' so you can see the screens.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I am using SHDB to record VIA FB50L. If I execute the SHDB recording, the General Ledger group is on the screen. But when I excute in my own program by call transaction, then the general ledger group is on the screen.
I'm not sure why if FB50L by 'call transaction' will not able to show 'Ledger Group' on the screen
Thanks
K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you used SHDB transaction to record the screen flow.
When you have recorded screen flow using transaction SHDB, what tcode have you used?
I suggest run the program in all screen mode and see where it is missing this field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.