Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Uploading cleared items with cleared item flag

Former Member
0 Likes
772

Hi,

I want to upload cleared items of customers and vendors with flag/status indicating that the item is cleared. This will make the system enter the data in BKPF,BSEG and BSAD/BSAK(directly) and hence will save the effort to clear the items after initial upload.

Can some please suggest a posible method to do this?

Thanks in advance,

Nitish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

Hi Nitish,

U mentioned like that u need to upload the cleared items with flag set. If u obeserve BSEG table it have one field AUGBL. It indicates for cleared items. If item is related to cleared then AUGBL have value else it will space. So try the following condtion.

data: v_flag(1) type C.

If itab-augbl NE ' '.

move 'X' to v_flag.

endif.

move all the data from file to internal table and make the validation from that itab.

Some t-codes are directly related to BSAD/BSAK tables menas if u post the document then directly uplaod to those tables. So which t-code u r using?If any thing, reply with clear information about the requirement. Hope this helps you.

Regards,

Kumar.

Hi,

I want to upload cleared items of customers and vendors with flag/status indicating that the item is cleared. This will make the system enter the data in BKPF,BSEG and BSAD/BSAK(directly) and hence will save the effort to clear the items after initial upload.

Can some please suggest a posible method to do this?

Thanks in advance,

Nitish

2 REPLIES 2
Read only

Former Member
0 Likes
611

Hi Nitish,

U mentioned like that u need to upload the cleared items with flag set. If u obeserve BSEG table it have one field AUGBL. It indicates for cleared items. If item is related to cleared then AUGBL have value else it will space. So try the following condtion.

data: v_flag(1) type C.

If itab-augbl NE ' '.

move 'X' to v_flag.

endif.

move all the data from file to internal table and make the validation from that itab.

Some t-codes are directly related to BSAD/BSAK tables menas if u post the document then directly uplaod to those tables. So which t-code u r using?If any thing, reply with clear information about the requirement. Hope this helps you.

Regards,

Kumar.

Read only

0 Likes
610

HI Kumar,

Thanks for your valuable suggestion.

I am planning to use FB01 for uploading all documents.

Please let me know if there are any special t codes which are directly related to BSAD/BSAK.

eg. I am uploading a vendor invoice 1500000001 for which the payment document was 160000000001. Now i have an open vendor invoice 1500000002 also.

Can u suggest me how to go about this?

Regards,

Nitish