2014 Dec 13 8:42 AM
Hello
Im using the FM TO POST FB01 transaction but when i when i have an item line with newum = 'U' for example this function fails to
return the screen and the program etc...
when i have a normal key 40, 50 EVEN 31 or 21 the osting went perfectly
the line is
p= 2
posting key = 39
newum = U
Thanks a lot for your help
Tahar
2014 Dec 13 9:16 AM
Hii Tahar,
which function module you are using and whats the parameter newum means?
Regards
Gaurav
2014 Dec 13 9:33 AM
The FM is
POSTING_DOCUMENT_INTERFACE and the field neum is associated with the posting key.
if it is required for posting key we enter it otherwise we leave it blank.
Actually the FM is not even posting, it fails with return code 9.
2014 Dec 13 9:38 AM
Hii Tahar
It might be possible that after this posting key.. sap unable to get the next screen in posting sequence.
hence not able to post the document. Please try to get the screen seq by manual posting.
Regards
Gaurav
2014 Dec 13 9:54 AM
Sytem is down now but to give you an example that i did in debugging
for posting key 21 and 31 this function is returning
screen 302 program sapmp05a
for posting key 40 and 50 it is coming back with screen 300
same program as above
for key 39 with field newum it is coming back with nothing and giving error 9.
Is it possible that a posting key is configured first before to be used
I mean attach it to a specefic screen and program when it is using newum
because these are special accounts. If yes than i would like to now how we config this so that functional people do it
Tahar
2014 Dec 13 10:04 AM
Hii Tahar,
SAP itself calls particular screen we cannot specify it.
there is fix sequence of screens to be called after each posting key.. it might be possible that configuration might be wrong somewhere.
please check with your FI consultant regarding this...
as sap is not getting any screen seq to call it is giving you error.
Regards
Gaurav
2014 Dec 14 9:18 AM
hELLO
When i enter it manually i get as next screen is 303 and it asks for field bseg-zfbdt
this with posting key 29, glaccount and U inthe field special gl indicator for next line item
Tahar
2014 Dec 15 5:04 AM
Hii Tahar
I think problem is with zfbdt field which is key date field...
Try to pass value for that..
Hope it will solve your problem.
Regards
Gaurav
2014 Dec 16 1:56 PM
In fact this fuction is calling another one fi_posting_key_data and this function doesnt know field NEUM but UMSKZ and if you go to BBSEG and search for this field it will point to NEUM
so if i call this function fi_posting_key_data with umskz = newum value that it will bring the next screen
so i dont know how i can pass this field to the posting as bbseg has only neum not umskz ?
2014 Dec 17 5:43 AM
hii Tahar
which sap system you are working on? as your function module does not exits in my sap system
Regards
Gaurav
2014 Dec 17 1:51 PM
Hello
I found the problem the special gl indicator BBSEG-NEWUM has to be entered as BSEG-UMSKZ
Then in the FM it will replace it by rfxx newum see attched code
and you have to be careful it is only one B not BBSEG it is BSEG-UMSKZ
2014 Dec 18 5:45 AM
2014 Dec 18 7:17 AM