Fm AC_DOCUMENT_GENERATTE
Has anybody ever used the fm AC_DOCUMENT_GENERATTE, is it used to park an FI document?
if yes, can you advise me the data to be populated?
Hi prabu,
Try giving the Vendor Invoice Number in AWREF as the variable AWTYP is a Reference Transaction((VBRK etc)
CALL FUNCTION 'AC_DOCUMENT_RECORD'
EXPORTING
i_awtyp = t_ckmi-awtyp " Reference Transaction
i_awref = t_ckmi-awref " Reference Document Number -
>
i_aworg = t_ckmi-aworg "Reference Organizational Units
i_awtyp_excl = t_ckmi-awtyp
TABLES
T_DOCUMENTS =
EXCEPTIONS
no_reference = 1
no_document = 2.
IF sy-subrc > 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Revert for further clarification
Thanks
Sri
Similar Messages
Maybe you are looking for
-
I updated my ipod touch to 5.1.1 and did a system restore. All of my purchased music from itunes went back on along with photos and apps but now it won't let me sync music that I downloaded. All of my music that was imported from cd's synced but not
-
i live in the UAE and i dont have the face time app on my iphone 5 and it's not showing in the settings list as well only face time mentioned in the notification center , my friends in the same area are using face time normally any advice?
-
is it possible for me to transfer my downloaded games from my itouch to my ipad? If yes, how? Will the status of the games be the same?
-
Trying to add an entry into the address book on a Xerox Workcentre 5855. When I click save, no matter what I have in the display name field, I get an error that says "display name already exists". I've even tried completely random words and phrases j
-
Do apps synchronize when in background?
Applications like Calendar, and 3rd party ones which sync up to a server: if you make changes while out of range of a network, and then switch to another app (so that they are in background), and then enter a wifi network, will they automatically do